First request in five minutes
Drop the official OpenAI SDK into your code, point it at our base URL, and replace the model ID to start generating text with our uncensored model. You keep your existing client logic; we handle the endpoint, authentication, and token billing.
Base URL and Authentication
Our API is fully OpenAI-compatible. You do not need a new library. You only need to update the base_url and provide your API key. The base URL for this service is https://api.uncensoredgrok.top/v1. Authentication is handled via the standard Authorization header or the api_key parameter in your client configuration. Every request must include a valid key; otherwise, the server returns a 401 Unauthorized error. Keys are generated immediately upon signup via Google or email. We do not manage retries, connection pooling, or model routing for you—the client library handles those standard HTTP tasks. If you are switching from another provider, simply ensure your key is passed correctly to the new endpoint.
Chat Completions Endpoint
The core interaction happens via the POST /v1/chat/completions endpoint. You send a list of messages and receive a text response. The model ID you must specify is "uncensored". This is an open-weight model tuned for lawful adult use, running on our own servers. It is not GPT, Grok, or DeepSeek. To verify your setup, you can query GET /v1/models to confirm the endpoint is reachable. Below is a minimal curl request to generate a response.
curl https://api.uncensoredgrok.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."}]
}'
This request assumes you have already obtained an API key. The response will contain the generated text in choices[0].message.content. If you encounter a 402 error, your prepaid credit is exhausted. If you see a 429, you have exceeded the rate limit of 300 requests per minute.
Streaming Responses
For real-time token delivery, set stream: true in your request. The API returns a Server-Sent Events (SSE) stream. Each chunk contains partial data, and the final chunk includes the token usage statistics for billing purposes. Streaming is ideal for UIs that need to display text as it is generated. Ensure your client handles the SSE protocol correctly; the library does not hide the stream events from you if you are using raw HTTP. This is critical for tracking token consumption in real-time.
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)
Remember that streaming does not change the token pricing. You are charged for the total input and output tokens regardless of how they are delivered. The last chunk in the stream provides the exact token counts for your invoice.
Function Calling (Tools)
Our model supports function calling via the tools parameter. You can define JSON schemas for your functions, and the model will return structured tool calls when appropriate. This feature works exactly like the standard OpenAI tool-use protocol. You do not need to parse raw JSON manually if you use the SDKs; they handle the tool call structure. However, note that we do not execute the functions for you. You receive the tool call arguments, execute them in your code, and then send the results back to the API for a final response. This allows you to keep your business logic separate from the model.
from openai import OpenAI
client = OpenAI(base_url="https://api.uncensoredgrok.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)
Ensure your tool definitions are valid JSON schemas. The model will attempt to match the user's intent to your defined tools. If no tool is appropriate, it will return a normal text response.
JSON Mode
If you require strictly valid JSON output, set response_format to {"type": "json_object"}. This forces the model to produce output that conforms to standard JSON syntax. This is useful for extracting structured data from unstructured text. The model does not guarantee semantic correctness, only syntactic validity. If the output is not valid JSON, the API will not retry automatically; you must handle the error in your application. This feature is distinct from function calling and is useful for simple key-value extraction tasks.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.uncensoredgrok.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);
When using JSON mode, ensure your prompt clearly instructs the model to output only the JSON object. Including a system message like "You are a helpful assistant that outputs valid JSON" improves reliability.
Token Limits and Costs
The context window is 100,000 tokens for the combined prompt and completion. There is no separate output cap, and if you do not specify max_tokens, the response can run to the end of the window. Pricing is transparent: $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals are free. Prepaid credit is charged based on actual usage and never expires. You can top up with USDT (TRC20) or USDC (Base) for amounts between $20 and $500. A 5% bonus applies to deposits of $50 or more, and 10% for $100+. We do not offer subscriptions or monthly fees. Your key is limited to 300 requests per minute and 8 concurrent connections.
API facts in one table
One table with every limit, feature and price that applies to your key.
| Feature | Support |
|---|---|
| API format | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| API key | Bearer token in the Authorization header |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Model | uncensored |
| Base URL | https://api.uncensoredgrok.top/v1 |
| JSON mode | response_format: {"type": "json_object"} |
| Completion length | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Tools / tool calls | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| Other parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Max context | 100,000 tokens, input and output combined |
| Max body | 8 MB request body |
| Rate limit | 300 requests per minute per key |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Concurrency | up to 8 in parallel per key |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Bonus credit | +5% on $50+, +10% on $100+, +15% on $200+ |
| Top-up | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Free trial | $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 |
| How you pay | prepaid credit, charged by real token usage; errors and refusals are free |
| Subscription | paid credit never expires, no subscription |
| Content policy | uncensored for adults; the only hard rule: no sexual content involving minors |
| Key management | one active key per account; a new key replaces the old one |
| Account | Google or e-mail and password |
HTTP errors
The type field is stable, the message is for humans. Errors cost nothing.
| HTTP | Type | What to do |
|---|---|---|
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 | temporary overload, retry shortly |
Questions and answers
Is this model the same as Grok or DeepSeek?
No. This is an independent open-weight model hosted by us. It is not GPT, Claude, Grok, DeepSeek, or any other vendor's model. It does not replicate their specific training data or behavior. It is tuned to answer without content refusals for lawful adult use.
What happens if I run out of credit?
You will receive a 402 Payment Required error. Your prepaid credit does not expire, so you can top up anytime. We accept only USDT (TRC20) and USDC (Base) for top-ups. There are no monthly fees or subscription lock-ins.
Can I use this with the official OpenAI SDKs?
Yes. The API is OpenAI-compatible. You only need to change the base_url to our endpoint and provide your API key. The official SDKs handle the rest, including retries and JSON parsing.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Get API key