Grok AI Unrestricted Mode vs a Developer API
A grok ai unrestricted mode, as people search for it, is a switch inside a chat app. An API has no such switch: you pick a model that does not refuse lawful adult requests and control the rest with your own prompt and settings.
Updated

Key points
- A mode or toggle belongs to one app. It is that app's setting, so check its own documentation.
- Through an API you choose the model, the system prompt and the sampling settings yourself.
- This endpoint serves one independent uncensored model, not xAI's Grok, with model ID uncensored.
- Hard limit: no sexual content involving minors, and the service is text only.
What people mean by an unrestricted mode
When someone types grok ai unrestricted mode into a search box, they are usually after one of three things: a switch in a chat product that relaxes content rules, a prompt that makes a model drop its guard, or a model that does not need either. The first belongs to the product. Whether a given app has such a switch, what it changes and who can turn it on is decided by that app's owner, and the rules can change at any time. If you rely on it, read the owner's current help pages and terms.
The second, the prompt trick, is fragile. A model that refuses by default may comply for a few turns and then slip back, and a phrase that works this week may stop next week. It also puts you in a loop of rewriting prompts instead of building your project.
The third is the one developers can use: a model that is tuned not to refuse lawful adult requests in the first place. That is what this service hosts. It runs one open-weight model, operated by an independent provider, under the model ID uncensored. It is not xAI's Grok, not the official API of any other vendor, and not a router between vendors. For background on the name, see the uncensored Grok guide.
App toggle or API: what actually differs
The table compares the two approaches in general terms. It describes how the approaches work, not any specific product's features.
| Question | A toggle in a chat app | This API |
|---|---|---|
| Who controls the rules | The app's owner | You, through the system prompt and your own filters |
| Can it change without notice | Yes, with an app update | You pin one model ID and test your prompts |
| Use in your own code | Usually no | Yes, via /v1/chat/completions |
| Custom persona and format | Limited to what the app offers | Full control of messages and sampling |
| Billing | Subscription or plan of the app | Prepaid credit, $0.15 per 1M input and $0.50 per 1M output tokens |
None of this says a chat app is a bad choice. For casual personal use, an app is simpler. An API fits when you build a product, run batch jobs, or want the same behaviour in every call.
How to get unrestricted behaviour through the API
There is no flag called unrestricted. The behaviour comes from the model itself, and your job is to guide it. Four settings matter.
- Model ID. Use
uncensoredfor every call. - System prompt. Set the role, tone and format. Say what you want, such as staying in character, and skip long lists of prohibitions.
- Temperature and top_p. Around 0.8 to 1.0 for fiction, 0.2 to 0.4 for edits and extraction.
- History. Keep the messages array tidy. A model follows the last few turns most closely, so remove stale instructions.
The call below is a complete example for a fiction partner. Replace the key with yours from the API key page.
from openai import OpenAI
client = OpenAI(base_url="https://api.unrestrictedgrok.top/v1", api_key="YOUR_API_KEY")
system = (
"You are a writing partner for adult fiction. Stay in the scene, "
"keep a consistent voice, answer in plain prose, and do not add warnings "
"or disclaimers unless the user asks for them."
)
r = client.chat.completions.create(
model="uncensored",
temperature=0.9,
top_p=0.95,
messages=[
{"role": "system", "content": system},
{"role": "user", "content": "Continue the scene: the smuggler's ship is boarded at dawn."},
],
)
print(r.choices[0].message.content)The same call in curl looks like this.
curl https://api.unrestrictedgrok.top/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"temperature": 0.8,
"messages": [
{"role": "system", "content": "You are a blunt, dry-witted narrator."},
{"role": "user", "content": "Describe an abandoned harbor in four sentences."}
]
}' System prompt patterns that hold up
Good prompts for an uncensored model look like good prompts for any model: short, concrete and consistent. Three patterns work well in practice.
Role plus format
Open with one sentence on who the model is and one on how it answers. "You are a noir narrator. Reply in two or three paragraphs of past-tense prose." This gives the model a voice and a length, which does more for quality than a page of rules.
Scene state block
For long stories, keep a short block at the top of the system message with facts that must not drift: names, places, what each character knows. Update it every ten or twenty turns from a summary instead of resending the whole chat. This keeps input tokens low and continuity high.
Negative instructions, used sparingly
Telling the model what to skip, such as extra warnings or repeated recaps, helps when a pattern keeps showing up. A list of twenty prohibitions confuses it, and a list of two or three is fine. If you want fewer disclaimers, say so once in the system prompt instead of repeating it in every user message.
Streaming a long scene in Node
For interactive writing or chat you will want tokens as they arrive. Set stream: true and read the SSE chunks. Usage totals arrive at the end. Remember that the request keeps one concurrency slot until the stream closes.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unrestrictedgrok.top/v1", apiKey: process.env.API_KEY });
const stream = await client.chat.completions.create({
model: "uncensored",
stream: true,
messages: [
{ role: "system", content: "Stay in character as a retired pirate." },
{ role: "user", content: "Greet the new crew." },
],
});
for await (const part of stream) {
process.stdout.write(part.choices[0]?.delta?.content ?? "");
}The package is the standard openai client from npm. Only baseURL and the model name differ from a stock OpenAI script. If you use a front end that has fields for a custom endpoint, enter the same base URL, your key and uncensored as the model name. The docs show the same settings for Python, Node and curl.
If replies still feel off
Sometimes an answer is short, bland or repetitive. That is a tuning problem, not a mode problem, and there are plain fixes.
- Replies are too short. Ask for a length in the system prompt, for example "at least three paragraphs", and leave
max_tokensunset so nothing cuts the reply. - Replies repeat phrases. Raise the frequency or presence penalty a little, such as 0.3, and lift the temperature slightly.
- The character forgets facts. Add a scene state block and trim chat turns that no longer matter.
- Output is too random. Lower the temperature or top_p, and set a
seedwhile you compare versions of a prompt. - Parsing fails on structured output. Use JSON mode with
response_formatset tojson_objectand describe the keys in the system prompt.
Change one thing at a time and rerun the same three test prompts. If you change the prompt, the temperature and the history at once, you will not know which one made the difference. Keep a note of each version beside the output, so you can go back when a change makes things worse.
Responsible use and the one hard limit
A model without refusals moves the responsibility to the developer. You decide what your product allows, what your users must agree to, and which inputs you filter before they reach the model. The service is meant for lawful adult use. For fiction, roleplay and companion apps that means adult characters and consenting adult themes only, and one rule has no exception: no sexual content involving minors. Requests of that kind are not allowed and are outside what this service serves.
Practical safeguards cost little. Add an age gate if your audience needs one. State your content rules in your own terms. Log request IDs, which come back in the X-Request-Id header, so you can investigate a report. Prompts are not used for training, but your own logs are your responsibility, so keep only what you need.
Cost, limits and trial
Billing is per token from prepaid credit. At $0.15 per 1M input tokens and $0.50 per 1M output tokens, a scene request with 2,500 input tokens and 700 output tokens costs 2,500 x $0.15 / 1,000,000 + 700 x $0.50 / 1,000,000, which is $0.000375 + $0.00035 = $0.000725. A hundred such requests cost $0.0725. Failed or refused requests are not charged, and credit never expires. Top-ups run from $20 to $500 with bonuses of +5% from $50, +10% from $100 and +15% from $200, paid in crypto (USDT on TRC20 or USDC on Base). Details are on the pricing page.
A full key allows 8 concurrent requests and 300 per minute, and the context window is 100,000 tokens for prompt and reply together. Past a limit you get HTTP 429 with rate_limited or concurrency, and on temporary overload a Retry-After: 5 header. New users can claim $0.50 of trial credit with one click after sign-up: valid 7 days, one per person, free of charge, with 2 concurrent requests and 60 per minute. That is enough to test your prompts with the system prompt above and decide for yourself.
More guides
FAQs about the Uncensored Grok API
Is this the official Grok API?
No, this is an independent service. We host our own uncensored model that is compatible with OpenAI clients. It is not affiliated with xAI or the official Grok provider.
What happens if I make an error?
Errors are free. You only pay for successful token completions. If you experience a double charge, you can contact support to resolve it.
Can I use this for commercial projects?
Yes, you can use the API for any lawful purpose. There are no restrictions on how you use the generated text.
How do I handle streaming responses?
Use the Server-Sent Events (SSE) format. The API streams tokens in real-time, and the final chunk includes the total token usage for the request.
Questions and answers
Is there an unrestricted mode I can switch on?
Not in the API. Behaviour comes from the model with ID uncensored, which is tuned not to refuse lawful adult requests, and from your own system prompt.
Is this xAI's Grok?
No. It is an independent open-weight model behind an OpenAI-compatible API, and it is not the official API of xAI.
What is still not allowed?
Sexual content involving minors is never allowed. The service is also text only, with no image, audio or video generation.
How can I test it cheaply?
Claim the $0.50 trial credit on the API key page after sign-up. It is free and lasts 7 days.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.