Quickstart for Unfiltered Grok users
Get your first uncensored response in under five minutes using the standard OpenAI SDK pattern with our dedicated model endpoint.
Prerequisites
Before making requests, ensure you have a valid API key. Sign up on the Get API key page using Google or email; the key appears immediately. You can start with $0.50 of trial credit, valid for 7 days, with no card required. Claim this credit with one click on your API key page. For ongoing use, top up with USDT (TRC20) or USDC (Base) via crypto. Your base URL is https://api.unfilteredgrok.com/v1. This endpoint is compatible with any OpenAI-compatible client, allowing you to swap in our uncensored model without changing your integration logic.
Basic Completion
Send a simple chat request to receive a text response. The model ID is uncensored. This endpoint accepts standard parameters like temperature and top_p. It does not support embeddings, images, or audio. If you need to verify available models, send a GET request to /v1/models. The following example demonstrates a standard chat completion call using the curl command-line tool.
Python SDK
Use the official OpenAI Python library to interact with the API. Configure the client by setting the base URL and API key. This allows you to reuse existing codebases that target OpenAI while benefiting from our uncensored model. The following snippet shows how to initialize the client and send a message.
Node SDK
Integrate with Node.js applications by configuring the OpenAI npm package. Point the client to our base URL and provide your API key. This approach works for both server-side scripts and API routes. The following example demonstrates a basic completion request using the Node.js environment.
Streaming Responses
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE), delivering tokens as they are generated. Token usage statistics are included in the final chunk of the stream. This reduces perceived latency for users waiting for long-form content. The following example illustrates how to handle streaming responses programmatically.
Limits and Errors
The context window is 100,000 tokens total, with no separate output cap (if max_tokens is unset, the response can run to the end of the window). You are limited to 300 requests per minute and 8 concurrent requests per key. Common errors include 401 for an invalid key, 402 for insufficient credit, and 429 for rate limits. Errors and refusals consume no tokens. Requests are capped at 8 MB body size. One active key is allowed per account; generating a new one replaces the previous key immediately.
cURL
curl https://api.unfilteredgrok.com/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
from openai import OpenAI
client = OpenAI(base_url="https://api.unfilteredgrok.com/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
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unfilteredgrok.com/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
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.
| Spec | Value |
|---|---|
| Protocol | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Base URL | https://api.unfilteredgrok.com/v1 |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| API key | Bearer token in the Authorization header |
| Model | uncensored |
| JSON mode | JSON object mode via response_format json_object |
| Max context | 100,000 tokens, input and output combined |
| Streaming | Supported (stream: true), usage included at the end |
| Completion length | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Sampling parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Function calling | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Parallel requests | up to 8 in parallel per key |
| Request size | up to 8 MB per request |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Requests per minute | 300 requests per minute per key |
| Volume bonus | +5% on $50+, +10% on $100+, +15% on $200+ |
| Payment | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Billing | prepaid credit, charged by real token usage; errors and refusals are free |
| Subscription | no monthly fee; paid credit does not expire |
| Price | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Trial credit | $0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Keys | one key per account, regenerate any time (the old one stops working) |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
| Account | Google or e-mail and password |
Errors and what to do
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 | unknown endpoint |
413 | request_too_large | request body larger than 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | temporary overload, retry shortly |
Questions and answers
Does this API support image or audio generation?
No. The API is strictly for text-based chat completions. It does not support embeddings, images, audio, video, or fine-tuning endpoints.
How do I top up my credit?
Credit is topped up exclusively via crypto: USDT (TRC20) or USDC (Base). You can top up any whole amount from $20 to $500. Credit never expires and errors do not consume balance.
What is the maximum output length?
There is no separate output cap. If you do not set the max_tokens parameter, the response can run to the end of the window. The total context window is 100,000 tokens including the prompt.