EN ▾

Budgeting Uncensored LLM API Costs

Developers often struggle to predict costs when scaling uncensored text generation. This guide provides a clear method to estimate token usage and budget for your projects. We focus on our API's specific pricing structure to help you avoid unexpected charges.

Developer workspace with glowing laptop and floating token symbols

Understanding the Pricing Structure

When building applications with large language models, understanding the cost per token is essential. Our API charges $0.15 for every one million input tokens and $0.50 for every one million output tokens. This structure allows you to pay only for the actual computation used. It is important to note that these rates apply to the uncensored model served by our service. You do not pay for model routing or fine-tuning, as this is a single, fixed model. The pricing is straightforward, with no monthly subscription fees or hidden charges for basic access.

The distinction between input and output tokens is critical for accurate budgeting. Input tokens include your prompt, system instructions, and any context provided in the conversation history. Output tokens are generated by the model in response. Since the model can produce varying lengths of text, your output costs may fluctuate based on the complexity of the response. By monitoring these two metrics, you can better predict your monthly spend. This transparency helps developers avoid surprises in their billing.

Another key feature is that errors and refusals are free. If your request fails due to a network issue or if the content is refused, you are not charged for those tokens. This is particularly useful during the development phase when you are testing different prompts. You can experiment freely without worrying about burning through your credit on failed attempts. This policy encourages thorough testing and iteration.

The prepaid credit system ensures that you only spend what you have. There is no risk of overage charges or unexpected bills. Once you top up, the credit is yours to use whenever you need it. This model is ideal for indie builders who want to control their cash flow. You can start with a small amount and scale up as your application grows. The lack of a subscription fee means you are not locked into a recurring cost.

Calculating Token Usage for RP Scenarios

Role-playing (RP) applications often require long context windows to maintain character consistency. Our API supports a context window of 100,000 tokens, which is ample for most RP scenarios. However, long conversations can accumulate input tokens quickly. Each turn in the conversation adds to the input count, which can drive up costs over time. It is important to manage the conversation history to keep input tokens manageable. Truncating old messages can help reduce the input token count.

Output tokens in RP scenarios can also vary significantly. Some responses may be short, while others might be lengthy descriptions. To budget effectively, you should estimate the average length of responses in your specific use case. For example, if a typical response is 500 tokens, you can calculate the cost per turn. Using the formula (tokens divided by 1,000,000 times the per-million price), you can determine the cost for a single interaction. This method allows you to project costs for a given number of turns.

Consider the trade-off between context length and cost. A longer context window allows for more detailed and consistent role-play, but it also increases the input token count. You might choose to limit the context to the most recent messages to save on input costs. This approach can be effective if the earlier context is less relevant to the current turn. Balancing these factors is key to optimizing your budget.

It is also worth noting that the model does not refuse lawful adult or controversial topics. This can be beneficial for RP applications that explore diverse themes. However, it does mean that the model may generate longer or more detailed responses than a censored model. This can impact your output token count. By understanding these dynamics, you can better plan your token usage. Regular monitoring of your usage patterns will help you adjust your strategy as needed.

Managing Credits and Top-ups

Our API uses a prepaid credit system, which means you must top up your account before you can make requests. The minimum top-up amount is $20, and the maximum is $500. You can top up using cryptocurrency, specifically USDT on the TRC20 network or USDC on the Base network. This method ensures fast and secure transactions. There are no options for credit cards, PayPal, or bank transfers. This crypto-only approach appeals to users who prefer decentralized payment methods.

When you top up, you receive credit that never expires. This is a significant advantage for developers who may not use the API daily. You can top up once and use the credit over an extended period. There is no pressure to use the credit within a specific timeframe. This flexibility allows you to align your spending with your development schedule. You can also take advantage of bonus credit for larger top-ups, which can provide extra value.

The process of topping up is straightforward. You send the desired amount of crypto to the provided address, and the credit is added to your account. You can check your balance at any time to see how much credit you have left. This transparency helps you manage your budget effectively. You can also set up alerts to notify you when your balance is low. This ensures that you do not run out of credit during critical development phases.

It is important to note that the key is shown immediately upon signup. This allows you to start using the API right away. You do not need to wait for verification or approval. This quick start process is ideal for developers who want to test the API quickly. You can begin making requests and monitoring your usage from day one. The immediate availability of the key simplifies the onboarding process.

When Our API Is Not the Right Choice

While our API is excellent for text generation, it may not be the right choice for all projects. If you need image, audio, or video generation, this service does not support those capabilities. The API is strictly for text input and output. You cannot use it for OCR, embeddings, or fine-tuning. If your application requires these features, you will need to find a different provider. It is important to assess your needs before committing to this API.

Another limitation is the lack of model routing. Our API serves a single uncensored open-weight model. If you need to switch between different models based on the task, this API may not be suitable. You cannot route requests to different models for different use cases. This is a fixed configuration. If you require model flexibility, you should look for a provider that offers multi-model support.

Additionally, if you need an SLA guarantee or certifications like SOC2 or HIPAA, this API does not offer those. The service is an independent provider and does not claim these standards. If your application requires strict compliance or uptime guarantees, you should verify these details with other vendors. This API is best suited for developers who prioritize cost and uncensored content over formal certifications.

Finally, if you need a free unlimited tier, this API is not the right choice. It uses a prepaid credit system with specific per-token costs. While there is a trial credit, it is not unlimited. If you are looking for a free tier with no usage limits, you should explore other options. This API is designed for developers who are willing to pay for high-quality, uncensored text generation. Understanding these limitations helps you make an informed decision.

Addressing Common Developer Questions

Developers often ask about the best uncensored models for role-playing and ERP applications. Many users are looking for models that can handle diverse themes, including adult content. Our API serves an uncensored model that does not refuse lawful adult or controversial topics. This makes it a strong candidate for RP applications. Users have discussed various models, and many find our service to be a reliable option for unrestricted use.

Another common question is about the reliability of ultra-cheap LLM API proxies. Some developers worry about the quality and security of these proxies. While some proxies may have issues, our API offers a hosted solution with transparent pricing. You do not need to worry about leaking your .env files or dealing with unstable servers. Our service provides a stable and secure environment for your applications.

Developers also ask about linking uncensored APIs to agentic workflows. Our API supports function calling and streaming, which makes it suitable for agentic applications. You can integrate it with tools like Blackbox or other agentic frameworks. The API's compatibility with standard OpenAI formats simplifies integration. You can use the same code structure you are familiar with from other providers.

Finally, users often inquire about the best models for specific tasks like DND or creative writing. Our uncensored model is well-suited for these tasks. It can generate detailed and immersive content without the restrictions of censored models. Users have reported positive experiences with the model's ability to handle complex narratives. By choosing our API, you gain access to a versatile model that can adapt to various creative needs.

Optimizing Token Efficiency

To minimize costs, it is important to optimize your token usage. One way to do this is by efficiently managing your prompts. Clear and concise prompts can reduce the number of input tokens required. Avoid redundant information in your prompts. Use system instructions to set the tone and behavior of the model, rather than repeating instructions in every turn. This can significantly reduce the input token count over time.

Another strategy is to limit the context window. While our API supports 100,000 tokens, you do not need to use the entire window for every request. Truncating old messages in long conversations can help reduce the input token count. This is particularly useful in RP applications where the context can become very long. By keeping the context relevant, you can save on input tokens.

You can also optimize output tokens by setting appropriate parameters. Using the max_tokens parameter can limit the length of the response. This prevents the model from generating excessively long responses that consume more output tokens. You can adjust this parameter based on your needs. For example, you might set a lower limit for simple queries and a higher limit for complex tasks.

Finally, monitor your usage regularly. By tracking your token consumption, you can identify patterns and optimize your strategy. Use the usage data to adjust your prompts and context management. Regular monitoring helps you stay within your budget and avoid unexpected costs. This proactive approach ensures that you get the most value from your API usage.

Integrating with Your Application

Integrating our API into your application is straightforward due to its OpenAI compatibility. You can use the same SDKs and libraries you are familiar with. The base URL for our API is https://api.webtheon.com/v1. You can send requests to the /v1/chat/completions endpoint for standard chat completions. This compatibility makes it easy to switch from other providers or to use our API alongside others.

The API supports streaming over SSE, which allows you to receive responses in real-time. This is useful for applications that require immediate feedback. You can also use function calling to enable the model to interact with external tools. This feature is essential for agentic applications that need to perform actions based on the model's output. The API also supports JSON mode, which ensures that the output is in a structured format.

You can customize the model's behavior using parameters like temperature, top_p, and stop. These parameters allow you to control the creativity and randomness of the responses. You can also set a seed for reproducible results. The API supports penalties for repetition, which can improve the quality of the output. These features give you fine-grained control over the model's behavior.

Errors are handled with standard HTTP status codes. A 401 error indicates an invalid key, a 402 error indicates no credit, and a 429 error indicates a rate limit. You can handle these errors in your application to provide a smooth user experience. The API also supports the /v1/responses endpoint for alternative response formats. This flexibility allows you to choose the best format for your application. By using these features, you can build reliable and efficient applications.

Frequently asked questions

How do I calculate the cost of a single request?

You can calculate the cost by dividing the number of tokens by 1,000,000 and multiplying by the per-million price. Input tokens cost $0.15 per million, and output tokens cost $0.50 per million. This formula helps you estimate the cost for any given request.

What happens if my request fails?

Errors and refusals are free, so you are not charged for failed requests. This allows you to test your prompts without worrying about burning through your credit. It is a great way to iterate on your prompts without additional cost.

Can I use credit cards to top up?

No, top-ups are crypto-only. You can use USDT on the TRC20 network or USDC on the Base network. The minimum top-up is $20, and the maximum is $500. This method ensures fast and secure transactions.

Does the API support image generation?

No, the API is strictly for text input and output. It does not support image, audio, or video generation. If you need multimodal capabilities, you may need to find a different provider.