Switch your client in three lines
Drop our endpoint into your existing OpenAI client code and start generating text immediately. No SDK changes, no vendor lock-in, just a single uncensored model with transparent pricing.
Authentication Setup
Our API uses standard API key authentication. Sign up at the Get API key page using Google or email to receive your key instantly. No phone number or credit card is required for the trial.
Include your key in the Authorization header as a Bearer token. The base URL for all requests is https://api.uncensoredclaude.top/v1. This works with the official OpenAI SDKs and any OpenAI-compatible client by simply changing the base_url and api_key values.
Each account holds one active key. Generating a new key immediately invalidates the old one.
Basic Chat Completion
Send a POST request to /v1/chat/completions with your model ID set to uncensored. The model accepts text input and returns text output. It is an open-weight model tuned for freedom, not GPT or Claude.
Below is a minimal curl example to get started. Replace YOUR_API_KEY with your actual key.
curl https://api.uncensoredclaude.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 standard JSON response containing the generated text in choices[0].message.content.
Python SDK Integration
Using the official openai Python package, you can switch to our API by updating the base URL. This ensures you are using the same client code structure you already know.
from openai import OpenAI
client = OpenAI(base_url="https://api.uncensoredclaude.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 client handles authentication and request formatting automatically. Ensure your OPENAI_API_KEY environment variable or direct argument matches your account key.
Node SDK Integration
For Node.js developers, the openai NPM package works identically. Configure the client with the custom base URL and your API key.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.uncensoredclaude.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);This approach maintains compatibility with standard OpenAI patterns while routing requests to our uncensored model. It is ideal for backend services that already use OpenAI-compatible clients.
Streaming Responses
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE). Token usage statistics are included in the final chunk of the stream.
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)Streaming is useful for real-time displays. Note that if the stream is interrupted, you may miss the final usage statistics in the last chunk.
Limits, Errors & Context
Your context window is 100,000 tokens total (prompt + completion). There is no separate output cap (if max_tokens is unset, the response can run to the end of the window). We enforce a limit of 300 requests per minute and 8 concurrent requests per key.
Common errors include: 401 for an invalid or missing key, 402 if your prepaid credit is exhausted, and 429 for rate limits. Errors and refusals are free. Requests exceeding the 8MB body limit will fail. We do not offer SLAs or certifications.
Technical reference
If your tool speaks the OpenAI API, these are the details that matter.
| Parameter | Details |
|---|---|
| Protocol | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| API key | Bearer token in the Authorization header |
| Base URL | https://api.uncensoredclaude.top/v1 |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Model | uncensored |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Streaming | Yes — server-sent events; the last chunk carries token usage |
| JSON mode | JSON object mode via response_format json_object |
| Other parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Max context | 100,000 tokens, input and output combined |
| Tools / tool calls | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Max body | 8 MB request body |
| Concurrency | up to 8 in parallel per key |
| Rate limit | 300 requests per minute per key |
| Billing | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Bonus credit | +5% from $50, +10% from $100, +15% from $200 |
| Trial credit | $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 |
| Top-up | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Credit expiry | paid credit never expires, no subscription |
| Keys | one key per account, regenerate any time (the old one stops working) |
| Sign-in | sign in with Google or with e-mail + password |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
Errors and what to do
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| Code | Type | Meaning |
|---|---|---|
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 | sexual content involving minors — refused, not billed |
404 | not_found | only /v1/chat/completions and /v1/models exist |
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
Do I need to change my model name in the code?
Yes. Set the model parameter to uncensored. This is our specific open-weight model ID, distinct from GPT-4 or Claude.
Is the trial credit renewable?
No. New users get $0.50 of trial credit valid for 7 days. It is one per person, no card needed. Claim this credit with one click on your API key page. Top up by crypto (USDT on TRC20, USDC on Base) for ongoing use.
What happens if I get a 402 error?
Your prepaid credit is exhausted. You must top up by crypto (USDT on TRC20, USDC on Base) to resume requests. Credit never expires.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.