EN ▾
Get API key

Integrate Uncensored Text API: A Tested Checklist

Power users often seek a reliable way to connect to an OpenAI-compatible endpoint for continuous text output without intermediate filtering layers. This guide provides a tested checklist for integrating our uncensored text API, covering SDK configuration, header settings, and error handling for a smooth text-in, text-out workflow.

Neon blue server rack labeled uncensored with floating data streams in a dark developer workspace

Understanding the Uncensored Text API

This site is an independent service and is not affiliated with Unfiltered AI.

The core value of this service lies in its ability to provide uncensored text generation through a simple interface. Unlike many commercial providers that enforce strict safety filters, this API serves a single open-weight model identified by the ID uncensored. This means the model does not refuse lawful adult, fictional, security-research, or controversial topics, allowing for more creative or raw outputs.

It is important to note that "uncensored" does not mean "unlimited." The model still has a hard content limit regarding sexual content involving minors, which will be refused. However, for all other types of text generation, the filter is removed. This makes it ideal for developers building chatbots, creative writing tools, or research applications where standard safety layers might interfere with the desired output.

The API follows the OpenAI chat-completions format, which means you can use existing SDKs and tools with minimal changes. You send text in and receive text out, with no additional complexity for image or audio generation. This simplicity reduces the learning curve for developers who are already familiar with the OpenAI ecosystem but want more control over the filtering process.

When integrating, remember that this is an independent service. It is not an official product of OpenAI or any other major vendor. Therefore, you should always refer to the specific documentation for this service for current prices, limits, and features, rather than assuming they match those of other providers. This ensures you have the most accurate information for your integration.

Setting Up Your Integration

To begin integrating the API, you need to obtain an API key. You can sign up using Google or an email and password. Once registered, your key is shown immediately, allowing you to start testing right away. Every new account also receives $0.50 of trial credit, so you can make your first call without needing to add payment details.

The base URL for the API is https://api.unfilteredgpt.cc/v1. You should configure your HTTP client to send POST requests to /v1/chat/completions for standard chat interactions. For streaming responses, you can use the same endpoint, and the API will return Server-Sent Events (SSE). This allows for real-time text generation, which is important for chat applications.

You can also use the /v1/responses endpoint for newer response formats if your SDK supports it. Additionally, the GET /v1/models endpoint allows you to verify the available models. Currently, the only model available is uncensored. This simplicity means you do not need to manage model routing or switch between different models for different tasks.

When setting up your SDK, ensure you are using the correct base URL and passing your API key in the Authorization header. Most OpenAI-compatible SDKs allow you to set the base URL and API key during initialization. This ensures that all requests are directed to the correct endpoint and authenticated properly.

Handling Parameters and Streaming

The API supports a range of parameters that allow you to fine-tune the output. You can set the temperature to control creativity, top_p for nucleus sampling, and stop sequences to halt generation at specific points. The seed parameter allows for reproducible results, which is useful for testing and debugging. You can also set penalties to discourage certain patterns in the output.

For streaming responses, the API returns usage information in the last chunk of the stream. This is important for tracking token usage and managing your prepaid credit. You should parse the final chunk to get the total token count for the request. This helps you monitor your spending and ensure you have enough credit for future requests.

Function calling is also supported, allowing you to define tools that the model can call. This is useful for building applications that need to interact with external systems or perform specific actions based on the text output. You can define tools in the request and the model will return structured data that you can parse and act upon.

JSON mode is available for cases where you need structured output. This ensures that the model returns valid JSON, which can be easily parsed by your application. This is particularly useful for building APIs that need to return data in a specific format. You can enable JSON mode by setting the appropriate parameter in your request.

Managing Costs and Payments

The pricing for this API is straightforward: $0.15 per 1M input tokens and $0.50 per 1M output tokens. You pay for real token usage, and errors and refusals are free. This means you only pay for the tokens that are actually generated and sent to you. There is no monthly subscription fee, and your prepaid credit never expires.

To add credit, you can use crypto only. The accepted cryptocurrencies are USDT on TRC20 or USDC on Base. You can top up with any whole amount from $20 to $500. If you top up with $50 or more, you receive a bonus credit ranging from +5% to +15%. This bonus credit can help you get more value from your purchases.

It is important to note that cards, PayPal, and bank transfers are not accepted. You must use crypto for top-ups. This is a key limitation to consider if you are not comfortable with cryptocurrency. However, the process is straightforward, and the bonus credit can make it a cost-effective option for many users.

When estimating costs, use the formula: (tokens divided by 1,000,000) times the per-million price. For example, if you use 100,000 input tokens and 50,000 output tokens, your cost would be (100,000 / 1,000,000) * $0.15 + (50,000 / 1,000,000) * $0.50. This helps you budget for your usage and avoid unexpected charges.

Error Handling and Rate Limits

Understanding error codes is important for a smooth integration. The API returns a 401 error if the API key is invalid, a 402 error if you have no credit, and a 429 error if you exceed the rate limit. You should handle these errors gracefully in your application to provide a good user experience.

The rate limit is 300 requests per minute per key. If you exceed this limit, you will receive a 429 error. You should implement backoff strategies in your application to handle rate limits effectively. This might involve waiting for a few seconds before retrying the request.

When handling errors, it is important to log them for debugging purposes. This can help you identify issues with your integration or usage patterns. You should also consider implementing alerts for critical errors, such as running out of credit, to ensure you can top up before your application stops working.

Remember that the API is designed for text generation only. If you are looking for embeddings, image generation, or other features, this API may not be the right choice. In such cases, you might need to integrate with other services or use a different provider. Always check the specific features of the API before integrating to ensure it meets your needs.

When This API Is Not the Right Choice

While this API is excellent for uncensored text generation, it may not be the right choice for everyone. If you need embeddings, image generation, audio, or video generation, this API does not support those features. You will need to integrate with other services to get those capabilities.

Similarly, if you need OCR, fine-tuning, or model routing, this API does not offer those features. It is a simple text-in, text-out API with a single model. If you require more complex workflows, you might need a more comprehensive solution.

Additionally, if you prefer to pay with credit cards or PayPal, this API might not be suitable for you. The only accepted payment methods are crypto, specifically USDT on TRC20 or USDC on Base. This is a limitation that some users might find inconvenient.

Finally, if you need a service with a specific SLA or certifications like SOC2 or HIPAA, this API does not offer those guarantees. It is an independent service with no claimed SLA percentages or certifications. If these are critical for your use case, you should consider other providers. Always evaluate your specific needs before choosing an API.

Community Insights and Best Practices

Discussions on Reddit, particularly in communities like r/startup and r/Chatbots, often revolve around the reliability of uncensored LLM APIs. Users frequently ask how to connect to these endpoints without running into filtering issues. The consensus is that using an OpenAI-compatible endpoint with a dedicated uncensored model is the most effective approach.

Many developers appreciate the simplicity of the API, as it allows them to focus on their application logic rather than managing complex filtering layers. The ability to stream responses and use function calling is also highly valued, as it enables the creation of dynamic and interactive applications.

Users also highlight the importance of monitoring token usage and managing credit effectively. Since the API is prepaid, it is important to keep track of your balance to avoid interruptions. The bonus credit for larger top-ups is often mentioned as a cost-effective way to manage expenses.

Overall, the community views this API as a reliable option for developers who need uncensored text generation. By following the integration checklist and understanding the limitations, you can build reliable applications that use the power of this service. Always stay updated with the latest documentation to ensure you are using the API effectively.

Frequently asked questions

How do I get an API key?

You can sign up using Google or an email and password. Your API key is shown immediately after registration, allowing you to start using the service right away.

What payment methods are accepted?

The API accepts crypto only, specifically USDT on TRC20 or USDC on Base. You can top up with amounts between $20 and $500.

Does the API support streaming?

Yes, the API supports streaming over Server-Sent Events (SSE). You can also get usage information in the last chunk of the stream.

What happens if I run out of credit?

If you run out of credit, you will receive a 402 error. You can top up your account using crypto to resume usage.