EN ▾
Get API key

Uncensored DeepSeek: First request in five minutes

Get your API key, add credit, and make your first request in under five minutes. This guide covers the base URL, authentication, and client SDKs for the uncensored deepseek api.

Authentication

To use the uncensored deepseek api, you need an API key. Sign up on the Get API key page with just an email and password. No phone number or credit card is required for the trial. The key is shown immediately after signup and can be regenerated at any time, which revokes the old one. Pass this key in the Authorization header as a Bearer token. Each account is limited to one active key at a time.

First Request

Make a simple POST request to the chat completions endpoint. Replace <YOUR_API_KEY> with your actual key. The model ID is "uncensored". This base URL works with the official OpenAI SDKs and any OpenAI-compatible client by changing base_url and the API key.

curl https://api.uncensoreddeepseek.com/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 text response. If you get a 401, your key is invalid. If you get a 402, you need to add credit.

Python SDK

Use the official OpenAI Python library to interact with the API. Set the base URL to our endpoint and provide your API key. The library handles streaming and parsing automatically. This is the recommended way for most developers to integrate the uncensored deepseek api into their applications.

from openai import OpenAI

client = OpenAI(base_url="https://api.uncensoreddeepseek.com/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 you install the openai package. The code snippet demonstrates a basic completion call.

Node SDK

For JavaScript and TypeScript developers, the OpenAI Node SDK provides a straightforward interface. Configure the base URL to point to our service. The SDK supports both synchronous and asynchronous calls. This allows you to integrate the uncensored deepseek api directly into your Node.js applications with minimal configuration.

import OpenAI from "openai";

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

Install the openai package via npm. The example shows how to initialize the client and send a request.

Streaming Responses

Enable streaming by setting stream: true in your request. The API returns a Server-Sent Events (SSE) stream of partial responses. This is useful for real-time text generation and improving perceived latency. The client SDKs handle the parsing of SSE events automatically.

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)

The example demonstrates how to iterate over the stream in Python. Each chunk contains a partial response.

Limits and Errors

The API has a rate limit of 300 requests per minute per key. The context window is 100,000 tokens (prompt + completion). Request bodies are limited to 8 MB. Common errors include 401 (invalid key), 402 (insufficient credit), and 429 (rate limit exceeded). Add prepaid credit to continue using the service. Paid credit never expires.

Technical reference

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

ParameterDetails
API formatOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Modeluncensored
AuthenticationAuthorization: Bearer YOUR_KEY
Base URLhttps://api.uncensoreddeepseek.com/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
JSON moderesponse_format: {"type": "json_object"}
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
StreamingSupported (stream: true), usage included at the end
Context window100,000 tokens, input and output combined
Function callingSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Sampling parameterstemperature, top_p, stop, seed and the two penalties are passed through
Concurrency8 requests at the same time per key
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Max body8 MB request body
Rate limit300 requests per minute per key
Credit expirypaid credit never expires, no subscription
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
Price$0.15 per 1M input tokens · $0.50 per 1M output tokens
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
How you payprepaid credit, charged by real token usage; errors and refusals are free
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
Accountsign in with Google or with e-mail + password
Contentadult content allowed; sexual content involving minors is refused
Keysone active key per account; a new key replaces the old one

When a request fails

Every error is JSON with a type you can switch on. You are never charged for an error.

HTTPTypeWhat to do
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_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_busymodel busy — retry in a few seconds

Questions and answers

Do I need a credit card for the trial?

No, the trial credit is available with just an email and password. You can add credit later by crypto (USDT on TRC20, USDC on Base).

Can I use the same key for multiple projects?

Yes, but each account is limited to one key. If you regenerate it, the old one is revoked. You can share the key across projects, but it counts against the per-key rate limit.

What happens if I hit the rate limit?

You will receive a 429 status code. The limit is 300 requests per minute per key. You can wait and retry or regenerate your key if needed.

Your key is one form away

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

Get API keyRead the docs