Quickstart for Chatgpt users
Drop our uncensored chatgpt endpoint into your existing stack by updating the base URL and API key. Get a request working in seconds with our OpenAI-compatible interface.
Base URL and Authentication
Start by pointing your client at our hosted endpoint. Use the base URL https://api.uncensoredchatgpt.cc/v1 and include your API key in the Authorization header. This setup works with any standard OpenAI-compatible SDK.
- Base URL:
https://api.uncensoredchatgpt.cc/v1 - Auth Header:
Authorization: Bearer YOUR_API_KEY
You can generate your key immediately after signing up with Google or email. The key is active for all endpoints, including chat completions.
First Request
Send a standard chat completion request to test connectivity. The model ID is uncensored. This returns a direct text response without content filters for lawful adult or creative content.
- Method:
POST - Endpoint:
/v1/chat/completions
- Method:
POST - Endpoint:
/v1/chat/completions
Errors like invalid keys (401) or insufficient credit (402) are returned immediately. Refusals for specific content are free.
Python SDK Integration
Use the official Python SDK to integrate quickly. Configure the base URL and model ID in your client initialization.
- Model ID:
uncensored - SDK:
openai
Call the chat.completions.create method with your desired parameters. This approach ensures compatibility with existing scripts while providing an uncensored ai api for your workloads.
Node.js SDK Integration
For JavaScript or TypeScript environments, initialize the client with the custom base URL. Set the model to uncensored and make requests via chat.completions.create.
- Language:
Node.js - SDK:
openai
This works for automation scripts and server-side applications. You can pass standard parameters like temperature and top_p to control generation.
Streaming Responses
Enable real-time token output by setting stream: true. The API returns Server-Sent Events (SSE). Token usage statistics are included in the final chunk.
- Feature:
Streaming - Format:
SSE
Process each chunk as it arrives. This is useful for chat interfaces or long-form content generation where immediate feedback is required.
Limits and Errors
Monitor your usage to avoid interruptions. The API enforces a limit of 300 requests per minute per key and allows 8 concurrent requests. The maximum request body size is 8 MB.
- Rate Limit: 300 req/min
- Concurrency: 8 req
Common errors include 401 for invalid keys, 402 for insufficient credit, and 429 for rate limits. Errors and refusals do not consume credit. Credit is prepaid and never expires.
cURL
curl https://api.uncensoredchatgpt.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
from openai import OpenAI
client = OpenAI(base_url="https://api.uncensoredchatgpt.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.js
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.uncensoredchatgpt.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
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)Questions and answers
What is the context window size?
The context window is 100,000 tokens for both prompt and completion combined. There is no separate output cap, and if max_tokens is not set, the response can run to the end of the window.
Does this uncensored api support function calling?
Yes, the API supports function calling (tools) and tool_choice. You can also use JSON mode by setting response_format to {"type": "json_object"}.
How do I top up my credit?
Top up by crypto: USDT (TRC20) or USDC (Base). Payments range from $20 to $500. You receive a +5% bonus from $50, +10% from $100, and +15% from $200. No PayPal.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Get API keyTechnical specifications
One table with every limit, feature and price that applies to your key.
| Parameter | Details |
|---|---|
| API format | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Base URL | https://api.uncensoredchatgpt.cc/v1 |
| API key | Authorization: Bearer YOUR_KEY |
| Model | uncensored |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Tools / tool calls | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Completion length | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Other parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Max context | 100,000 tokens, input and output combined |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| JSON mode | JSON object mode via response_format json_object |
| Request size | 8 MB request body |
| Concurrency | 8 requests at the same time per key |
| Requests per minute | 300/min per key |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Bonus credit | +5% from $50, +10% from $100, +15% from $200 |
| Token prices | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Trial credit | $0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Top-up | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Subscription | no monthly fee; paid credit does not expire |
| Billing | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Account | sign in with Google or with e-mail + password |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
| Key management | one active key per account; a new key replaces the old one |
When a request fails
Every error is JSON with a type you can switch on. You are never charged for an error.
| HTTP | Type | What to do |
|---|---|---|
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 | refused by the content policy |
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 | over 300/min or 8 parallel — back off and retry |
503 | upstream_busy | temporary overload, retry shortly |