EN ▾
Get API key

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.

SpecValue
ProtocolOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
AuthenticationBearer token in the Authorization header
Model IDuncensored
MethodsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.uncensoreddeepseek.top/v1
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
Sampling parameterstemperature, top_p, stop, seed and the two penalties are passed through
Structured outputJSON object mode via response_format json_object
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
StreamingYes — server-sent events; the last chunk carries token usage
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Requests per minute300/min per key
Max body8 MB request body
Parallel requests8 requests at the same time per key
Price$0.15 per 1M input tokens · $0.50 per 1M output tokens
Billingprepaid 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-upcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Credit expiryno monthly fee; paid credit does not expire
Key managementone active key per account; a new key replaces the old one
Accountsign in with Google or with e-mail + password
Contentadult content allowed; sexual content involving minors is refused

Error reference

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

CodeTypeMeaning
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
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_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 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.

Your key is one form away

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

Get API key