EN ▾
Get API key

Uncensored Claude: First request in five minutes

Get your first response in under five minutes by switching your client's base URL to our uncensored model API. This quickstart covers authentication, standard chat requests, and streaming using the official OpenAI SDKs.

Installation and Authentication

Our API implements the OpenAI chat-completions protocol, so you can use the official SDKs without writing custom HTTP clients. Create an account on the Get API key page using Google or email. You will receive one active key immediately; generating a new key invalidates the previous one.

Set your environment variable OPENAI_API_KEY to your new key. If you are using a raw HTTP client, include this key in the Authorization: Bearer <key> header. All requests must target our specific base URL. This ensures your traffic reaches our uncensored model instead of the standard OpenAI infrastructure.

Your key is the only credential required. There is no phone number verification or monthly subscription tied to the account. You simply top up by crypto when your prepaid credit runs out.

First Request

Send a standard chat completion request to test connectivity. The model ID is simply uncensored. This is an open-weight model tuned for fewer content refusals, running on our dedicated servers. It is not GPT or Claude.

Below is a minimal curl example. Replace <YOUR_API_KEY> with your actual key. If you receive a JSON response, your integration is working correctly.

You can adjust temperature or top_p to change the creativity of the output. The default settings usually provide a balanced response for general tasks.

If the request fails with a 401 error, verify your key. A 402 error means your prepaid credit is exhausted.

curl https://api.uncensoredclaude.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 SDK

Using the Python SDK is the most common way to integrate. Install the package via pip. The configuration mirrors the standard OpenAI setup, except for the base URL.

Create an instance of the client pointing to our API. Then call chat.completions.create with the model name uncensored. This approach works for both simple text generation and more complex prompt engineering tasks.

The SDK handles the JSON serialization and HTTP transport for you. You can catch specific exceptions like AuthenticationError or InsufficientFundsError to handle billing issues gracefully in your application logic.

from openai import OpenAI

client = OpenAI(base_url="https://api.uncensoredclaude.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 SDK

For JavaScript and TypeScript developers, the Node SDK provides a straightforward interface. Install the package and initialize the client with our base URL and your API key.

Call the chat completions endpoint with the model identifier uncensored. The SDK returns a response object containing the generated text in response.choices[0].message.content.

This method is ideal for server-side generation or background jobs. You can easily integrate it into Express routes or Next.js API routes. Remember that the model does not support function calling in the same way as some other models, but it does support standard tool definitions if needed.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.uncensoredclaude.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 Responses

Streaming is supported via Server-Sent Events (SSE). Set stream to true in your request. The API will send chunks of text as they are generated, allowing for low-latency display to end-users.

Each chunk includes token usage statistics in the final chunk. This helps you track costs accurately in real-time. Streaming is useful for chat interfaces where you want to show the model thinking.

Handle the stream events carefully. If the connection drops, you may need to implement reconnection logic. The uncensored model supports this standard streaming protocol, making it compatible with most front-end libraries.

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)

Rate Limits and Errors

Our API enforces strict limits to ensure stability. You are allowed 300 requests per minute per key. Additionally, you can have up to 8 concurrent requests at the same time. If you exceed these limits, you will receive a 429 Too Many Requests error.

The maximum request body size is 8 MB. The context window is 100,000 tokens total, with no separate output cap. If you do not specify max_tokens, the response can run to the end of the window.

Error codes include 401 for invalid keys, 402 for insufficient credit, and 429 for rate limits. Errors and refusals do not consume your prepaid credit, so you can retry safely.

Specs at a glance

If your tool speaks the OpenAI API, these are the details that matter.

ParameterDetails
API formatOpenAI Chat Completions schema; official openai SDKs work unchanged
AuthenticationBearer token in the Authorization header
MethodsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.uncensoredclaude.cc/v1
Modeluncensored
Function callingYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Context window100,000 tokens (prompt + completion together)
Other parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
StreamingYes — server-sent events; the last chunk carries token usage
Structured outputresponse_format: {"type": "json_object"}
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Request sizeup to 8 MB per request
Rate limit300/min per key
Concurrencyup to 8 in parallel per key
Top-upUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
How you paypay as you go from prepaid credit; nothing is charged for failed or refused requests
Credit expiryno 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
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
Contentadult content allowed; sexual content involving minors is refused
Keysone key per account, regenerate any time (the old one stops working)
Sign-insign in with Google or with e-mail + password

HTTP errors

Errors come back as JSON with a stable type; failed and refused requests are not billed.

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_revokedno key, wrong key, or a key replaced by a newer one
402no_creditbalance is empty — top up, requests resume at once
403content_blockedsexual content involving minors — refused, not billed
404not_foundonly /v1/chat/completions and /v1/models exist
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

How do I pay for the API?

We accept payments by crypto (USDT on TRC20, USDC on Base). You can top up any whole amount between $20 and $500. Your prepaid credit never expires.

What is the context window size?

The total context window is 100,000 tokens for both prompt and completion. If you do not set the max_tokens parameter, the response can run to the end of the window.

Is there a free trial?

Yes, new users get $0.50 of trial credit valid for 7 days. Claim this credit with one click on your API key page. No credit card is required to sign up or start testing. The trial is limited to one per person.

Your key is one form away

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

Email and password, key on screen right away.