Quickstart for Grok Unfiltered users
Integrate our uncensored LLM into your stack by swapping the base URL and API key. This guide covers the standard OpenAI-compatible endpoints, streaming, and function calling with zero configuration overhead.
Base URL & Authentication
Our API mimics the standard OpenAI interface. To route your client to our uncensored model, update your base_url to https://api.grokunfiltered.cc/v1 and set your API key in the authorization header. You receive one active key per account; generating a new one invalidates the previous key immediately. No phone number or credit card is required to start, and trial credit is available for new accounts.
Basic Chat Completion
Send a standard POST request to /v1/chat/completions. The model ID is uncensored. This endpoint accepts text input and returns text output. It does not support embeddings, image generation, or audio processing. Configure your payload with a messages array containing your system and user prompts.
curl https://api.grokunfiltered.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."}]
}'
Python SDK Integration
Use the official OpenAI Python library to interact with the API. Initialize the client with the base URL and your API key. The code remains identical to standard OpenAI usage, except for the endpoint change. This allows you to drop our uncensored model into existing pipelines with minimal code refactoring. The model responds to standard parameters like temperature and top_p.
from openai import OpenAI
client = OpenAI(base_url="https://api.grokunfiltered.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)
Node.js SDK Setup
For Node.js environments, initialize the OpenAI client with the custom base URL. The library handles authentication and request formatting automatically. You can pass the model parameter as uncensored to ensure the request routes to the correct uncensored instance. This setup works with both CommonJS and ES module imports.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.grokunfiltered.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);
Streaming Responses (SSE)
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE) for each generated token. This reduces perceived latency for long responses. The final chunk contains the full token usage statistics for billing. Streaming is ideal for real-time UI updates or progressive text rendering in your application.
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)
Limits, Errors & Context Window
Your context window is 100,000 tokens total. If max_tokens is unset, the response can run to the end of the window. Rate limits are 300 requests per minute and 8 concurrent requests per key. Handle HTTP 401 for invalid keys, 402 for insufficient credit, and 429 for rate limits. Errors and refusals do not consume your prepaid balance.
Capabilities and limits
The numbers below are the real limits of this API, not marketing. Compare them with what your app needs.
| Spec | Value |
|---|---|
| Protocol | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Authentication | Authorization: Bearer YOUR_KEY |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Model | uncensored |
| Base URL | https://api.grokunfiltered.cc/v1 |
| SSE streaming | Supported (stream: true), usage included at the end |
| Function calling | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Completion length | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Max context | 100,000 tokens, input and output combined |
| Structured output | response_format: {"type": "json_object"} |
| Sampling parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Rate limit | 300/min per key |
| Max body | 8 MB request body |
| Concurrency | 8 requests at the same time per key |
| 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 |
| Volume bonus | +5% on $50+, +10% on $100+, +15% on $200+ |
| Credit expiry | paid credit never expires, no subscription |
| Payment | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Price | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Billing | prepaid credit, charged by real token usage; errors and refusals are free |
| 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) |
HTTP errors
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| Status | Type | Reason |
|---|---|---|
400 | bad_request | malformed request or too long for the context window |
401 | missing_key · invalid_key · key_revoked | check the Authorization header or use your current key |
402 | no_credit | balance is empty — top up, requests resume at once |
403 | content_blocked | sexual content involving minors — refused, not billed |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | request body larger than 8 MB |
429 | rate_limited · concurrency | over 300/min or 8 parallel — back off and retry |
503 | upstream_busy | model busy — retry in a few seconds |
Questions and answers
Is this an official Grok API?
No. We are an independent service hosting an uncensored open-weight model. We are not affiliated with xAI or any other vendor. Our model ID is "uncensored" and runs on our own infrastructure.
What happens if I exceed the rate limit?
The API returns a 429 status code. You can retry after the cooldown period. Limits are 300 requests per minute and 8 concurrent connections per API key.
Do prompts get used for training?
No. Your prompts and completions are not used for training purposes. We only store them for immediate processing and billing verification.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.