EN ▾

Unrestricted Chatgpt: First request in five minutes

Get an uncensored response from the API in under five minutes using standard OpenAI-compatible libraries. This quickstart covers setup, basic requests, streaming, and function calling.

https://api.unrestrictedchatgpt.top/v1uncensored

Prerequisites: Install OpenAI SDK

To interact with the unrestricted chatgpt service, you need the official OpenAI SDK for your preferred language. The API follows standard OpenAI conventions, so existing code often requires minimal changes. Install the package using your standard package manager. For Python, use pip install openai. For Node.js, use npm install openai. Ensure you have a recent version of your language runtime installed. No special dependencies are required beyond the core SDK.

Set Your API Key and Base URL

Create an account on the dashboard to receive your API key. You can sign in with Google or use email and password. The key is displayed immediately after creation. Configure your client to point to our base URL: https://api.unrestrictedchatgpt.top/v1. Set the API key in the authorization header. This configuration allows the SDK to route requests to our uncensored LLM API instead of the default OpenAI endpoints.

Basic Text Completion Request

Send a simple text prompt to generate a response. The model ID is uncensored. The API accepts standard chat completion parameters. Below is a curl example demonstrating a basic request. The response contains the generated text in the content field. This works for any lawful adult content, fiction, or research topics without standard content filters.

Enabling Streaming Responses

For lower latency, enable streaming. The API returns chunks of text as they are generated. This is ideal for real-time interfaces. Set the stream parameter to true. The response will contain multiple delta objects. Handle these deltas to update your UI incrementally. The final chunk includes token usage statistics. This method reduces perceived wait time significantly compared to waiting for the full completion.

Using Function Calling Tools

The API supports function calling for structured interactions. Define tools in the request body. The model can choose to call a function based on the prompt. Pass the tool definitions in the tools parameter. Set tool_choice to auto or a specific function name. The response will include tool calls if the model decides to invoke them. This allows you to build agents or structured data extractors easily.

Forcing JSON Mode Output

Ensure strict JSON output by setting the response format. Use response_format with type json_object. This forces the model to return valid JSON. It is useful for parsing data in downstream applications. Combine this with function calling or structured prompts. The model will adhere to the schema you provide. This feature works reliably with the uncensored AI API for consistent data extraction.

cURL

curl https://api.unrestrictedchatgpt.top/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.unrestrictedchatgpt.top/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.unrestrictedchatgpt.top/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)

Technical specifications

Everything the endpoint can and cannot do, in one place — check it before you top up.

ParameterDetails
API formatOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Base URLhttps://api.unrestrictedchatgpt.top/v1
EndpointsPOST /v1/chat/completions · GET /v1/models
API keyBearer token in the Authorization header
Model IDuncensored
Context window100,000 tokens (prompt + completion together)
Structured outputJSON object mode via response_format json_object
Tools / tool callsYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
StreamingSupported (stream: true), usage included at the end
Other parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Parallel requests8 requests at the same time per key
Rate limit300/min per key
Request size8 MB request body
Subscriptionno monthly fee; paid credit does not expire
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
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$0.15 per 1M input tokens · $0.50 per 1M output tokens
Billingprepaid credit, charged by real token usage; errors and refusals are free
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Key managementone active key per account; a new key replaces the old one
Contentadult content allowed; sexual content involving minors is refused
AccountGoogle or e-mail and password

HTTP errors

The type field is stable, the message is for humans. Errors cost nothing.

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_revokedcheck the Authorization header or use your current key
402no_creditbalance is empty — top up, requests resume at once
403content_blockedrefused by the content policy
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyover 300/min or 8 parallel — back off and retry
503upstream_busytemporary overload, retry shortly

Questions and answers

What are the token limits and costs?

The context window is 100,000 tokens total. There is no separate output cap. Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors do not charge tokens.

How do I handle errors?

Check the response status code and message. Common issues include invalid keys, insufficient credit, or rate limits. The API key is single-use per account; a new key replaces the old one if you generate a new one.

Is content filtering applied?

The model is uncensored for lawful adult use. It does not refuse controversial or fictional topics. However, sexual content involving minors is strictly blocked and will be refused.

Your key is one form away

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

Get API key