How to Use Grok Unhinged Mode Through an API
How to use Grok unhinged mode depends on where you want to use it. Inside xAI's own apps it is a setting that xAI controls. If you want the same loose, blunt tone in your own code or in SillyTavern, you need an API that does not refuse.

Key points
- Grok's modes belong to xAI and its apps. This site is independent and is not xAI, Grok or an xAI API.
- For an unfiltered tone in your own tools, connect an OpenAI-compatible API with the model ID uncensored.
- Set it up in SillyTavern, the OpenAI SDK or curl by changing the base URL and key.
- Trial credit of $0.50 is claimed with one click, no payment needed.
What you can and cannot do with Grok itself
Grok is a product of xAI, and its personality options, including anything called an unhinged mode, are features of xAI's own apps and services. Whether a mode exists, where it is, who may switch it on and what it will say all depend on xAI's current rules and your account. They change over time, so the only reliable source is xAI's own documentation and settings. This article does not describe how those switches work, because we do not run them.
What you can do is get the same kind of behavior in your own software: a model that answers bluntly, stays in a rude or sarcastic character, and does not stop a story halfway because of a content filter. For lawful adult use, that is a question of picking a model and an API that are built for it.
That is what this site sells. To be clear about it: it is not xAI, not an xAI reseller and not a route to Grok models. It serves one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use.
The setup in four lines
The API uses the OpenAI format, so anything that can talk to OpenAI can talk to this service after you change four values:
| Setting | Value |
|---|---|
| Base URL | https://api.unhingedgrok.cc/v1 |
| API key | Your key from the key page |
| Model | uncensored |
| Auth header | Authorization: Bearer YOUR_KEY |
Two endpoints are available: POST /v1/chat/completions for chat and GET /v1/models for the model list. The API is text only, so there are no images, audio, embeddings or fine-tuning.
Get a key and test it
Sign up with Google, or with email and password. After sign-up, open the API key page and press the button that claims $0.50 of trial credit. It is one claim per person, valid for 7 days, and does not need a payment method. With the trial key you can send up to 2 requests at once and 60 per minute.
Check that the key works with curl:
curl https://api.unhingedgrok.cc/v1/chat/completions \
-H "Authorization: Bearer $GROK_SITE_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [
{"role": "system", "content": "You are a sarcastic assistant with no patience for small talk."},
{"role": "user", "content": "Rate my plan: learn Rust in a weekend."}
],
"temperature": 0.9
}'
The response also carries headers such as X-Balance-USD and X-RateLimit-Limit-Requests, which show your remaining credit and limits.
Use it in SillyTavern
SillyTavern is a popular front end for roleplay and character chat, and it lets you add an OpenAI-compatible endpoint. The exact menu labels can shift between versions, but the path is similar:
- Open the plug icon (API connections) and set the API type to Chat Completion.
- Choose the Custom (OpenAI-compatible) source.
- Paste
https://api.unhingedgrok.cc/v1as the endpoint URL and your key in the key field. - Enter
uncensoredas the model ID, or press connect and select it from the list that comes back from/v1/models. - Send a test message in a character chat. If it replies, you are done.
If the connection fails, check for a trailing slash typo, a missing /v1, or a key pasted with a space. The docs list the same details, and the page on the prepaid GPT-compatible key explains the account side.
Use it in your own code
In Python, install the openai package and point it at the new URL:
from openai import OpenAI
client = OpenAI(
base_url="https://api.unhingedgrok.cc/v1",
api_key="YOUR_KEY",
)
stream = client.chat.completions.create(
model="uncensored",
messages=[
{"role": "system", "content": "Blunt, dry, a little rude. No disclaimers."},
{"role": "user", "content": "Roast my morning routine: alarm at 5, cold shower, no coffee."},
],
stream=True,
temperature=1.0,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
Streaming arrives over SSE with stream: true, and token usage is reported at the end. Tool calling and JSON mode (response_format set to json_object) work in the standard OpenAI way. Sampling settings such as temperature, top_p, stop, seed and the penalties are passed through to the model.
Getting the tone you want
An unhinged personality is mostly a matter of the system prompt, because the model will no longer cut in with refusals. A few things help:
- Describe the character, not just the mood. "A burned-out ship mechanic who insults everyone politely" gives better output than "be edgy".
- Raise temperature. Values around 0.9 to 1.1 give livelier, less repetitive text. Lower it when you need facts or code.
- Use stop sequences. In roleplay, add a stop string such as the user name followed by a colon so the model does not write your lines.
- Keep the history short. You pay for input tokens each turn. The context window is 100,000 tokens for prompt plus completion, so long chats fit, but trimming old turns saves money.
- Set boundaries. Write what is off limits for your own use. The service itself has one hard limit: no sexual content involving minors.
A blunt model is also still a language model. It can be wrong with confidence, so do not treat its medical, legal or financial answers as advice.
Fixing common problems
The model still answers in a mild tone
A weak system prompt gives weak results. Replace "be unhinged" with a concrete character, a speaking style and two or three example lines of dialogue. Models imitate examples closely. Put the persona in the system message, not in the first user turn, so it survives long chats.
The character forgets who it is
This happens when trimmed history drops the early messages that defined the character. Keep the system prompt fixed at the top and trim only the middle of the conversation. Long stories can use the full 100,000-token window, but the cost of each turn grows with the history.
SillyTavern says it cannot connect
Check that the type is Chat Completion rather than Text Completion, that the URL ends in /v1, and that the key has no spaces. A 429 error means the trial limits were reached: the trial key allows 2 concurrent requests and 60 per minute. Turn off features that send parallel requests, such as extra summarizing calls, or wait a few seconds.
Replies look cut off
Raise or remove the response length setting. The completion can use whatever is left of the context window, so there is no fixed output cap on our side.
Answers feel repetitive
Repetition usually means the temperature is low or the history contains the same phrases over and over. Raise temperature a little, add a presence or frequency penalty, both of which are passed through to the model, and trim old turns that show the pattern. Changing the seed between runs also helps when you want different drafts of the same scene.
Quick note on safety
Without refusals, you decide the boundaries. Keep real people's private details out of prompts, and do not use the API for anything involving minors in a sexual context. That is a hard limit, and requests like that are not acceptable on any site we run.
What it costs
The price is $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit with no subscription and no expiry. Failed or refused requests are not charged.
A long roleplay session of 100 turns, with an average of 2,500 input tokens and 250 output tokens per turn, uses 250,000 input tokens and 25,000 output tokens. Input costs 0.25 x $0.15 = $0.0375. Output costs 0.025 x $0.50 = $0.0125. The session costs $0.05 in total, so the $0.50 trial covers about ten sessions like that.
To add more credit, this site accepts crypto only: USDT on TRC20 or USDC on Base, any whole amount from $20 to $500. Bonuses are +5% from $50, +10% from $100 and +15% from $200. See the pricing page for the full list. Prompts are not used for training.
More guides
Questions and answers
Is this the official Grok API?
No. This site is independent and is not xAI. It serves a different open-weight model through an OpenAI-compatible API.
Can I get Grok models here?
No. The only model ID is uncensored. For Grok itself, use xAI's own products and read their current terms.
Which model name do I enter in SillyTavern?
Enter uncensored, with the endpoint https://api.unhingedgrok.cc/v1. Connecting should also list it from the /v1/models endpoint.
How much does it cost to try?
New users can claim $0.50 of trial credit with one click after sign-up. It needs no payment, is valid for 7 days and covers many short chats.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.