EN ▾
Get API key
https://api.grokunrestricted.top/v1

Uncensored LLM API for developers

grokunrestricted.topSwitch your client in three lines

Switch your client in three lines

Get your first uncensored response in under five minutes using a drop-in OpenAI-compatible API. Change your base URL, paste your key, and send text.

Get API key

Base URL and Authentication

The API runs on a single base URL that accepts standard OpenAI payloads. You do not need to configure complex routing or manage multiple endpoints. All requests go to https://api.grokunrestricted.top/v1. Authentication is handled via a Bearer token passed in the Authorization header. You generate this key immediately after signing up with Google or an email address. No phone number is required, and the key is displayed once upon creation. Store it securely, as it provides full access to your prepaid credit.

The service is an independent, uncensored model. It is not GPT, Grok, or any other vendor's product. It is a distinct open-weight model tuned to answer without content refusals for lawful adult content. It does not train on your prompts. Use this base URL with any standard OpenAI SDK or HTTP client to start interacting with the API.

Your First Request

Send a simple text completion to verify connectivity and response quality. The endpoint accepts POST requests to /v1/chat/completions. Include your model ID as uncensored and provide a message in the content field. The API returns plain text tokens wrapped in a standard JSON structure. This confirms that your authentication is valid and the uncensored model is responding to your prompt without unnecessary refusals.

Start with a basic system prompt to set the tone, then send your query. If you receive a 401 error, check your key. If you get a 402 error, your prepaid credit is exhausted. Errors do not consume your token balance, so failed requests are free.

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

Python SDK Integration

Use the official OpenAI Python library to interact with the API with minimal configuration. Override the base URL and API key in your client initialization. This allows you to use familiar methods like chat.completions.create without rewriting your integration logic. The library handles JSON serialization and HTTP transport automatically. This approach is ideal for backend services, scripts, or data processing pipelines where you need reliable text generation.

Ensure you pin your library version to avoid breaking changes from upstream updates. The uncensored model responds to standard parameters like temperature and top_p. Streaming is supported via the stream argument, which yields chunks of text as they are generated. This reduces perceived latency for interactive applications.

from openai import OpenAI

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

Node.js SDK Integration

Integrate the API into JavaScript or TypeScript environments using the OpenAI Node SDK. Set the apiKey and baseURL properties in your configuration object. This ensures that all subsequent API calls route correctly to the uncensored backend. The SDK handles pagination and error parsing, allowing you to focus on your application logic. This is particularly useful for web servers, serverless functions, or client-side applications that need direct access to the model.

Import the SDK and create a client instance. Pass your model ID and messages array to the completion endpoint. The response includes token usage statistics, which you can log for monitoring. Since the API is pay-as-you-go, tracking usage helps you manage your prepaid credit efficiently. You can top up via crypto whenever you need more balance.

import OpenAI from "openai";

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

Streaming Responses

Enable streaming by setting the stream parameter to true in your request. The API returns a Server-Sent Events (SSE) stream containing partial responses. Each chunk includes the generated text token and metadata. The final chunk contains the total token usage for the request, allowing you to calculate costs accurately. Streaming reduces latency by delivering content as it is generated, rather than waiting for the entire response.

Handle the stream in your client code by listening to the data events. Concatenate the text tokens to form the complete response. This pattern is essential for chat interfaces where users expect immediate feedback. The uncensored model supports streaming natively, ensuring smooth delivery of long-form content without interruptions.

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, and Context Window

The context window supports 100,000 tokens for input and output combined. 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. The request body must not exceed 8 MB. These limits ensure fair usage and system stability. If you exceed the rate limit, you will receive a 429 error. Errors like invalid keys (401) or insufficient credit (402) do not consume your balance.

The API does not offer image, audio, or video generation. It is strictly a text-in, text-out service. Privacy is maintained by not training on your prompts. If you send sexual content involving minors, it will be refused. Otherwise, lawful adult content is served without restriction. Sign up with Google or email to get started, and top up via USDT or USDC when needed.

Technical reference

One table with every limit, feature and price that applies to your key.

FeatureSupport
ProtocolOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Model IDuncensored
Base URLhttps://api.grokunrestricted.top/v1
API keyAuthorization: Bearer YOUR_KEY
MethodsPOST /v1/chat/completions · GET /v1/models
Sampling parameterstemperature, top_p, stop, seed and the two penalties are passed through
SSE streamingYes — server-sent events; the last chunk carries token usage
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
Tools / tool callsYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Structured outputresponse_format: {"type": "json_object"}
Max context100,000 tokens (prompt + completion together)
Max bodyup to 8 MB per request
Requests per minute300/min per key
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Parallel requests8 requests at the same time per key
Top-upcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Billingprepaid credit, charged by real token usage; errors and refusals are free
Bonus credit+5% from $50, +10% from $100, +15% from $200
Price$0.15 per 1M input tokens · $0.50 per 1M output tokens
Subscriptionpaid credit never expires, no subscription
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
Contentadult content allowed; sexual content involving minors is refused
Keysone active key per account; a new key replaces the old one
Sign-insign in with Google or with e-mail + password

Errors and what to do

The type field is stable, the message is for humans. Errors cost nothing.

StatusTypeReason
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
401missing_key · invalid_key · key_revokedcheck the Authorization header or use your current key
402no_creditout of credit; add credit and retry
403content_blockedrefused by the content policy
404not_foundunknown endpoint
413request_too_largebody over 8 MB
429rate_limited · concurrencyover 300/min or 8 parallel — back off and retry
503upstream_busymodel busy — retry in a few seconds

Questions and answers

Does the API support function calling?

Yes, the API supports function calling via the tools and tool_choice parameters. You can define tools in your request and the model will return structured JSON for tool usage. This allows you to integrate the API into workflows that require programmatic actions or data extraction.

How do I top up my credit?

You can top up your credit using cryptocurrency, specifically USDT (TRC20) or USDC (Base). The minimum top-up amount is $20, and the maximum is $500. Credits never expire, and you receive a bonus for larger amounts: +5% for $50 and +10% for $100. For top-ups of $200, you receive a +15% bonus.

Is my data used for training?

No, prompts are not used for training. The API is designed for privacy, ensuring that your input data remains separate from the model's training corpus. This is particularly useful for developers who need to ensure confidentiality of their proprietary content or user data.

Your key is one form away

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

https://api.grokunrestricted.top/v1Get API key