How to Integrate an Unrestricted AI API for Uncensored Outputs
Integrating an unrestricted ai api allows developers to bypass content filters in LLM outputs by using a direct, open-weight model endpoint. This guide covers the technical setup, pricing, and constraints of deploying an uncensored llm api for raw, unfiltered text generation.

Key points
- The API uses a standard OpenAI-compatible interface, requiring only a base URL change and an API key.
- Pricing is usage-based at $0.15 per million input tokens and $0.50 per million output tokens, with no monthly fees.
- Top-ups by crypto (USDT on TRC20, USDC on Base) provide bonus credits, while trial credits are available for new accounts.
- The model supports streaming, function calling, and JSON mode, but does not offer embeddings or image generation.
Why Use an Uncensored API?
Standard LLM providers often apply content moderation layers that refuse prompts based on subjective criteria, such as creative writing tropes, political topics, or adult themes. For developers building applications where these refusals break the user experience, an uncensored llm api provides a direct path to model outputs without these artificial barriers. This service hosts a single, open-weight model tuned to answer without content refusals for lawful adult use, ensuring consistent behavior across diverse topics.
Unlike aggregators that route requests between multiple vendor models, this service uses a dedicated infrastructure. This eliminates the complexity of managing multiple API keys and varying response formats. The model is not GPT, Claude, Gemini, or any other vendor's model; it is a distinct open-weight model running on our servers. This approach reduces latency and ensures that the 'uncensored' behavior is consistent, as it depends on the base model's tuning rather than a dynamic moderation layer applied by a third-party aggregator.
However, this is not a universal solution. If you require embeddings, image generation, or multiple model choices, this text-only API may not fit your stack. It is designed specifically for developers who need raw text outputs and want to avoid the overhead of model routing or the unpredictability of web-chat UIs.
Understanding the OpenAI-Compatible Interface
The API follows the standard OpenAI chat-completions schema, making integration straightforward for developers already familiar with OpenAI SDKs. You interact with the endpoint using standard HTTP methods, primarily POST for completions and GET for model information. The base URL is https://api.unrestrictedai.cc/v1, and you can use any OpenAI-compatible client by updating the base_url and providing your API key.
The core endpoint is POST /v1/chat/completions, which accepts a message array and returns a text response. Additional endpoints include GET /v1/models for listing available models. There are no embeddings, audio, video, or fine-tuning endpoints. This simplicity reduces the learning curve and allows you to swap in the uncensored model with minimal code changes.
- Method: POST for completions, GET for model info.
- Format: JSON request body with messages array.
- Response: JSON object containing the generated text.
- Compatibility: Works with official OpenAI SDKs and third-party clients like LangChain or LlamaIndex.
This interface ensures that your existing codebase can use the uncensored capabilities without a complete rewrite. You control the parameters, such as temperature and top_p, to tune the creativity and determinism of the outputs.
Setting Up Your Unrestricted AI API Key
Getting started requires an account, which can be created via 'Continue with Google' or by registering with an email and password. No phone number is required, and the process is designed for speed. Upon signing up, you are directed to the 'Get API key' page, where your API key is displayed immediately. This key is used to authenticate all requests to the API.
Each account is limited to one active key. If you generate a new key, the previous one is invalidated. This simplifies security management, as you do not need to track multiple keys for a single account. The key grants access to the uncensored model and is charged based on real token usage.
Trial Credits: New users get $0.50 of trial credit, valid for 7 days. No credit card is needed to claim this trial, making it easy to test the API before committing to a purchase. The trial is one per person and cannot be combined with other offers.
Privacy: Your account requires only an email address. Prompts sent to the API are not used for training, ensuring that your data remains private. This is a key feature for developers who need to maintain confidentiality over their application's input data.
Making Your First Request
With your API key and base URL ready, you can make your first request. The API accepts standard message formats, including system, user, and assistant roles. Here is an example using cURL:
curl https://api.unrestrictedai.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."}]
}'This request sends a simple prompt to the model. The response will contain the generated text, along with token usage statistics. The model id to send is 'uncensored'. This identifier is used in the request body to specify the model.
You can also use the official OpenAI Python SDK. Initialize the client with your base URL and API key, then call the chat.completions.create method. The response structure matches the OpenAI format, including choices, finish_reason, and usage statistics.
Key Parameters:
- model: 'uncensored'
- messages: Array of message objects
- temperature: Controls randomness (default 1.0)
- max_tokens: Max output tokens (optional; if not set, the response can run to the end of the window)
This setup allows you to quickly integrate the uncensored model into your application. The response time is generally low, reflecting the direct infrastructure without routing overhead.
Handling Streaming and Tools
The API supports streaming via Server-Sent Events (SSE), which is essential for real-time user experiences. When streaming is enabled, the API sends partial responses as they are generated. The final chunk contains the total token usage, allowing you to track costs accurately. This is useful for chat interfaces that display text as it is generated.
Function calling (tools) is also supported. You can define tools in your request, and the model will return structured JSON output that can be parsed and executed by your application. This enables complex workflows, such as interacting with external APIs or databases.
JSON Mode: You can enforce JSON output by setting response_format to json_object. This ensures the model returns valid JSON, which is critical for programmatic consumption.
Other Parameters:
- stop: Sequences where the API will stop generating further tokens.
- seed: For reproducible outputs.
- presence_penalty: Encourages the model to talk about new topics.
- frequency_penalty: Penalizes new tokens based on their existing frequency in the text.
These features make the API suitable for a wide range of applications, from simple chatbots to complex agent-based systems.
Pricing and Crypto Payments
The pricing model is straightforward and usage-based. There are no monthly fees or subscriptions. You pay for what you use:
- Input Tokens: $0.15 per 1M tokens
- Output Tokens: $0.50 per 1M tokens
Errors and refusals are free, meaning you do not pay for tokens that are not successfully generated. Credit is prepaid and never expires, so you can top up as needed. This model is transparent and predictable, allowing you to estimate costs based on your expected token usage.
Top-Up Process: Payments are accepted by crypto (USDT on TRC20, USDC on Base). The minimum top-up amount is $20, and the maximum is $500. Bonus credits are awarded for larger top-ups:
- $50 Top-Up: +5% bonus credit
- $100 Top-Up: +10% bonus credit, +15% bonus credit for $200 or more
Refunds are not issued for credit balances, but errors like double charges can be resolved through the Support page. Paying by crypto keeps global payments simple.
Rate Limits and Quotas
To ensure fair usage and maintain performance, the API enforces the following limits per API key:
- Requests per Minute: 300
- Concurrent Requests: 8
- Max Request Body Size: 8 MB
These limits are applied to prevent abuse and ensure consistent latency. If you exceed the rate limit, you will receive a 429 Too Many Requests error. You can implement retry logic with exponential backoff to handle these cases gracefully.
The context window is 100,000 tokens, which includes both the prompt and the completion. If max_tokens is not set, the response can run to the end of the window. This allows for long-context applications, such as document analysis or extended conversations.
Hard Content Limit: While the model is uncensored, it always refuses sexual content involving minors. This is a hard limit applied by the model itself.
Understanding these limits helps you design your application to handle rate limiting and manage token usage efficiently. For most use cases, these limits are sufficient, but high-throughput applications may need to implement queuing mechanisms.
Privacy and Data Usage
Privacy is a key consideration for many developers. This service does not use your prompts for training. Your data is processed to generate the response and is not stored for long-term model improvement. This ensures that your application's input data remains private and is not used to train the base model.
Account Privacy: Your account requires only an email address. No phone number or personal identification is needed. This reduces the amount of personal data you share with the service.
Data Handling: Prompts are not used for training. This is a significant advantage for businesses that need to maintain confidentiality over their proprietary data or user inputs. The service is designed to be transparent about its data practices.
No Training Data Leak: Since the prompts are not used for training, you do not need to worry about your data appearing in future model outputs. This is a key differentiator from some free or shared models that use user data for training.
This privacy-first approach makes the API suitable for enterprise applications where data confidentiality is essential. You can integrate the uncensored model with confidence, knowing that your data is respected and not repurposed.
More guides
Questions and answers
What is the uncensored llm api model based on?
The model is an open-weight model run on our own servers, tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, Gemini, Grok, DeepSeek, Qwen, Llama, or any other vendor's model.
How do I top up my account?
You can top up by crypto (USDT on TRC20, USDC on Base). The minimum amount is $20, and the maximum is $500. Bonus credits are awarded for top-ups of $50 or more.
Does the API support streaming?
Yes, the API supports streaming via Server-Sent Events (SSE). Token usage is included in the last chunk of the stream, allowing you to track costs accurately.
What are the rate limits?
The limits are 300 requests per minute per key, 8 concurrent requests per key, and a maximum request body size of 8 MB. These limits ensure fair usage and consistent performance.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.