EN ▾

Uncensored LLM API. Pay per token. No logs.

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

How to Integrate the Unfiltered Chatbot API

Integrating an unfiltered chatbot API allows developers to deploy text generation models that respond to adult, creative, or controversial topics without standard refusals. By using a prepaid, token-based billing model with OpenAI-compatible endpoints, you can integrate this service into existing applications with minimal code changes.

How to Integrate the Unfiltered Chatbot API

Updated

Key points

  • The API uses a single uncensored model served via a standard OpenAI-compatible endpoint, requiring only a base URL and API key change.
  • Billing is strictly prepaid via crypto (USDT on TRC20, USDC on Base), with credits that never expire and no monthly subscription fees.
  • Requests support streaming via Server-Sent Events, function calling, and JSON mode, with a 100k context window for long conversations.
  • The service is designed for developers building NSFW or unrestricted chat applications, offering high throughput limits and no data training.

Why Use an Uncensored Chatbot API?

Standard large language models often apply rigid content filters that refuse adult, fictional, or politically sensitive topics even when they are contextually appropriate. For developers building NSFW chatbots, creative writing tools, or unrestricted role-playing applications, these refusals break the user experience. An uncensored chatbot API removes these artificial boundaries, allowing the model to generate text based purely on its training and the prompt provided, rather than a separate safety layer.

This approach is particularly valuable for applications where the user expects total freedom in conversation. Unlike general-purpose APIs that might block specific keywords or themes, an uncensored service ensures that lawful adult content or controversial opinions are generated as expected. The trade-off is that you lose the guarantee of a 'safe' brand environment, but you gain full control over the tone and output of your application.

Step 1: Get Your API Key

Access to the API begins with creating an account. You can sign up using either Continue with Google or by providing an email and password. No phone number is required for registration. Once you create your account, you will be directed to the Get API key page where your unique key is displayed immediately.

Each account is limited to one active key. If you generate a new key, the previous one becomes invalid. This design simplifies key management for small to medium-sized projects. New accounts receive $0.50 in trial credit, valid for 7 days, allowing you to test the integration without entering payment details. This trial requires no credit card. Claim this credit with one click on your API key page.

Step 2: Install the SDK

Since the API is compatible with the OpenAI protocol, you can use any standard OpenAI SDK for your preferred language. For Python, install the official package using pip:

  • pip install openai

For JavaScript/Node.js, use npm:

  • npm install openai

These libraries handle the underlying HTTP requests and JSON parsing. You do not need a specific version to use the core features, as the API adheres to standard OpenAI v1 endpoints. However, ensure your SDK is reasonably recent to support streaming and function calling effectively.

Step 3: Configure Base URL

The most critical configuration step is changing the base URL from the default OpenAI endpoint to the unfiltered service. This directs your requests to the correct server.

  • Base URL: https://api.unfilteredgpt.top/v1
  • Model ID: uncensored

In Python, this is set using the base_url parameter. In Node.js, use the baseURL option. This configuration works with the official OpenAI SDKs and any other client that supports custom base URLs. You do not need to modify the request structure itself; the API uses the standard /v1/chat/completions endpoint.

Step 4: Send Your First Request

With the base URL and API key configured, you can send a standard chat completion request. The model ID must be set to uncensored. The API accepts text input and returns text output, supporting a context window of 100,000 tokens for the combined prompt and completion.

Example parameters:

  • temperature: Controls randomness.
  • top_p: Nucleus sampling threshold.
  • max_tokens: Maximum output tokens (optional; if unset, the response can run to the end of the window).
  • response_format: Set to {"type": "json_object"} for structured output.

from openai import OpenAI

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

Step 5: Handle Streaming

Streaming is supported via Server-Sent Events (SSE). This allows you to receive tokens as they are generated, providing a better user experience for chat applications. The API includes token usage information in the final chunk of the stream.

Streaming benefits:

  • Reduces perceived latency for users.
  • Allows for real-time text display.
  • Enables early termination of long generations.

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)

Step 6: Manage Credits

The API uses a prepaid credit model. Credits are charged based on actual token usage, with errors and refusals being free. Paid credits never expire. You can top up your account by crypto: USDT (TRC20) or USDC (Base).

Pricing:

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

Bonuses: Top-ups of $50 or more receive a +5% bonus, top-ups of $100 or more receive a +10% bonus, and top-ups of $200 or more receive a +15% bonus. Minimum top-up is $20, maximum is $500. Credits are non-refundable, but mistakes like double charges can be resolved via the Support page.

Step 7: Troubleshooting

Common issues:

  • 404 Error: Ensure your base URL is exactly https://api.unfilteredgpt.top/v1 and not the default OpenAI URL.
  • 401 Error: Verify your API key is correct and active. Remember, generating a new key invalidates the old one.
  • 429 Error: You have exceeded the rate limit of 300 requests per minute or 8 concurrent requests per key.
  • Content Refusal: The only hard limit is sexual content involving minors, which is always blocked. Other topics should pass through.

If you encounter persistent issues, use the Support page for assistance.

Conclusion

Integrating an uncensored chatbot API provides developers with a straightforward, powerful tool for building unrestricted text applications. By using the OpenAI-compatible protocol, you can quickly adapt existing codebases to use this service. The prepaid, crypto-based billing model offers transparency and control, while the uncensored model ensures your content filters do not interfere with your application's purpose. For a NSFW chatbot, a creative writing assistant, or a research tool, this API provides the flexibility and performance needed.

Questions and answers

Is this API truly uncensored?

Yes, the model is tuned to answer without content refusals for lawful adult use. It does not apply standard safety filters to controversial, creative, or adult topics. The only hard limit that always applies is the refusal of sexual content involving minors.

Can I use my existing OpenAI SDK?

Yes, the API is OpenAI-compatible. You can use the official OpenAI SDKs for Python, Node.js, and other languages by simply changing the base URL to https://api.unfilteredgpt.top/v1 and setting the model ID to uncensored.

What payment methods are accepted?

Payments are accepted by crypto (USDT on TRC20, USDC on Base). You can top up with any whole amount from $20 to $500.

How does billing work?

Billing is prepaid and based on token usage. Input tokens cost $0.15 per 1M, and output tokens cost $0.50 per 1M. Errors and refusals are free. Paid credits never expire, and you receive a +5% bonus from $50, +10% from $100, +15% from $200.

Your key is one form away

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

Get API key