Quickstart for Unfiltered GPT users
Get your first uncensored response in under five minutes. This quickstart covers authentication, the chat endpoint, and streaming with the standard OpenAI-compatible SDKs.
Base URL & Authentication
Start by creating an account on the Get API key page. You can sign in with Google or use an email and password. Once verified, your API key appears immediately. No phone number is required. Copy this key and keep it secure; it authenticates all your requests.
The base URL for the API is https://api.unfilteredgpt.cc/v1. This endpoint works with the official OpenAI SDKs and any client that supports the standard OpenAI-compatible interface. Simply configure your client to point to this base URL and include your API key in the authorization header. There are no extra headers or complex configurations needed to get started.
First Request
Send your first message using a standard POST request to the chat completions endpoint. The model identifier is uncensored. This is an open-weight model tuned for fewer refusals on lawful adult, fictional, or controversial topics. It is not GPT, Claude, or any other vendor model.
Use the following cURL command to test the connection. Replace YOUR_API_KEY with your actual key. The response will return the generated text token by token if streaming is enabled, or as a complete JSON object.
Remember that the model has a context window of 100,000 tokens total, with no separate output cap.
curl https://api.unfilteredgpt.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 Integration
For Python developers, the official openai package works directly with this API. Install the package via pip and configure the base URL to point to our infrastructure. This allows you to use familiar methods like chat.completions.create() without modifying the core logic of your application.
Set the model to uncensored in your configuration. You can control parameters like temperature, top_p, and stop sequences just as you would with any other OpenAI-compatible service. The API supports streaming via Server-Sent Events (SSE), allowing you to process tokens as they are generated.
from openai import OpenAI
client = OpenAI(base_url="https://api.unfilteredgpt.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 Integration
JavaScript and TypeScript developers can use the openai npm package. Configure the client with the base URL https://api.unfilteredgpt.cc/v1 and your API key. This ensures compatibility with the standard request structure used by the OpenAI SDKs.
Set the model to uncensored when creating completions. You can pass in messages, set the temperature, and define stop sequences. The API supports function calling and JSON mode, making it suitable for structured data extraction or tool use. Ensure your client handles the response stream correctly if you enable streaming.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unfilteredgpt.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 & Parameters
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE). Each event contains a chunk of the response. The final chunk includes token usage statistics, allowing you to track costs accurately. You can also set parameters like temperature, top_p, stop, seed, presence_penalty, and frequency_penalty to control the model's behavior.
Use response_format: { "type": "json_object" } to enforce JSON output. This is useful for structured data extraction. The model does not refuse lawful adult content, but it will block sexual content involving minors. This limit is applied consistently across all requests.
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 & Errors
Your API key is limited to 300 requests per minute and 8 concurrent requests. The maximum request body size is 8 MB. If you exceed these limits, the API returns a 429 Too Many Requests error. You can generate a new key to replace the old one if needed, but only one key is active per account.
Handle errors gracefully. A 401 Unauthorized error indicates an invalid or missing API key. A 402 Payment Required error means your account has no prepaid credit. Errors do not consume your credit balance, but they still count toward your rate limit. Ensure you have sufficient credit before sending large batches of requests.
Specs at a glance
Before you integrate, here is exactly what you get with a key.
| Feature | Support |
|---|---|
| API format | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Model | uncensored |
| Base URL | https://api.unfilteredgpt.cc/v1 |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| API key | Bearer token in the Authorization header |
| Structured output | JSON object mode via response_format json_object |
| Function calling | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Max output | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Streaming | Yes — server-sent events; the last chunk carries token usage |
| Sampling parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Max context | 100,000 tokens (prompt + completion together) |
| Rate limit | 300/min per key |
| Concurrency | up to 8 in parallel per key |
| Request size | 8 MB request body |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Top-up | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Subscription | paid credit never expires, no subscription |
| Free trial | $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 |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Volume bonus | +5% from $50, +10% from $100, +15% from $200 |
| Keys | one active key per account; a new key replaces the old one |
| Sign-in | Google or e-mail and password |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
Error reference
The type field is stable, the message is for humans. Errors cost nothing.
| 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 | model busy — retry in a few seconds |
Questions and answers
Is this API compatible with the OpenAI SDKs?
Yes. The API follows the OpenAI-compatible chat completions interface. You can use the official OpenAI Python and Node SDKs by simply changing the base URL to https://api.unfilteredgpt.cc/v1 and providing your API key.
What is the context window and output limit?
The context window is 100,000 tokens, which includes both the prompt and the completion. There is no separate output cap. If you do not set max_tokens, the response can run to the end of the window.
How do I handle errors like 401 or 402?
A 401 error means your API key is invalid or missing. A 402 error means you have no prepaid credit. These errors do not consume your credit balance, but they do count toward your 300 requests per minute rate limit. You can top up your credit by crypto (USDT on TRC20, USDC on Base) to resume service.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.