Uncensored DeepSeek: First request in five minutes
Get your first uncensored response in minutes by connecting your existing OpenAI SDK to our API. This guide covers authentication, basic requests, streaming, and limits for the drop-in alternative.
Authentication
Every request to the /v1/chat/completions endpoint requires a valid API key. Obtain your key immediately after signing up via Google or email on the Get API key page. Pass this key in the Authorization header as a Bearer token. If the key is invalid or expired, the API returns a 401 error. If your prepaid credit is exhausted, you will receive a 402 error. There is no monthly fee; you simply top up by crypto (USDT on TRC20, USDC on Base) when needed.
Basic Chat Completions
Send a standard chat request using the base URL provided below. The model ID is uncensored. This endpoint accepts text input and returns text output, mirroring the structure of the standard OpenAI API. You do not need to install a new library if you already use the official OpenAI SDK; just update the base_url.
- Base URL:
https://api.uncensoreddeepseek.top/v1 - Model ID:
uncensored
Send your first request:
curl https://api.uncensoreddeepseek.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 returns a JSON object containing the assistant's message. For detailed parameter definitions, refer to the standard OpenAI documentation, as our implementation follows that schema closely.
Python SDK
Use the official openai Python package to interact with the API. Set the api_key and base_url explicitly to point to our endpoint. This allows you to reuse existing client code without modification.
from openai import OpenAI
client = OpenAI(base_url="https://api.uncensoreddeepseek.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)The response object contains the generated text in response.choices[0].message.content. Errors such as rate limits or insufficient funds are raised as standard HTTP exceptions. Ensure your API key is secure and not hardcoded in production environments.
Node SDK
The Node.js client follows the same pattern. Initialize the client with your base URL and API key. This ensures compatibility with any existing OpenAI-compatible infrastructure you may have built.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.uncensoreddeepseek.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);Call chat.completions.create() with your messages. The response structure matches the standard format. If you encounter issues, verify that your base URL includes the /v1 path segment. This method is ideal for backend services that need to integrate uncensored model capabilities without changing their core logic.
Streaming Responses
For lower latency and real-time output, enable streaming by setting stream: true. The API returns a Server-Sent Events (SSE) stream. Each chunk contains a partial delta of the response. The final chunk includes the token usage statistics, allowing you to track costs accurately.
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)Process the stream asynchronously to maintain high throughput. This is particularly useful for chat interfaces or applications that display text token-by-token. Note that function calling and JSON mode also support streaming, providing flexibility for various use cases.
Limits, Errors & Context
Each API key is limited to 300 requests per minute and 8 concurrent requests. The maximum request body size is 8 MB. If you exceed these limits, you will receive a 429 rate limit error. The model supports a 100,000 token context window (input + output combined), with no separate output cap per request. If max_tokens is unset, the response can run to the end of the window. Errors and refusals do not consume credit, ensuring you only pay for successful completions. For more details on function calling or JSON mode, see the respective documentation sections.
Capabilities and limits
Before you integrate, here is exactly what you get with a key.
| Spec | Value |
|---|---|
| Protocol | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Authentication | Bearer token in the Authorization header |
| Model ID | uncensored |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Base URL | https://api.uncensoreddeepseek.top/v1 |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Max context | 100,000 tokens, input and output combined |
| Sampling parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Structured output | JSON object mode via response_format json_object |
| Tools / tool calls | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Streaming | Yes — server-sent events; the last chunk carries token usage |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Requests per minute | 300/min per key |
| Max body | 8 MB request body |
| Parallel requests | 8 requests at the same time per key |
| Price | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Billing | prepaid credit, charged by real token usage; errors and refusals are free |
| Bonus credit | +5% from $50, +10% from $100, +15% from $200 |
| Trial credit | $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 |
| Top-up | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Credit expiry | no monthly fee; paid credit does not expire |
| Key management | one active key per account; a new key replaces the old one |
| Account | sign in with Google or with e-mail + password |
| Content | adult content allowed; sexual content involving minors is refused |
Error reference
The type field is stable, the message is for humans. Errors cost nothing.
| Code | Type | Meaning |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
401 | missing_key · invalid_key · key_revoked | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | out of credit; add credit and retry |
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 the uncensored model support function calling?
Yes, the API supports function calling via the tools and tool_choice parameters. It follows the standard OpenAI tool-use schema, allowing you to integrate structured data extraction or action execution into your workflows.
How is billing calculated for errors?
Billing is based on real token usage. If a request results in an error or a refusal (other than the hard limit on minor sexual content), no tokens are charged. You only pay for tokens successfully generated and returned in the response.
Can I use this API for commercial projects?
Yes, the uncensored model is designed for lawful adult use, including commercial applications. There are no vendor lock-in fees or monthly subscriptions. You simply prepay by crypto (USDT on TRC20, USDC on Base) and use the credit as needed.