EN ▾

Hosted uncensored API for developers

Get API key

Uncensored LLM API Cost Calculator: A Developer’s Guide

Developers often struggle to budget for high-volume uncensored inference without encountering hidden fees or unexpected charges. This guide teaches you to estimate costs accurately using our transparent token-based pricing model. We provide a clear method for calculating expenses, ensuring you know exactly what you will pay before you send a single request.

Developer workspace with laptop showing code and floating crypto tokens

Understanding Our Pricing Model

Our API operates on a straightforward token-based pricing structure. You pay $0.15 for every one million input tokens and $0.50 for every one million output tokens. This model ensures that you only pay for the actual computation and data transfer involved in your requests. There are no monthly subscriptions, no hidden fees, and no tiered pricing structures that complicate your billing.

It is important to understand that tokens are not words. A single word can be one or more tokens depending on the language and complexity. Our API counts tokens in both the prompt you send and the response the model generates. This means that the total cost of a request is the sum of the input token cost and the output token cost.

The prepaid credit system means that you load funds into your account, and those funds are deducted as you use the API. Errors and refusals are free, which means you do not pay for failed requests or rate limit errors. This is a significant advantage for developers who are testing their applications or dealing with unpredictable traffic patterns.

Since we do not offer a free unlimited tier, every request consumes credit. However, the prepaid nature of our service means that your credit never expires. You can top up your account whenever you need more credit, and the balance will remain available for future use. This flexibility allows you to manage your budget effectively without worrying about losing unused funds.

Estimating Token Usage

To calculate your costs, you need to estimate the number of tokens in your prompts and responses. A common rule of thumb is that one token is approximately four characters of English text. However, this can vary depending on the language and the specific tokenizer used by the model. For accurate estimation, you can use the tokenizer provided by the model provider or a library that supports the same tokenizer.

When you send a request, the API counts the tokens in the message history, the system prompt, and the user message. The model then generates a response, and the tokens in the response are also counted. The total token count is the sum of the input tokens and the output tokens. You can use this total to estimate your costs using the formula: (total tokens divided by 1,000,000) multiplied by the respective per-million prices.

For example, if your prompt contains 1,000 tokens and the response contains 500 tokens, the total token count is 1,500. Using the formula, the cost would be (1,500 / 1,000,000) * $0.15 for input and (1,500 / 1,000,000) * $0.50 for output. This small example illustrates how even small requests can accumulate costs over time.

It is also important to consider the context window of our API, which is 100,000 tokens. This means that the total number of tokens in the prompt and completion together cannot exceed 100,000. If your application requires long conversations, you need to manage the context window carefully to avoid hitting the limit. This can involve truncating older messages or summarizing previous interactions to fit within the context window.

Budgeting for High-Volume Inference

For developers running high-volume inference, budgeting is critical to ensure that your application remains profitable. Our API offers a prepaid credit system, which allows you to load funds in advance and monitor your usage in real-time. This helps you avoid unexpected charges and ensures that you have enough credit to handle peak traffic.

One of the key advantages of our API is that errors and refusals are free. This means that if a request fails due to a network issue or a rate limit, you do not lose any credit. This is particularly useful for applications that experience fluctuating traffic patterns, as you do not have to worry about wasting credit on failed requests.

Another important factor to consider is the top-up process. You can top up your account with crypto, specifically USDT on TRC20 or USDC on Base. The minimum top-up amount is $20, and the maximum is $500. You can also receive bonus credit when you top up from $50 or more, which can help you stretch your budget further. This flexibility allows you to manage your funds effectively and take advantage of bonuses when available.

It is also worth noting that our API does not offer a free tier. Every request consumes credit, so you need to ensure that you have enough funds to cover your usage. However, the prepaid nature of our service means that you can control your spending by monitoring your usage and adjusting your top-up strategy accordingly. This transparency helps you build a reliable and cost-effective inference solution.

When Our API Is Not the Right Choice

While our API is designed for uncensored text generation, it may not be the right choice for every developer. If you need image, audio, or video generation, our API does not support these capabilities. We focus solely on text-in, text-out interactions, so if your application requires multimodal outputs, you may need to look for a different solution.

Similarly, if you need embeddings, OCR, or fine-tuning capabilities, our API does not offer these features. We provide a hosted, OpenAI-compatible chat-completions API, but we do not support embeddings, image generation, audio generation, video generation, OCR, or fine-tuning. If these features are critical to your application, you may need to consider other providers that offer a broader range of tools.

Another consideration is the context window. Our API has a context window of 100,000 tokens, which is quite large, but it may not be sufficient for applications that require extremely long conversations or documents. If you need to process very long texts, you may need to implement chunking or summarization strategies to fit the data within the context window.

Finally, if you are looking for a provider with an SLA, certifications like SOC2 or HIPAA, or on-prem deployment options, our API may not meet your needs. We are an independent service that focuses on providing uncensored text generation without the overhead of additional certifications or deployment options. If these features are important to you, you may need to consider a more enterprise-focused provider.

Addressing Common Developer Questions

Developers often ask about the best uncensored LLM models available and how to find them. Threads on r/LocalLLM frequently discuss models like Qwen3.6 35B A3B Uncensored and other aggressive variants. Users share their experiences with these models, noting that they can provide more direct and less filtered responses compared to mainstream providers. However, the choice of model often depends on the specific use case and the hardware available for local deployment.

Another common question is whether uncensored models are necessary for getting real conversations. Some developers argue that clear context and system prompts can achieve similar results without the need for an uncensored model. Others believe that uncensored models are essential for getting unfiltered responses, especially for creative writing or role-playing applications. The debate often centers on the balance between control and freedom in AI interactions.

Developers also inquire about the best tools for finding uncensored models. Platforms like Hugging Face and LM Studio are popular resources for discovering new models. Users often search for keywords like 'uncensored,' 'heretic,' or 'aggressive' to find models that have been modified to bypass safety filters. These tools provide a wide range of options for developers looking to experiment with different model architectures.

Finally, there is often discussion about the performance of uncensored models on different hardware. Developers with powerful GPUs, such as the RTX 4070 Super or Apple M4, can run larger models locally. However, those with less powerful hardware may need to opt for smaller models or use cloud-based solutions. The choice of hardware can significantly impact the speed and quality of the inference, so it is important to consider your resources when selecting a model.

Integrating the API into Your Application

Integrating our API into your application is straightforward, as it follows the OpenAI-compatible format. You can use any SDK or library that supports the OpenAI API, making it easy to switch between different providers if needed. Our API supports streaming over SSE, function calling, JSON mode, and various parameters like temperature, top_p, stop, seed, and penalties. This flexibility allows you to customize the behavior of the model to fit your specific needs.

To get started, you need to sign up for an account using your Google account or email and password. Once signed up, you will receive an API key immediately, which you can use to authenticate your requests. The key is shown immediately after signup, so you can start making requests right away. You can also top up your account with crypto to ensure you have enough credit for your usage.

When making requests, you need to send POST requests to the /v1/chat/completions endpoint. You can also use the /v1/responses endpoint for specific use cases. The base URL for our API is https://api.unfilteredaimodels.cc/v1. You can use the GET /v1/models endpoint to check the available models. Our API currently serves one uncensored open-weight text model, which you can access by sending the model id 'uncensored'.

It is important to handle errors appropriately in your application. Our API returns specific error codes for different scenarios. A 401 error indicates an invalid key, a 402 error indicates no credit, and a 429 error indicates a rate limit. By handling these errors correctly, you can ensure that your application runs smoothly and provides a good user experience. You can also use the streaming feature to provide real-time feedback to your users as the model generates responses.

Managing Your Account and Credits

Managing your account and credits is essential for maintaining a smooth experience with our API. When you sign up, you receive $0.50 of trial credit, which allows you to test the API without needing to add funds immediately. This trial credit is a great way to explore the API's capabilities and ensure that it meets your needs before committing to a larger top-up.

To add more credit, you can top up your account with USDT on TRC20 or USDC on Base. The minimum top-up amount is $20, and the maximum is $500. You can also receive bonus credit when you top up from $50 or more, which can help you stretch your budget further. The bonus credit ranges from +5% to +15%, depending on the amount you top up. This is a significant advantage for developers who want to maximize their credit.

It is important to note that our API does not accept cards, PayPal, or bank transfers. All payments must be made using crypto. This means that you need to have a crypto wallet and be comfortable with cryptocurrency transactions. However, the process is straightforward, and you can top up your account quickly and easily.

Once you have topped up your account, your credit is charged based on real token usage. Errors and refusals are free, so you do not lose credit for failed requests. This means that you can test your application extensively without worrying about wasting credit. Additionally, your prepaid credit never expires, so you can use it whenever you need it. This flexibility allows you to manage your budget effectively and ensure that you have enough credit to handle your usage.

Frequently asked questions

How do I calculate the cost of a request?

You calculate the cost by counting the tokens in the prompt and the response. Multiply the input tokens by $0.15 per 1M and the output tokens by $0.50 per 1M. The total cost is the sum of these two values.

What happens if my request fails?

Errors and refusals are free, so you do not lose any credit if a request fails. This includes network errors, rate limit errors, and other failures. You only pay for successful requests that consume tokens.

Can I use cards or PayPal to top up?

No, we only accept crypto payments. You can top up with USDT on TRC20 or USDC on Base. Cards, PayPal, and bank transfers are not accepted.

What is the context window size?

The context window is 100,000 tokens. This includes both the prompt and the completion. If your total token count exceeds this limit, the request will be rejected.

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