Key points
- The API uses a prepaid token model with no monthly fees, charged at $0.15 per 1M input tokens and $0.50 per 1M output tokens.
- It serves a single uncensored model via the standard /v1/chat/completions endpoint, compatible with existing OpenAI SDKs.
- Streaming is supported via Server-Sent Events, with token usage details returned in the final chunk.
- Context management requires careful handling of the 100k token window, as the model supports up to 16k output tokens per request.
Understanding Uncensored Inference
Traditional LLM services often apply strict content filters that can refuse responses to controversial, adult, or niche topics. An uncensored LLM API removes these guardrails, returning the model's raw output. This is valuable for creative writing, roleplay, security research, or applications where the client app handles its own filtering logic.
The model behind this service is an open-weight model hosted on independent servers. It is tuned to answer without content refusals for lawful adult use. The only hard limit that always applies is the refusal of sexual content involving minors. Unlike multi-model routing services, this endpoint provides a single, dedicated uncensored model, ensuring consistent behavior and predictable costs.
- No subscription locks or tiered feature access.
- Direct access to the model's full capability set.
- Transparent billing based purely on token consumption.
Token Cost Calculation
Understanding the economics of raw inference is critical for budgeting. This service uses a prepaid credit system. You pay for tokens consumed, and errors or refusals do not incur charges. The pricing is straightforward:
- Input tokens: $0.15 per 1 million tokens.
- Output tokens: $0.50 per 1 million tokens.
For example, a request with 1,000 input tokens and 500 output tokens costs approximately $0.00025 + $0.00050 = $0.00075. Credits purchased via crypto never expire, eliminating monthly overhead. This model is ideal for projects with variable usage patterns, as you only pay for what you use.
Top-ups are processed by crypto (USDT on TRC20 or USDC on Base). A +5% bonus applies to deposits of $50 or more, +10% for deposits of $100 or more, and +15% for deposits of $200 or more. There are no hidden fees for retries or failed requests.
Context Window Management
The API supports a context window of 100,000 tokens, which includes both the prompt and the completion. This is significantly larger than standard 4k or 8k windows, allowing for extensive conversation histories or large document processing.
However, there is no separate output cap (if max_tokens is not specified, the response can run to the end of the window). To manage long contexts effectively:
- Calculate the total token count of your system prompt and conversation history.
- Ensure the remaining space allows for the desired output length.
- Use the
/v1/modelsendpoint to verify current model details if needed.
If your input exceeds the context window, the API will return an error. Implement logic in your client to truncate older messages or summarize earlier turns to stay within limits.
Streaming Implementation
Streaming is essential for a good user experience, especially with large outputs. The API supports Server-Sent Events (SSE) for streaming responses. This allows you to display text to the user as it is generated, rather than waiting for the entire response.
When streaming, the final chunk contains the total token usage for the request. You can use this to update your credit balance or track costs in real-time. Set stream=true in your request body to enable this mode.
Example streaming request:
Error Handling & Refusals
While the model is uncensored, it is not infallible. Errors can occur due to rate limits, server overload, or invalid input. The API returns standard HTTP status codes to indicate the outcome:
- 200 OK: Success.
- 400 Bad Request: Invalid parameters (e.g., negative
temperature). - 429 Too Many Requests: Rate limit exceeded.
- 500 Server Error: Internal issue.
Refusals for minor sexual content are hard-coded and will return a specific error message. Other refusals are rare but possible. Implement retry logic with exponential backoff for transient errors. Note that errors are free, so you can retry without penalty.
Security & Privacy
Privacy is a key concern for many developers. This service collects only an email address for account creation. Prompts sent to the API are not used for training the model. This ensures that your data remains private and is not repurposed for other models.
The API key is generated immediately upon signup and can be revoked or replaced via the dashboard. Each account is limited to one active key at a time; generating a new key invalidates the old one. This simplifies key management and reduces the attack surface.
For high-security applications, consider using the API behind a proxy that logs usage for audit purposes. The API itself does not provide audit logs, but the transparent token billing allows for precise cost tracking.
Scaling Your Usage
For high-volume applications, understanding rate limits is important. The API enforces a limit of 300 requests per minute per key and 8 concurrent requests per key. The maximum request body size is 8 MB.
To scale effectively:
- Monitor your request rate and implement client-side queuing to avoid 429 errors.
- Use multiple API keys if you need to parallelize requests beyond the concurrent limit.
- Implement exponential backoff for retries.
Since credits never expire, you can build up a large balance to handle traffic spikes without worrying about monthly renewals. The prepaid model ensures that your service is always funded and ready to handle load.
Client Library Compatibility
The API is fully compatible with the official OpenAI SDKs for Python, Node.js, and other languages. To switch, you only need to update the base URL and API key in your configuration.
Example configuration:
Final Production Checklist
Before deploying your application, ensure you have addressed the following:
- Base URL: Set to
https://api.unrestrictedgpt.top/v1. - Model ID: Use
uncensoredin all requests. - Streaming: Implement SSE handling to capture token usage from the final chunk.
- Error Handling: Implement retries for 429 and 500 errors.
- Context Management: Ensure your prompt and history fit within the 100k token limit.
- Privacy: Confirm that your data privacy policy aligns with the service's no-training promise.
This API provides a reliable, uncensored foundation for your LLM applications. By understanding its limits and costs, you can build reliable, scalable systems that deliver raw, unfiltered intelligence.
