EN ▾
Get API key

Integrating an Uncensored AI Chatbot API: Settings and Checklist

Developers often struggle with configuring API clients to ensure text-in, text-out responses remain truly uncensored. This guide outlines the necessary SDK settings, endpoint configurations, and a tested checklist to ensure smooth integration of our text-only API into your application.

Server rack with glowing blue data streams forming a neural network pattern

Understanding the Uncensored Model Configuration

When integrating our API, the first step is identifying the correct model identifier. Unlike services that route to multiple models, we serve a single uncensored open-weight text model. You must send the model ID uncensored in your requests to ensure the model does not apply standard safety refusals for lawful adult, fictional, or controversial topics. This configuration is critical because the model does not refuse these topics by default, allowing for more flexible roleplay or research use cases.

It is important to note that our service is text-only. We do not offer image, audio, video, or embedding generation. If your application requires multimodal capabilities, you will need to handle those separately. Our API focuses strictly on text input and text output, which simplifies the integration process but requires you to manage media generation outside of this specific endpoint.

The base URL for all requests is https://api.uncensoredaichatbot.cc/v1. Ensure your client is pointing to this exact address to avoid routing errors. The API follows the OpenAI-compatible chat-completions format, which means you can use existing SDKs designed for OpenAI with minimal code changes. However, you must verify that your SDK is configured to use the uncensored model ID.

Keep in mind that while the model is uncensored, there is a hard content limit regarding sexual content involving minors. Requests containing such content will be refused. This is a specific boundary of our service, so your application should be designed to handle these refusals gracefully without assuming absolute freedom from all content filters.

Endpoint Structure and Request Methods

Our API exposes three primary endpoints for interaction. The main endpoint for generating responses is POST /v1/chat/completions. This endpoint handles standard chat interactions and supports various parameters for controlling the model's behavior. You can also use POST /v1/responses for alternative response formats, depending on your client's requirements. Additionally, GET /v1/models allows you to verify the available models and their configurations.

When making requests, ensure you include your API key in the authorization header. The key is generated immediately upon signup via Google or email and password. If the key is invalid, you will receive a 401 error. If you have insufficient credit, you will receive a 402 error. These error codes are essential for debugging your integration and ensuring that your application can handle authentication and billing issues correctly.

The API supports streaming over Server-Sent Events (SSE), which is useful for real-time applications. Usage information is provided in the last chunk of the stream, allowing you to track token consumption accurately. This feature is particularly valuable for applications that need to display responses as they are generated, improving the user experience.

Function calling and JSON mode are also supported, enabling you to integrate the API into more complex workflows. You can specify tools for the model to use, and the model will return structured data that your application can parse. This flexibility allows you to build sophisticated applications that rely on precise data extraction and tool execution.

Pricing, Credits, and Payment Methods

Our pricing model is straightforward and based on token usage. The cost is $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. Unlike subscription-based services, we do not charge monthly fees. Instead, you purchase prepaid credit using cryptocurrency. This model ensures that you only pay for what you use, and any unused credit never expires.

Payments are accepted exclusively in crypto. You can top up your account with USDT on the TRC20 network or USDC on the Base network. The minimum top-up amount is $20, and the maximum is $500. If you top up with $50 or more, you receive a bonus credit ranging from 5% to 15%. This bonus can help stretch your budget further, making it more cost-effective for larger projects.

Errors and refusals are free, which means you are not charged for tokens that are not generated or for requests that are rejected due to content limits. This can be a significant advantage when testing your application or dealing with unpredictable input patterns. However, you must ensure that your client handles these cases efficiently to avoid unnecessary API calls.

Remember that we do not accept credit cards, PayPal, or bank transfers. If your organization requires invoicing or traditional payment methods, this service may not be the best fit. You will need to set up a crypto wallet to manage your deposits and withdrawals. This requirement is standard for many decentralized AI services but may be a barrier for some users.

Rate Limits and Concurrency Management

Our API enforces a rate limit of 300 requests per minute per key. This limit is designed to ensure fair usage and prevent abuse. If you exceed this limit, you will receive a 429 error. It is important to implement exponential backoff strategies in your client to handle these errors gracefully. This approach prevents your application from overwhelming the server and ensures that you can resume requests smoothly after a brief delay.

For applications with high concurrency needs, consider distributing your requests across multiple API keys. This strategy can help you bypass the per-key rate limit and achieve higher throughput. However, keep in mind that each key has its own credit balance, so you will need to manage multiple wallets and top-ups accordingly.

Monitoring your usage is important to avoid hitting the rate limit unexpectedly. You can track your token consumption and request counts to identify patterns and optimize your integration. If you notice frequent 429 errors, you may need to adjust your request frequency or implement more efficient caching mechanisms.

It is also worth noting that the rate limit applies to the entire key, not just specific endpoints. This means that requests to /v1/chat/completions, /v1/responses, and /v1/models all count towards the same limit. Plan your architecture accordingly to ensure that all API calls are accounted for in your rate limit management.

When This API Is Not the Right Choice

While our API is powerful for text-based applications, it may not be the right choice for everyone. If your project requires image, audio, or video generation, this API will not suffice. We focus solely on text-in, text-out capabilities, so you will need to integrate other services for multimodal features.

Additionally, if you need advanced features like fine-tuning, model routing, or OCR, this API does not support them. Our service is designed for simplicity and reliability, so we do not offer these complex options. If your application requires these features, you may need to look for a more comprehensive solution.

Another consideration is the payment method. Since we only accept crypto, users who prefer traditional payment methods like credit cards or PayPal may find it inconvenient. If your team is not familiar with cryptocurrency wallets and transactions, this could add a layer of complexity to your integration.

Finally, if you require strict SLA guarantees or certifications like SOC2 or HIPAA, this service may not meet your compliance needs. We are an independent service and do not claim these certifications. If your project has strict regulatory requirements, you should verify that our service aligns with your legal and operational standards before proceeding.

Addressing Community Questions on Roleplay and Filters

Discussions on platforms like r/AIToolTesting and r/AIChatReviews often highlight concerns about filters breaking character or forgetting context in long conversations. Users frequently seek uncensored chatbots that can maintain consistency over extended roleplay sessions. Our API addresses this by providing a model that does not refuse lawful adult or fictional topics, allowing for more immersive interactions.

However, it is important to manage expectations regarding context retention. While our API supports a large context window of 100,000 tokens, the model's ability to remember details depends on how you structure your prompts. Ensuring that relevant context is included in each request can help maintain consistency and reduce the likelihood of the model forgetting key details.

Another common question is whether the API can handle NSFW content. The answer is yes, with the exception of sexual content involving minors. This makes our service suitable for a wide range of roleplay scenarios, from romantic themes to more intense narratives. Users appreciate the lack of heavy filtering, which allows for more natural and engaging conversations.

Some users also compare our service to local deployments, noting that local models can be free and uncensored. While local models offer privacy and control, they require significant hardware resources. Our hosted API provides a convenient alternative for developers who want to avoid the overhead of managing their own infrastructure. Check the documentation of other vendors for current prices and limits to make an informed decision.

Testing and Integration Checklist

Before deploying your application, ensure you have completed the following checklist. First, verify that your API key is correct and active. You can test this by making a simple request to /v1/models. If you receive a valid response, your authentication is working correctly.

Next, test the POST /v1/chat/completions endpoint with a sample prompt. Ensure that the model ID is set to uncensored and that you are using the correct base URL. Check that the response includes the expected text and that the streaming feature works as intended if you are using SSE.

Verify that your error handling is reliable. Test scenarios where you might receive 401, 402, or 429 errors. Ensure that your application can handle these errors gracefully and provide appropriate feedback to the user. This is important for maintaining a smooth user experience, especially when dealing with rate limits or insufficient credit.

Finally, monitor your token usage and credit balance. Keep an eye on your consumption to ensure that you do not run out of credit unexpectedly. If you are using a large context window, be aware that this can consume tokens quickly. Adjust your prompts and responses to optimize token usage and stay within your budget.

Frequently asked questions

How do I get started with the uncensored AI chatbot API?

Sign up using Google or email to receive an API key immediately. You can then use this key to make requests to the /v1/chat/completions endpoint with the model ID uncensored.

What payment methods are accepted for topping up credit?

We accept only crypto payments, specifically USDT on TRC20 or USDC on Base. The minimum top-up is $20, and there is no maximum limit.

Does the API support image or video generation?

No, the API is text-only. It serves a single uncensored open-weight text model for text-in, text-out interactions. You will need separate services for multimedia generation.

What happens if I exceed the rate limit?

If you exceed 300 requests per minute per key, you will receive a 429 error. Implement exponential backoff in your client to handle this gracefully and resume requests after a delay.