EN ▾
Claim trial 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 ai chat API Documentation

Start sending requests to our uncensored AI chat API in minutes using standard OpenAI-compatible clients. We provide a single dedicated model with no content refusals for lawful adult use.

Base URL and Authentication

Our API endpoint sits at https://api.chataiuncensored.com/v1. You authenticate by passing your API key in the Authorization header. This setup works with any OpenAI-compatible SDK.

  • Base URL: https://api.chataiuncensored.com/v1
  • Header: Authorization: Bearer YOUR_API_KEY
curl https://api.chataiuncensored.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Check my server uptime logs for errors"}]
  }'

Signup is instant via Google or email. Your key appears immediately. No phone number is required. Credit is prepaid and never expires.

First Request

Send your first prompt using the standard chat completion endpoint. The model ID is uncensored. It answers without filtering lawful adult content.

  • Endpoint: POST /v1/chat/completions
  • Model: uncensored
from openai import OpenAI

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

Errors and refusals are free. You only pay for real token usage. Input costs $0.15 per 1M tokens. Output costs $0.50 per 1M tokens.

Node SDK Integration

Use the Node SDK to integrate quickly. Set the base URL to our endpoint. The client handles retries and parsing automatically.

import OpenAI from "openai";

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

Rate limits apply per key. You can send 300 requests per minute. Concurrency is limited to 8 simultaneous requests. Keep request bodies under 8 MB.

Streaming Responses

Enable streaming by setting stream: true. The API returns chunks via Server-Sent Events. Token usage details appear in the final chunk.

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 reduces perceived latency for your users. It is ideal for chat interfaces. Each chunk contains partial text data.

Function Calling and JSON Mode

Request structured data using response_format: {"type": "json_object"}. You can also define tools for function calling. The model supports tool_choice for strict mode.

  • JSON mode: forces valid JSON output
  • Tools: define custom functions for the model to call

This feature works well for app builders needing structured data. It avoids parsing errors in your backend logic.

Rate Limits and Errors

Handle standard HTTP errors gracefully. A 401 means your key is invalid. A 402 indicates insufficient prepaid credit. A 429 signals you hit the rate limit.

  • Context window: 100,000 tokens total
  • Max output: 16,000 tokens per request

You can adjust temperature and top_p for creativity. Use stop sequences to end generation early. Top-up crypto only from $20 to $500.

Common questions

What is the best uncensored AI chat API for developers?

Our API offers a single dedicated model with no content refusals for lawful adult use. It is OpenAI-compatible and bills by real token usage. No monthly fees or hidden subscriptions apply.

How do I pay for the uncensored LLM API?

We accept crypto only: USDT on TRC20 or USDC on Base. Top-ups range from $20 to $500. You receive bonus credit for larger amounts. Credit never expires.

Is the uncensored model really unfiltered?

Yes, the model does not refuse lawful adult, fictional, or controversial topics. The only hard limit is sexual content involving minors. It is designed for NSFW apps and jailbreaks.

Get your API key

Register, copy the key, update the endpoint URL. Simple setup.