Key points
- One open-weight model, model ID uncensored, tuned to answer without content refusals for lawful adult use.
- 100,000-token context, SSE streaming, tool calling and JSON mode through the standard chat completions call.
- Text only, with no images, audio, embeddings or fine-tuning, and it is not xAI's API.
- Priced at $0.15 per 1M input and $0.50 per 1M output tokens, prepaid, with no subscription.
What this model is, and what it is not
The name of this site points at Grok, so start with the plain facts. The model behind the API is one open-weight model run by an independent provider. It is not the official API of xAI, and it is not a router across vendors. When you send a request, one model answers it. We call that model uncensored because that is the ID you use in code, and because it is tuned to answer without content refusals for lawful adult use.
That tuning is the reason people look for an unrestricted setup. Writers, roleplay and companion app builders, and researchers who test how models behave often run into refusals that stop a legitimate adult project. This model is meant to stay on task in those cases. One hard limit remains in every case: no sexual content involving minors. There is no setting that changes it.
If you want to compare this endpoint with the official Grok API in more detail, the Grok API guide covers where the two differ. The rest of this article is about what you can rely on technically.
Technical specs at a glance
The table collects what the API offers. Everything in it is a fixed fact of the service, so you can build against it.
| Property | Value |
|---|---|
| Model ID | uncensored |
| Endpoints | POST /v1/chat/completions, GET /v1/models |
| Auth | Authorization: Bearer key |
| Context window | 100,000 tokens, prompt plus completion |
| Output length | Up to the rest of the window; max_tokens is optional |
| Streaming | SSE with stream: true, usage at the end |
| Tool calling | tools, tool_choice, streamed tool_calls, role: "tool" results |
| JSON mode | response_format with type json_object |
| Sampling | temperature, top_p, stop, seed and penalties passed through |
| Full key limits | 8 concurrent, 300 requests per minute |
| Trial key limits | 2 concurrent, 60 requests per minute |
| Max body | 8 MB |
| Price | $0.15 per 1M input, $0.50 per 1M output |
Anything not listed is not promised. The page makes no claim about response speed, uptime or benchmark scores, because none of those numbers are published here. Measure them yourself with the trial credit before you commit, and test with your own prompts rather than generic ones.
The 100k context window in real work
A 100,000-token window holds the prompt and the reply together. In rough terms, a token is about three quarters of an English word, so the window fits something like 70,000 to 75,000 words of text in total. That is enough for a long manuscript chapter set, a large character bible plus chat history, or a few hundred pages of notes.
Plan the budget before you send. If your prompt is 60,000 tokens and you want a 4,000-token answer, you use 64,000 of the 100,000 and have 36,000 to spare. The cost for that call is 60,000 x $0.15 / 1,000,000 = $0.009 for input plus 4,000 x $0.50 / 1,000,000 = $0.002 for output, which is $0.011 in total. A long context is cheap per call, but it is paid on every call, so if you resend the same 60,000 tokens ten times you pay $0.09 for the input alone.
from openai import OpenAI
client = OpenAI(base_url="https://api.unrestrictedgrok.com/v1", api_key="YOUR_API_KEY")
with open("chapters.txt", encoding="utf-8") as f:
manuscript = f.read() # roughly 60,000 tokens
r = client.chat.completions.create(
model="uncensored",
messages=[
{"role": "system", "content": "You are a story editor. Answer in plain prose."},
{"role": "user", "content": "Find continuity errors in this manuscript:\n\n" + manuscript},
],
max_tokens=4000,
temperature=0.3,
)
print(r.choices[0].message.content)
print(r.usage)Set max_tokens when you want a hard ceiling on the answer length and cost. If you leave it out, the completion may use everything that is left of the window.
Streaming, tools and JSON mode
These three features cover most application needs, and they follow the OpenAI request shape, so existing code needs only a new base URL and key.
Streaming
Set stream: true and read SSE chunks as they arrive. The usage totals come at the end of the stream. A streaming request holds one of your concurrency slots until the stream closes, which matters when you serve several users at once.
Tool calling
Pass tools and, if you wish, tool_choice. The model returns tool_calls, including in streamed form. You run the function and send the result back as a message with role: "tool". This is how you give a character or agent access to memory, dice, a database or a web fetcher that you control.
JSON mode
With response_format set to json_object, the model returns a JSON object. Describe the keys in the system prompt. Combined with a low temperature and a fixed seed, it works well for generating character sheets, scene metadata or tags.
from openai import OpenAI
import json
client = OpenAI(base_url="https://api.unrestrictedgrok.com/v1", api_key="YOUR_API_KEY")
r = client.chat.completions.create(
model="uncensored",
response_format={"type": "json_object"},
seed=42,
temperature=0.2,
messages=[
{"role": "system", "content": "Return JSON with keys name, traits (list) and voice (string)."},
{"role": "user", "content": "Create a sarcastic ship's cook for a space opera."},
],
)
print(json.loads(r.choices[0].message.content))Prompting a model without refusals
A model that does not refuse by default still needs direction. Without a clear system prompt it will follow the tone of the user message, which can drift. State the role, the format and the boundaries you want in two or three sentences, and keep them stable across the whole conversation. For fiction, name the point of view, the tense and the length of each reply. For a companion app, describe the persona once and keep a short running summary of facts the character should remember.
Since refusals are not the default, you are responsible for what your product allows. Put your own rules in the system prompt, filter user input where your audience requires it, and keep the minors rule in your terms of use. Use lower temperatures for tasks that need consistency, such as extraction or editing, and higher ones for open creative writing. When a reply goes off course, the fix is almost always a clearer instruction, a shorter history or a different temperature, not a longer prompt.
Limits and how to size your app
A full key allows 8 concurrent requests and 300 per minute. If an average call takes 10 seconds, 8 slots deliver about 48 calls per minute, which sits well under the 300 per minute cap, so concurrency is usually the limit that bites first. A trial key allows 2 concurrent and 60 per minute.
Going over a limit returns HTTP 429. The error code rate_limited marks the per-minute cap and concurrency marks too many parallel calls. A temporary overload also returns 429, with a Retry-After: 5 header. Honour that header and retry. Failed or refused requests are not charged.
For a chat product, put a small queue in front of the API and let only 8 requests run at once. Show users a short waiting state when the queue is full instead of letting calls fail. Each response also carries X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency, so you can log capacity and credit at no extra cost.
curl https://api.unrestrictedgrok.com/v1/models -H "Authorization: Bearer $API_KEY"
curl https://api.unrestrictedgrok.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "uncensored", "messages": [{"role": "user", "content": "ping"}], "max_tokens": 5}' \
-iCost and payment
The price is $0.15 per 1M input tokens and $0.50 per 1M output tokens. You pay from prepaid credit. There is no subscription, and credit never expires. Top-ups are any whole amount from $20 to $500, with bonuses of +5% from $50, +10% from $100 and +15% from $200. This site takes crypto only, with USDT on TRC20 or USDC on Base. See the pricing page for the current price list.
A quick check on scale: a chat turn with 2,000 input and 300 output tokens costs 2,000 x $0.15 / 1,000,000 + 300 x $0.50 / 1,000,000 = $0.0003 + $0.00015 = $0.00045. At $20 of credit that is about 44,444 turns. If you want to test first, new users can claim $0.50 of trial credit with one click on the API key page after sign-up. It is one per person, valid for 7 days, and costs nothing.
When another option fits better
This service has a narrow job. If you need image or audio generation, embeddings or fine-tuning, it cannot help, because it is text only. If you need the official xAI service for its own reasons, such as a vendor contract or a specific model you can only get there, use that service and check their current pricing and policies. And if your use case is lawful but sensitive, read the docs and the terms before you build.
Where it fits well is simple: you want a text model that does not refuse lawful adult requests, you want to keep using OpenAI client code, and you prefer paying for tokens used instead of a monthly plan. Prompts are not used for training, which also removes one common concern for private or creative work.
More guides
Questions and answers
Is this the official Grok model?
No. It is an independent open-weight model behind an OpenAI-compatible API. It is not the official API of xAI.
How long can my prompt be?
The context window is 100,000 tokens, shared by the prompt and the reply. The request body can be up to 8 MB.
Does it support JSON output and function calls?
Yes. JSON mode uses response_format with type json_object, and tool calling uses tools and tool_choice, with streamed tool_calls supported.
Is anything still off limits?
Yes. Sexual content involving minors is never allowed. The service is also text only, with no images, audio, embeddings or fine-tuning.
