EN ▾
Get API key

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.

Get API key

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.

SpecValue
ProtocolOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Base URLhttps://api.unfilteredgrok.com/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
API keyBearer token in the Authorization header
Modeluncensored
JSON modeJSON object mode via response_format json_object
Max context100,000 tokens, input and output combined
StreamingSupported (stream: true), usage included at the end
Completion lengthprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Function callingSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Parallel requestsup to 8 in parallel per key
Request sizeup to 8 MB per request
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Requests per minute300 requests per minute per key
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Billingprepaid credit, charged by real token usage; errors and refusals are free
Subscriptionno 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
Keysone key per account, regenerate any time (the old one stops working)
Contentuncensored for adults; the only hard rule: no sexual content involving minors
AccountGoogle 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.

StatusTypeReason
400bad_requestmalformed request or too long for the context window
401missing_key · invalid_key · key_revokedcheck the Authorization header or use your current key
402no_creditbalance is empty — top up, requests resume at once
403content_blockedsexual content involving minors — refused, not billed
404not_foundunknown endpoint
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary 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.

Start with trial credit

Email and password, key on screen right away.

Get API key