First request in five minutes
This quickstart guides developers in switching their existing DeepSeek API integrations to our uncensored, prepaid alternative with minimal code changes. You will configure your client, execute a test request, and understand the specific pricing and limits of the deepseek nsfw service.
Prerequisites: SDK Installation
Before configuring your environment, ensure you have the appropriate SDK installed for your language. For Python, install openai via pip. For Node.js, use npm install openai. These standard libraries handle the OpenAI-compatible protocol we support. You will need a valid API key, which you can generate immediately on the Get API key page using Google or email authentication. No phone number or credit card is required for initial access.
Configure Base URL and Key
The core difference when switching to our uncensored deepseek api is the base URL. Point your SDK client to https://api.deepseeknsfw.cc/v1 instead of the default provider. Set your api_key to the value obtained during signup. This change allows you to run the same client code against our servers. The model ID you must send is "uncensored", which is an open-weight model tuned for adult content without refusals. It is not a resell of DeepSeek, Llama, or any other vendor model.
Make Your First Chat Request
Verify your integration by sending a simple text completion. Use the POST /v1/chat/completions endpoint with the "uncensored" model. Our pricing is transparent: $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals incur no charge. You can start with the $0.50 trial credit or top up with USDT (TRC20) or USDC (Base). The request below demonstrates the basic structure.
Handling Streaming Responses
For real-time output, enable streaming by setting stream: true. The API returns Server-Sent Events (SSE). Token usage statistics are included only in the final chunk of the stream. This approach reduces perceived latency for large responses. Note that the context window supports up to 100,000 tokens total, with no separate output cap per request. If you do not specify max_tokens, the response can run to the end of the window.
Enforcing JSON Mode
When building structured data pipelines, use the response_format parameter to enforce JSON output. Set response_format: {"type": "json_object"} to ensure the model returns valid JSON. This is useful for extracting entities or generating configuration files. The uncensored model handles JSON constraints reliably while maintaining its ability to output adult or controversial topics without structural refusal. Temperature and top_p parameters still apply to control creativity within the JSON structure.
Limits, Errors, and Node SDK
Use the Node SDK for asynchronous integrations. Key limits include 300 requests per minute and 8 concurrent requests per key. Request bodies must stay under 8 MB. Common HTTP errors include 401 (invalid/expired key), 402 (insufficient prepaid credit), and 429 (rate limit exceeded). Credit is prepaid and never expires. If you encounter a double charge, use the Support page; credits are not refunded but mistakes are corrected. Sign up with email or Google to get started.
cURL
curl https://api.deepseeknsfw.cc/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
from openai import OpenAI
client = OpenAI(base_url="https://api.deepseeknsfw.cc/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
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.deepseeknsfw.cc/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
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)Questions and answers
Is this the official DeepSeek API?
No, we are an independent service providing an uncensored alternative. We do not serve the official DeepSeek model, nor are we affiliated with DeepSeek, OpenAI, or other vendors. Our model is open-weight and runs on our own servers.
What payment methods are accepted?
We accept crypto only: USDT on TRC20 or USDC on Base. Minimum top-up is $20, maximum $500. There are no credit cards, PayPal, or bank transfers. Trial credits do not require a card.
Does the model refuse NSFW content?
The uncensored model does not refuse lawful adult, fictional, or controversial topics. The only hard limit is sexual content involving minors, which is always blocked. Prompts are not used for training.
Capabilities and limits
Use this table to decide whether the API fits your project before you buy credit.
| Item | Value |
|---|---|
| Protocol | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Base URL | https://api.deepseeknsfw.cc/v1 |
| Model | uncensored |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Authentication | Bearer token in the Authorization header |
| Other parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| JSON mode | JSON object mode via response_format json_object |
| Completion length | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Function calling | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Context window | 100,000 tokens, input and output combined |
| Streaming | Supported (stream: true), usage included at the end |
| Concurrency | 8 requests at the same time per key |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Request size | up to 8 MB per request |
| Requests per minute | 300/min per key |
| Credit expiry | no monthly fee; paid credit does not expire |
| 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 |
| Price | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Bonus credit | +5% on $50+, +10% on $100+, +15% on $200+ |
| Billing | prepaid credit, charged by real token usage; errors and refusals are free |
| Payment | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| 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 policy | uncensored for adults; the only hard rule: no sexual content involving minors |
Error codes
The type field is stable, the message is for humans. Errors cost nothing.
| Status | Type | Reason |
|---|---|---|
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 | refused by the content policy |
404 | not_found | unknown endpoint |
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 |