EN ▾

Unfiltered AI API: The Complete Guide

The Unfiltered AI API provides a reliable, uncensored LLM endpoint for developers building NSFW, roleplay, or unrestricted content applications. It offers transparent prepaid token billing, OpenAI-compatible compatibility, and no content refusals for lawful adult use.

Unfiltered AI API: The Complete Guide

Updated

Key points

What is the Unfiltered AI API?

The Unfiltered AI API is a hosted service that provides access to a single, uncensored large language model. It is designed for developers who need an API that does not refuse lawful adult, fictional, or controversial content. Unlike platforms that filter outputs based on corporate policies, this API serves an open-weight model tuned to answer directly without unnecessary restrictions.

It functions as a standard text-in, text-out endpoint. You send a prompt, and the model generates a response. The service is not a wrapper for multiple models; it is a dedicated, uncensored LLM API running on dedicated servers. This ensures consistent behavior without the unpredictability of model routing.

  • Single Model: One open-weight model optimized for uncensored output.
  • OpenAI Compatible: Uses standard endpoints like /v1/chat/completions.
  • No Content Filtering: Allows NSFW, roleplay, and adult themes by default.

This API is ideal for applications where content neutrality is critical. It avoids the common issue where a model refuses to generate valid content due to overly broad safety filters.

Why Choose an Uncensored LLM?

Standard commercial LLMs often apply strict content moderation, blocking topics that are perfectly valid for adult use, creative writing, or security research. An uncensored LLM removes these artificial boundaries, allowing the model to engage with the full range of human expression.

For developers building NSFW chatbot APIs or roleplay applications, this freedom is essential. Users expect the AI to stay in character and respond to prompts without being lectured or filtered. The uncensored AI API ensures that the model’s behavior is driven by its training and your prompt, not by a corporate content policy.

However, "uncensored" does not mean "unlimited." There is one hard content limit that always applies: sexual content involving minors. Requests of this kind are refused. All other lawful adult content, including explicit themes, is processed normally.

This approach provides a predictable environment. You know exactly what to expect: the model will answer your prompt without unexpected refusals, making it easier to build solid applications that handle diverse user inputs.

API Compatibility with OpenAI SDKs

The Unfiltered AI API is fully compatible with the official OpenAI SDKs and any client that supports the OpenAI API format. You can use the same libraries you already know, such as openai for Python or the Node.js SDK, by simply changing the base URL and providing your API key.

The base URL is https://api.unfilteredsearch.top/v1. The model ID to send is uncensored. This simplicity means you can integrate the API into your existing projects with minimal code changes.

from openai import OpenAI

client = OpenAI(base_url="https://api.unfilteredsearch.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)

This compatibility extends to all standard parameters. You can use temperature, top_p, stop, seed, and penalty settings just as you would with GPT-4 or GPT-3.5. The API also supports JSON mode via response_format: {"type": "json_object"}, which is useful for structured data extraction.

Because it follows the standard format, you can easily switch between different providers if needed, but the uncensored nature of this specific model makes it a unique choice for unrestricted content generation.

Key Features: Streaming and Tools

Beyond basic text generation, the API supports advanced features that are critical for modern applications. Streaming via Server-Sent Events (SSE) allows you to deliver tokens to the user in real-time, improving the perceived responsiveness of your application.

  • Streaming: Receive tokens as they are generated. Token usage details are included in the last chunk.
  • Function Calling: Support for tools and tool_choice allows the model to interact with external APIs or perform calculations.
  • JSON Mode: Force the output to be valid JSON using response_format.

The context window is 100,000 tokens, allowing for long conversations or large document processing. If max_tokens is not set, the response can run to the end of the window. This flexibility supports a wide range of use cases, from short chat responses to long-form article generation.

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)

These features ensure that the API is more than a simple text generator: it is a solid engine for complex, interactive applications.

Pricing Breakdown: Cost Per Token

Pricing is transparent and based on prepaid token usage. There are no subscription fees, no monthly costs, and no hidden charges. You pay only for what you use, and errors are free.

  • Input Tokens: $0.15 per 1M tokens.
  • Output Tokens: $0.50 per 1M tokens.

This model is straightforward. You load your account with credit, and tokens are deducted as requests are processed. If a request fails or is refused, you are not charged. This protects you from unexpected bills due to API errors or content filters.

Paid credit never expires. You can add funds whenever you need them, and your balance remains available indefinitely. This is different from subscription models where unused credit might be lost or expire.

The API does not offer embeddings, image generation, or audio processing. It is focused solely on text generation, which keeps the pricing simple and predictable. For developers who only need text, this is a cost-effective solution.

How to Fund Your Account

Account funding is done by cryptocurrency. We accept USDT on the TRC20 network and USDC on the Base network. You can top up with any whole amount between $20 and $500.

There are bonuses for larger top-ups:

  • $50 Top-up: +5% bonus credit.
  • $100 Top-up: +10% bonus credit, +15% for top-ups of $200 or more.

We do not accept PayPal, or bank transfers. This by crypto (USDT on TRC20, USDC on Base) approach keeps transaction fees low and allows for global access without regional banking restrictions. Payments are processed directly, and your credit is available immediately.

For new users, we offer a trial. New users get $0.50 of trial credit, one per person, valid for 7 days. Claim this credit with one click on your API key page. No card is needed to start. This allows you to test the API’s performance and compatibility before committing to a larger top-up.

Refunds are not issued for credit purchases, as the credit never expires. However, if you experience a double charge or other error, you can contact support through the Support page to have it resolved.

Rate Limits and Constraints

To ensure fair usage and maintain service stability, the API has specific rate limits. Each API key is limited to 300 requests per minute and 8 concurrent requests. The maximum request body size is 8 MB.

Each account is allowed only one active API key. If you generate a new key, the old one is immediately deactivated. This simplifies key management and security. You do not need to track multiple keys for a single account.

These limits are generous for most applications. The 100,000-token context window allows for extensive conversations, and the 8 concurrent requests support moderate traffic. If your application requires higher throughput, you may need to implement request queuing or optimize your token usage.

curl https://api.unfilteredsearch.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."}]
  }'

Understanding these constraints helps in designing reliable applications. Monitor your usage to stay within limits and avoid interruptions during critical operations.

Troubleshooting Common Errors

When using the Unfiltered AI API, you may encounter standard HTTP errors. Understanding these helps in debugging your integration.

  • 400 Bad Request: Often caused by invalid JSON or missing required fields. Check your payload structure.
  • 401 Unauthorized: Indicates an invalid or expired API key. Ensure you are using the correct key from your account.
  • 429 Too Many Requests: You have exceeded the rate limit of 300 requests per minute or 8 concurrent requests.
  • 500 Server Error: A temporary issue on our side. Retry with exponential backoff.

Errors are free. If a request fails, no tokens are deducted. This is a key benefit of the prepaid model. You can retry failed requests without worrying about unnecessary costs.

For more detailed error codes and messages, refer to the API documentation. The error messages are designed to be clear and actionable, helping you resolve issues quickly.

Getting Started with Your First Request

Getting started is simple. First, sign up using "Continue with Google" or email and password on the "Get API key" page. Your API key is shown immediately. No phone number is required.

Next, initialize your SDK with the base URL https://api.unfilteredsearch.top/v1 and your API key. Then, send a request to /v1/chat/completions with the model ID uncensored.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.unfilteredsearch.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);

This will return a response from the uncensored model. You can then build your application around this core interaction. The API is designed to be intuitive, allowing you to focus on your application’s logic rather than complex API configurations.

With the $0.50 trial credit, you can test this process. Claim this credit with one click on your API key page. Once you are satisfied with the results, top up your account by crypto to continue using the service.

Questions and answers

What does "uncensored" mean for this API?

It means the model does not refuse lawful adult, fictional, or controversial topics. It is tuned to answer without content filters. The only hard limit is that sexual content involving minors is always refused. All other lawful adult content is processed normally.

Do I need a credit card to start?

No. You can sign up with Google or email/password. New users get $0.50 of trial credit, one per person, valid for 7 days, with no card needed. Claim this credit with one click on your API key page. For ongoing use, top-ups are done by crypto (USDT on TRC20, USDC on Base).

Is the API compatible with OpenAI SDKs?

Yes. It uses the standard OpenAI API format. You can use the official OpenAI SDKs for Python, Node.js, and other languages by setting the base URL to https://api.unfilteredsearch.top/v1 and the model ID to "uncensored".

How does pricing work?

You pay per token. Input tokens cost $0.15 per 1M, and output tokens cost $0.50 per 1M. Errors and refusals are free. There are no subscription fees, and prepaid credit never expires. Top-ups are made by crypto (USDT on TRC20, USDC on Base) with bonuses for larger amounts.

Your key is one form away

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

Get API key