EN ▾
unrestrictedgpt.top

Uncensored LLM API. Pay per token. No filters.

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

First request in five minutes

Drop your existing OpenAI-compatible client into our uncensored LLM API with three simple configuration changes and start generating raw, unfiltered text responses immediately.

Authentication & Base URL

Our API uses standard API key authentication. You can sign up via Google or email to receive your key instantly without phone verification. Once you have your key, update your client's base URL to https://api.unrestrictedgpt.top/v1. This endpoint is fully compatible with official OpenAI SDKs and any client that supports the OpenAI chat-completions schema. Your key must be sent in the Authorization header as a Bearer token. Ensure your client is configured to send requests to this specific base URL to avoid routing errors. No additional headers are required for basic access, but you may set custom headers for debugging if needed. The endpoint supports both synchronous and streaming requests, making it easy to integrate into existing pipelines without rewriting core logic.

Chat Completions Endpoint

Send text to our uncensored model using the standard POST /v1/chat/completions endpoint. Specify the model ID as uncensored to ensure you are using our dedicated, filter-free model. You can include a list of messages with roles such as user, assistant, or system. The API returns a text response without the typical refusals found in other models. You can control the response length using max_tokens, and if it is not specified, the response can run to the end of the window. The total context window supports 100,000 tokens for both input and output combined. This makes it suitable for long-form content generation or complex reasoning tasks. Errors during processing do not consume your prepaid credit, so you can retry safely.

Streaming Responses

Enable streaming by setting stream to true in your request. The API will return a series of Server-Sent Events (SSE), allowing you to process tokens as they are generated. This is ideal for real-time applications or user interfaces that display text progressively. Each event contains a chunk of the response, and the final chunk includes the total token usage for billing purposes. Streaming reduces perceived latency for users, especially when generating long responses. You can cancel the connection at any time without losing the tokens already sent. This feature is supported by all standard OpenAI-compatible SDKs when configured correctly.

Function Calling & Tools

Our API supports function calling, allowing the model to return structured data for integration with external systems. Define your tools in the tools parameter, specifying the function name, description, and parameters. The model will respond with a tool_calls array containing the arguments for each function. You can use tool_choice to force the model to use a specific tool or let it decide. This feature is useful for building agents or automating workflows that require structured outputs. Ensure your function definitions are clear and concise to improve the model's accuracy. The API handles the parsing and formatting of the tool responses, making it easy to integrate into your application logic.

JSON Mode Configuration

For applications requiring strict JSON output, set response_format to {"type": "json_object"}. This instructs the model to format its response as valid JSON, reducing the need for post-processing. This is particularly useful for API integrations, data extraction, or configuration generation. The model will attempt to adhere to the JSON structure, but you should still validate the output in your application. JSON mode is compatible with function calling and streaming, providing flexibility in how you handle the response. Use this feature when you need reliable, machine-readable outputs without parsing errors. It is ideal for developers who want to minimize the complexity of their integration code.

Rate Limits & Constraints

Each 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, you will receive a 429 error. Authentication failures return a 401 error, and insufficient credit results in a 402 error. Errors during processing do not consume your prepaid credit. The context window is 100,000 tokens, and the response can run to the end of the window. These limits ensure fair usage and stable performance for all users. You can monitor your usage and credit balance through the dashboard. If you need higher limits, contact support for potential adjustments. These constraints are designed to prevent abuse while maintaining high availability.

cURL

curl https://api.unrestrictedgpt.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.unrestrictedgpt.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.unrestrictedgpt.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

The numbers below are the real limits of this API, not marketing. Compare them with what your app needs.

ItemValue
CompatibilityOpenAI Chat Completions schema; official openai SDKs work unchanged
EndpointsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.unrestrictedgpt.top/v1
AuthenticationAuthorization: Bearer YOUR_KEY
Model IDuncensored
Max context100,000 tokens, input and output combined
SSE streamingYes — server-sent events; the last chunk carries token usage
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Tools / tool callsYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
JSON modeJSON object mode via response_format json_object
Sampling parameterstemperature, top_p, stop, seed and the two penalties are passed through
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Request size8 MB request body
Rate limit300/min per key
Concurrencyup to 8 in parallel per key
Credit expiryno monthly fee; paid credit does not expire
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
How you payprepaid credit, charged by real token usage; errors and refusals are free
Volume bonus+5% from $50, +10% from $100, +15% from $200
Trial credit$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Sign-insign in with Google or with e-mail + password
Keysone key per account, regenerate any time (the old one stops working)
Contentadult content allowed; sexual content involving minors is refused

Errors and what to do

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

StatusTypeReason
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_creditout of credit; add credit and retry
403content_blockedrefused by the content policy
404not_foundunknown endpoint
413request_too_largebody over 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busymodel busy — retry in a few seconds

Questions and answers

Does the API support image or audio generation?

No, our API is text-only. It supports text input and text output, including streaming, function calling, and JSON mode. We do not offer image, audio, video, or embedding endpoints. If you need multimodal capabilities, you will need to use a different service or integrate a separate API for those specific tasks.

How do I top up my credit?

You can top up your credit by crypto (USDT on TRC20, USDC on Base). Minimum top-up is $20, and maximum is $500. We offer bonus credit for larger amounts: +5% from $50, +10% from $100, +15% from $200. Credit never expires, and you can manage your top-ups through the dashboard.

Is the trial credit valid forever?

No, the $0.50 trial credit is valid for 7 days from the time of account creation. It is a one-time offer per person and requires no credit card. Claim this credit with one click on your API key page. After 7 days, any unused trial credit expires. This allows you to test the API with real token usage before committing to a paid top-up. You can use the trial credit for any request, including streaming or function calling.

Your key is one form away

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

Get API key