First request in five minutes
Start making calls to the unfiltered grok API in minutes using standard OpenAI-compatible clients. This guide covers the base URL, authentication, and core endpoints for text generation.
Base URL & Authentication
Connect your existing OpenAI SDKs by updating the base_url to https://api.unfilteredgrok.cc/v1. Pass your API key in the Authorization header. The key is generated immediately after signup via Google or email, with no card required for the initial trial.
Model ID: 'uncensored'
Specify the model ID as uncensored in all requests. This is a single, open-weight model hosted on our infrastructure, distinct from GPT, Claude, Gemini, or Grok. It is tuned for unrestricted responses to lawful adult and creative topics while blocking sexual content involving minors.
Chat Completions Endpoint
Send POST requests to /v1/chat/completions. The API accepts text input and returns text output. There are no embeddings, image, or audio endpoints. The model supports a 100,000-token context window, with no separate output cap.
curl https://api.unfilteredgrok.cc/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
}'
Streaming with SSE
Enable streaming by setting stream: true. The API returns Server-Sent Events (SSE) chunks. Token usage statistics are included in the final chunk of the stream. This allows for real-time token display without waiting for the full response.
from openai import OpenAI
client = OpenAI(base_url="https://api.unfilteredgrok.cc/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)
JSON Mode & Tools
Use response_format set to {"type": "json_object"} for strict JSON outputs. The API also supports function calling with tools and tool_choice parameters. These features work within the standard OpenAI-compatible schema.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unfilteredgrok.cc/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);
Parameters & Limits
Supported parameters include temperature, top_p, stop, seed, and penalties. Rate limits are 300 requests per minute and 8 concurrent requests per key. Errors and refusals are free; you are only charged for actual token usage.
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Tell the story in second person."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)API facts in one table
Everything the endpoint can and cannot do, in one place — check it before you top up.
| Item | Value |
|---|---|
| Compatibility | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Base URL | https://api.unfilteredgrok.cc/v1 |
| Model | uncensored |
| API key | Authorization: Bearer YOUR_KEY |
| Other parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Function calling | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| JSON mode | response_format: {"type": "json_object"} |
| Max context | 100,000 tokens (prompt + completion together) |
| Max output | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Streaming | Supported (stream: true), usage included at the end |
| Rate limit | 300/min per key |
| Parallel requests | 8 requests at the same time per key |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Max body | 8 MB request body |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Trial credit | $0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Token prices | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Subscription | paid credit never expires, no subscription |
| Bonus credit | +5% from $50, +10% from $100, +15% from $200 |
| Top-up | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Account | sign in with Google or with e-mail + password |
| Content | adult content allowed; sexual content involving minors is refused |
| Key management | one key per account, regenerate any time (the old one stops working) |
Error codes
Every error is JSON with a type you can switch on. You are never charged for an error.
| HTTP | Type | What to do |
|---|---|---|
400 | bad_request | malformed request or too long for the context window |
401 | missing_key · invalid_key · key_revoked | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | out of credit; add credit and retry |
403 | content_blocked | refused by the content policy |
404 | not_found | unknown endpoint |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | temporary overload, retry shortly |
Questions and answers
Is the model the same as Grok from X?
No. Our model is an independent, open-weight large language model. It is not GPT, Claude, Gemini, Grok, DeepSeek, Qwen, Llama, or any other vendor's model.
How does billing work?
You pay only for tokens used. Input tokens cost $0.15 per 1M, and output tokens cost $0.50 per 1M. Errors and refusals do not incur charges.
What payment methods are accepted?
Crypto only: USDT (TRC20) or USDC (Base). Minimum top-up is $20, and no cards or PayPal are accepted.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.