EN ▾
Get API key

The Unrestricted AI API: How to Use Uncensored Models

An unrestricted AI API provides access to large language models that generate content without the standard corporate filters for adult, controversial, or creative themes. This guide explains how uncensored models work, how to integrate them using standard OpenAI SDKs, and what to expect regarding context windows, billing, and privacy.

The Unrestricted AI API: How to Use Uncensored Models

Updated

Key points

  • Uncensored models prioritize content availability over safety filtering, making them ideal for creative writing, adult themes, and raw data generation.
  • Our API uses a prepaid crypto model with transparent per-token billing, ensuring you only pay for actual usage without monthly subscriptions.
  • Integration is straightforward using standard OpenAI-compatible endpoints, supporting streaming, JSON mode, and function calling.
  • Privacy is maintained as prompts are not used for training, and the service operates independently of major tech ecosystems.

What is an Unrestricted AI API?

An unrestricted AI API is an interface that exposes large language models (LLMs) configured to minimize or remove content refusals. While mainstream models often filter responses based on corporate safety policies regarding politics, sexuality, or violence, an uncensored LLM API is tuned to answer directly. This makes it particularly useful for developers who need raw, unfiltered data for creative applications, role-playing games, or nuanced content generation where standard filters might block valid outputs.

Our service provides a pure text-based API. Unlike chat interfaces that bundle image or audio features, we focus solely on high-quality text generation. The model is open-weight and hosted on our own servers, meaning it is not GPT, Claude, or any other vendor's model. It is tuned specifically to answer without content refusals for lawful adult use, ensuring that your application receives the full range of the model's capabilities without external interference.

Why Choose Uncensored LLMs?

Developers often choose uncensored models when standard filters become a hindrance rather than a help. Mainstream models are optimized for broad commercial use, which means they may refuse to generate content that is technically valid but contextually sensitive. An unrestricted AI API allows you to control the nuance of your output, when you are building a creative writing assistant, a character-driven chatbot, or a research tool that needs to process diverse viewpoints without pre-filtering.

Key advantages include:

  • Creative Freedom: Generate stories, dialogue, or art descriptions without hitting sudden content blocks.
  • Raw Data Access: Get unvarnished responses ideal for fine-tuning or training smaller models.
  • Predictable Behavior: No hidden policy changes affecting your API calls.

However, be aware that without filters, the model may occasionally produce content that is less polished or more direct than you might expect. This is a trade-off for freedom, and it is important to design your application to handle varied output styles.

NSFW Content and Context

One of the primary use cases for an NSFW API is handling adult content. Our model is tuned to allow lawful adult themes, sexual content, and controversial topics without automatic refusal. This is important for applications targeting mature audiences who expect consistent behavior from their AI companion or content generator.

There is one hard content limit that always applies: sexual content involving minors is refused. This is a standard boundary for most modern models. Outside of this, the model will generate content based on your prompt, whether it is romantic, explicit, or unusual. This makes it an excellent choice for NSFW chat applications, erotic fiction generation, or any project where content availability is prioritized over safety filtering.

When designing your application, you should still implement your own moderation layer if you need to enforce specific community guidelines, as the model itself is designed to be permissive rather than restrictive.

Billing and Token Costs

Our pricing model is transparent and straightforward. We charge $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. There are no monthly subscriptions, no hidden fees, and no minimum commitments. You only pay for what you use, and errors or refusals are free.

  • Prepaid Credit: You top up your account by crypto (USDT on TRC20, USDC on Base), and credit is deducted based on real token usage.
  • No Expiration: Your paid credit never expires, so you can use it whenever you need it.
  • Crypto: We accept crypto (USDT on TRC20, USDC on Base). Top-ups range from $20 to $500, with bonus credits for larger amounts (+5% from $50, +10% from $100, and +15% from $200).

This model is ideal for developers who want to control their costs precisely. Unlike subscription services that charge for access regardless of usage, our API scales with your actual consumption.

Integration with OpenAI SDKs

Our API is fully compatible with the official OpenAI SDKs. You can use the same code you use for GPT-4, just by changing the base URL and API key. The base URL for our service is https://api.unrestrictedchat.top/v1. The model ID to send is uncensored.

This means you can use the extensive ecosystem of OpenAI-compatible tools and libraries. If you are using Python, Node.js, or any other language with an OpenAI SDK, you can integrate our API with minimal code changes. This compatibility ensures that you are not locked into a proprietary ecosystem and can switch between providers if needed.

The API supports standard endpoints like POST /v1/chat/completions and GET /v1/models. There are no embeddings, image, or audio endpoints, keeping the service focused and efficient.

Streaming and JSON Modes

For real-time applications, our API supports streaming via Server-Sent Events (SSE). This allows you to display responses token-by-token, improving the user experience in chat interfaces. The token usage is included in the last chunk of the stream, so you can track costs accurately.

We also support JSON mode. By setting the response_format to json_object, the model will output valid JSON, which is essential for programmatic interactions and function calling. This ensures that your application can parse the response reliably without additional error handling for malformed data.

Other supported parameters include temperature, top_p, stop, seed, presence_penalty, and frequency_penalty, giving you full control over the model's behavior.

Function Calling Support

Our API supports function calling, allowing the model to generate structured outputs that can trigger actions in your application. You can define tools and specify tool_choice to guide the model's behavior. This is useful for building agents that can interact with external APIs, databases, or user interfaces.

When using function calling, ensure that your tool definitions are clear and well-structured. The model will attempt to match the output to the provided schema, but it is always good practice to validate the response in your application code. This feature, combined with JSON mode, makes our API suitable for complex, multi-step workflows.

Security and Privacy

Privacy is a key consideration for many developers. Our account system requires only an email address, and we do not use your prompts for training the model. This ensures that your data remains private and is not used to improve other models.

Security features include:

  • Rate Limits: 300 requests per minute per key, with a concurrency limit of 8 requests at the same time.
  • Request Size: Maximum 8 MB request body.
  • Single Key: One active key per account; a new key replaces the old one.

We do not offer SLA percentages, SOC2/HIPAA/ISO certifications, or on-prem deployment. This is a lightweight, independent service designed for developers who value speed and simplicity over enterprise-grade guarantees.

Questions and answers

Is the model proprietary or open-weight?

The model is open-weight and run on our own servers. It is not GPT, Claude, Gemini, or any other vendor's model. It is tuned specifically for unrestricted content generation.

Do I need a credit card to sign up?

No. You can sign up with Google or email/password. The trial credit does not require a card. Paid top-ups are done by crypto (USDT on TRC20, USDC on Base).

Does the credit expire?

Paid credit never expires. You can top up anytime and use the balance whenever you need it. The trial credit is valid for 7 days.

Can I use this with the official OpenAI SDK?

Yes. Our API is fully compatible with the official OpenAI SDKs. You just need to update the base URL to https://api.unrestrictedchat.top/v1 and set the model ID to 'uncensored'.

Your key is one form away

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

Get API key