it ▾
Get API key
per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

Uncensored, private, OpenAI-compatible API

ClaudepricingapiUncensored API Quickstart

Uncensored API Quickstart

Get started with an uncensored LLM API that runs the same client code as major providers. This quickstart guides you through authentication, requests, and streaming using our open-weight model.

Base URL and Authentication

Start every request to our claude pricing api compatible endpoint by setting the base URL and API key. We use standard OpenAI headers, so you only need to change the base_url and inject your key into the Authorization header. Signup is fast: use Google or an email password to get a key immediately without phone verification. We do not store prompts for training, ensuring your data remains yours. Every account gets one active key that replaces the old one if you generate a new one.

Sending Your First Completion

Send a text-in, text-out request to the chat completions endpoint with the model ID set to uncensored. This is an open-weight model tuned for lawful adult content and lacks the refusals of mainstream providers. You can send up to 8 requests simultaneously per key. Errors and refusals do not consume your prepaid credit. Use the following command to verify connectivity and token consumption.

curl https://api.claudepricingapi.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "get current api usage stats"}]
  }'

Using the Python SDK

Install the official OpenAI Python library and point it at our base URL to start generating text. This approach works because we are an OpenAI-compatible API that supports standard parameters like temperature and top_p. You can switch from a subscription service to this uncensored AI API without rewriting your core logic. The SDK handles retries and JSON parsing automatically. Here is how to initialize the client and send a simple prompt.

from openai import OpenAI

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

Integrating with Node.js

Use the Node.js OpenAI package to integrate this uncensored AI API into your JavaScript or TypeScript projects. Configure the fetch agent to handle our specific network requirements if you encounter proxy issues. This method is ideal for server-side rendering or backend microservices that need reliable text generation. You can pass multiple messages in the history array to maintain context. The following snippet demonstrates a basic completion request.

import OpenAI from "openai";

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

Streaming Responses via SSE

Enable streaming by setting stream: true to receive tokens as they are generated via Server-Sent Events. This reduces perceived latency for users waiting for long responses. You can parse the final chunk to get the exact token usage for billing transparency. Streaming is supported for all standard parameters including stop sequences and seed values. Use this approach for real-time chat interfaces or progressive text rendering.

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 Constraints

Respect the 300 requests per minute limit and the 8 MB request body size to avoid service interruptions. If you exceed the limit, you will receive a 429 error; if your credit is exhausted, you get a 402 error. Invalid keys trigger a 401 response. The context window supports 100,000 tokens for prompt plus completion combined. Max output is 16,000 tokens per request unless you specify a lower max_tokens value. These constraints ensure fair usage across all prepaid accounts.

Common questions

How does this API differ from the standard Claude pricing API?

We offer an uncensored open-weight model that does not refuse lawful adult or controversial topics, unlike the tiered subscription models of major providers. Our pricing is usage-based with prepaid crypto credits, so you pay only for what you consume. There are no monthly fees or hidden rate increases for specific models.

Is this an official API for Claude or OpenAI?

No, we are an independent service running our own open-weight model under the ID <code>uncensored</code>. It is compatible with the OpenAI SDK format but serves a different model trained for fewer content refusals. Check the original vendor documentation for their specific model versions and pricing details.

What happens if I make a mistake or get double charged?

Prepaid credit never expires, so unused funds remain available for future requests. If you experience a billing error like a double charge, use the Support page to resolve it. We do not refund credits to external wallets, but we correct account balances directly.

Get your key now

Sign up, copy the token, update your endpoint. Done.

Get API key