First request in five minutes
Connect your existing code to the uncensored API in minutes. Drop in the base URL and key, and start generating text without refusals using standard OpenAI-compatible endpoints.
Base URL and Authentication
To use the uncensored API, point your OpenAI SDK or HTTP client to our base URL: https://api.claudensfw.cc/v1. This endpoint is compatible with any library that speaks the OpenAI Chat Completions protocol. You do not need to rewrite your client logic, only update the configuration.
Authentication relies on a single API key generated during signup. Pass this key in the Authorization header as a Bearer token. The service supports both Google OAuth and email/password sign-up, with no phone number required. Each account is limited to one active key at a time; generating a new one replaces the previous key immediately. This design keeps integration simple while maintaining security.
Sending Your First Request
Start by sending a basic chat completion request. This confirms your key works and returns text from the uncensored model. The model ID is always uncensored. You can adjust parameters like temperature or stop sequences to control the output style. Remember that errors and refusals do not consume your prepaid credit, so you can test freely.
curl https://api.claudensfw.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."}]
}'This request returns a standard JSON response containing the generated text. If you receive a 401 error, verify your API key is correct. A 402 error indicates insufficient balance, which you can top up via crypto. A 429 error means you have hit the rate limit of 300 requests per minute.
Python SDK Integration
Use the official openai Python package to interact with the API. Set the base_url and api_key in your client configuration. This allows you to keep using familiar methods like client.chat.completions.create(). The uncensored model behaves like any other LLM, supporting standard message structures with role and content fields. You can switch from your current provider to this uncensored endpoint without changing your core application logic.
from openai import OpenAI
client = OpenAI(base_url="https://api.claudensfw.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)This approach works for both simple prompts and complex multi-turn conversations. Ensure your code handles the choices array correctly to extract the assistant's message. Streaming is available via the stream parameter, which yields chunks as they are generated.
Node SDK Integration
For JavaScript or TypeScript projects, use the openai Node.js package. Configure the client with the same base URL and API key as the Python example. This ensures consistency across your tech stack. The uncensored model supports all standard OpenAI-compatible features, including function calling and JSON mode. You can integrate this into web servers, backend services, or client-side applications that support API keys.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.claudensfw.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);The Node SDK handles streaming and error responses efficiently. Make sure to parse the JSON response carefully, especially when using JSON mode. This ensures your application receives structured data that can be directly consumed by your frontend or downstream services. The uncensored model is designed to provide reliable outputs for both creative and technical tasks.
Streaming Responses via SSE
Enable streaming by setting the stream parameter to true. The API returns Server-Sent Events (SSE), allowing you to display text to users in real-time. Each chunk contains a partial completion, and the final chunk includes token usage statistics. This is ideal for chat interfaces where latency matters. Streaming does not affect pricing; you still pay for the total tokens used.
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)Handle stream errors gracefully to avoid hanging connections. The uncensored model supports high throughput, making it suitable for applications requiring rapid text generation. You can combine streaming with function calling to update the UI as tools are executed. This provides a smooth user experience while leveraging the power of the uncensored LLM.
Limits, Errors, and Context Window
The context window supports up to 100,000 tokens for the combined prompt and completion. There is no separate output cap, and if max_tokens is not set, the response can run to the end of the window. Rate limits are enforced at 300 requests per minute per key, with a concurrency limit of 8 simultaneous requests. Request bodies must not exceed 8 MB. These limits ensure stable performance for high-volume usage. If you exceed the concurrency limit, you will receive a 429 error. Errors like 401 (invalid key) and 402 (no credit) are common and easily resolved. The uncensored model does not refuse lawful adult content, except for sexual content involving minors, which is always blocked. This makes it a reliable choice for content creators seeking freedom without compromising on core safety standards.
What the API supports
One table with every limit, feature and price that applies to your key.
| Item | Value |
|---|---|
| Protocol | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Base URL | https://api.claudensfw.cc/v1 |
| Model | uncensored |
| API key | Bearer token in the Authorization header |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Sampling parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Tools / tool calls | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Context window | 100,000 tokens (prompt + completion together) |
| Max output | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| SSE streaming | Supported (stream: true), usage included at the end |
| Structured output | JSON object mode via response_format json_object |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Parallel requests | up to 8 in parallel per key |
| Rate limit | 300 requests per minute per key |
| Max body | up to 8 MB per request |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| 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 |
| Payment | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Credit expiry | no monthly fee; paid credit does not expire |
| Volume bonus | +5% from $50, +10% from $100, +15% from $200 |
| Content policy | uncensored for adults; the only hard rule: no sexual content involving minors |
| Keys | one key per account, regenerate any time (the old one stops working) |
| Sign-in | sign in with Google or with e-mail + password |
When a request fails
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| 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 | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | model busy — retry in a few seconds |
Questions and answers
Does the uncensored model replace Claude or GPT?
No, it is an open-weight model hosted on our servers. It is compatible with OpenAI endpoints but is a distinct model designed for fewer refusals. It is not a resell of another vendor's model.
How do I handle rate limits?
You are limited to 300 requests per minute and 8 concurrent requests per key. If you hit the limit, you will receive a 429 error. Wait a few seconds before retrying or upgrade your usage plan if available.
Can I use this for function calling?
Yes, the uncensored model supports function calling and tool use. You can define tools in your request and the model will return structured arguments for execution. This works with both the Python and Node SDKs.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.