EN ▾
Get API key

First request in five minutes

Get started with the uncensored API in minutes by pointing your existing OpenAI-compatible client code to our base URL and authenticating with your new API key.

Authentication & Base URL

To use our service, you need an API key and the correct base URL. Sign up on the Get API key page using Google or an email address. Your key is displayed immediately. There is no phone number required and no card needed for the trial.

Set your client's base URL to https://api.grokunfiltered.top/v1. Use your key in the Authorization header as Bearer YOUR_API_KEY. This works with any OpenAI-compatible SDK. You are not connecting to GPT, Claude, Gemini, Grok, DeepSeek, Qwen, or Llama; you are connecting to our independent uncensored model.

You can only have one active key per account. If you generate a new one, the old one is replaced. Credit is prepaid and never expires. Errors do not consume credit.

Basic Chat Completion Request

Send a standard chat completion request to POST /v1/chat/completions. Specify the model as uncensored. The API accepts text input and returns text output. It does not support embeddings, images, audio, video, or fine-tuning.

Set your system prompt to guide the behavior. The model is tuned to answer without content refusals for lawful adult use. You can control randomness with temperature and top_p.

The context window is 100,000 tokens total (prompt + completion). There is no separate output cap. If you do not set max_tokens, the response can run to the end of the window.

curl https://api.grokunfiltered.top/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."}]
  }'

Using the Python SDK

Use the official OpenAI Python SDK. Install it via pip. Configure the base URL and API key in your client initialization. This ensures your existing code works without modification, except for the base URL change.

Call the chat completions endpoint with your messages. The response object contains the generated text. You can access token usage from the response object.

This approach is ideal for developers who want a simple, reliable way to integrate the uncensored model into their Python applications. It handles the HTTP details for you.

from openai import OpenAI

client = OpenAI(base_url="https://api.grokunfiltered.top/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)

Using the Node.js SDK

The Node.js SDK works similarly. Initialize the client with your base URL and API key. Make a call to the chat completions endpoint with the model set to uncensored.

Handle the response to extract the generated text. You can also access token usage information. The SDK handles streaming and non-streaming responses.

This is useful for developers building server-side applications or scripts that need to interact with the LLM. The code structure is familiar to anyone who has used the OpenAI SDK before.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.grokunfiltered.top/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);

Enabling Streaming Responses

Enable streaming by setting stream: true in your request. The API returns a Server-Sent Events (SSE) stream. Each chunk contains a partial response.

The final chunk includes the total token usage. This allows you to process the response in real-time without waiting for the entire completion. It is useful for chat interfaces or applications that need immediate feedback.

Handle the stream events in your client code. Ensure you close the stream when the response is complete or an error occurs. This prevents resource leaks.

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)

Rate Limits, Errors, and Context

You are limited to 300 requests per minute and 8 concurrent requests per key. The maximum request body size is 8 MB. If you exceed these limits, you will receive a 429 error.

If your key is invalid, you get a 401 error. If you have no credit, you get a 402 error. Errors do not consume your prepaid credit. You can top up with USDT (TRC20) or USDC (Base) via crypto. Minimum top-up is $20, maximum is $500.

The model refuses sexual content involving minors. All other lawful adult content is allowed. Use the context window wisely to stay within the 100,000 token limit.

Technical specifications

A quick checklist for developers: format, limits, features, billing.

FeatureSupport
ProtocolOpenAI Chat Completions schema; official openai SDKs work unchanged
Base URLhttps://api.grokunfiltered.top/v1
MethodsPOST /v1/chat/completions · GET /v1/models
Modeluncensored
API keyBearer token in the Authorization header
Max outputup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
Max context100,000 tokens, input and output combined
Function callingYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
JSON moderesponse_format: {"type": "json_object"}
SSE streamingSupported (stream: true), usage included at the end
Parallel requestsup to 8 in parallel per key
Request sizeup to 8 MB per request
Requests per minute300 requests per minute per key
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Credit expiryno monthly fee; paid credit does not expire
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Free trial$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Billingpay as you go from prepaid credit; nothing is charged for failed or refused requests
Priceinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+
Key managementone key per account, regenerate any time (the old one stops working)
Content policyuncensored for adults; the only hard rule: no sexual content involving minors
Sign-inGoogle or e-mail and password

When a request fails

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_revokedno key, wrong key, or a key replaced by a newer one
402no_creditout of credit; add credit and retry
403content_blockedrefused by the content policy
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largebody over 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busymodel busy — retry in a few seconds

Questions and answers

Is this the official Grok API?

No, we are an independent service. We do not serve the official Grok model. We host our own uncensored open-weight model that is compatible with the OpenAI API format.

How do I pay for the API?

We accept crypto only: USDT on the TRC20 network or USDC on the Base network. You can top up any whole amount from $20 to $500. Credit never expires.

What is the trial credit?

New accounts get $0.50 in trial credit valid for 7 days. Claim this credit with one click on your API key page. No card is needed to sign up or receive the trial credit.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key