Budgeting Your Uncensored TTS API Costs
Developers often ask how to calculate the monthly expense of running an uncensored TTS API for large-scale projects. This article provides a method to estimate costs using our specific per-token pricing model, including a worked example for a typical content generation workflow.

Understanding the Pricing Model
Our API uses a straightforward per-token pricing model that charges based on actual usage. You pay $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. This structure allows you to pay only for what you use, without any hidden fees or subscription costs. Prepaid credit is charged by real token usage, ensuring that you are not billed for idle time or unused capacity.
Errors and refusals are free, which means you do not lose credit if a request fails or is rejected due to content policies. This feature is particularly useful for testing different prompts or handling edge cases where the model might refuse to generate content. The prepaid credit never expires, giving you the flexibility to use your funds whenever you need them.
Top-ups are available in crypto only, specifically USDT on TRC20 or USDC on Base. You can add any whole amount from $20 to $500 to your account. This flexibility allows you to manage your budget according to your cash flow needs. Bonus credit is also available for larger top-ups, ranging from 5% to 15% depending on the amount added.
Since there is no monthly fee, your costs are directly proportional to your usage. This makes it easy to predict and control your expenses. You can start with a small top-up and scale up as your project grows. The absence of a subscription model means you are not locked into a fixed cost, which is ideal for projects with variable usage patterns.
Calculating Token Usage
To estimate your costs, you need to understand how tokens are counted. The context window for our API is 100,000 tokens, which includes both the prompt and the completion. This means that the total number of tokens sent and received in a single request cannot exceed this limit. Understanding this limit is important for optimizing your prompts and responses.
Input tokens are those sent in the prompt, while output tokens are those generated by the model. The pricing differs for each, with input tokens costing $0.15 per million and output tokens costing $0.50 per million. Output tokens are typically more expensive because they represent the work done by the model to generate the response.
You can estimate the number of tokens in your text by using a tokenizer. Most programming languages have libraries that can convert text into tokens. For example, you can use the tiktoken library in Python to count tokens. This will help you predict the cost of your requests before sending them.
It is important to monitor your token usage to avoid unexpected charges. You can check your usage details in the API dashboard. By keeping track of your input and output tokens, you can identify patterns and optimize your prompts to reduce costs. For instance, you can shorten your prompts or use more efficient language to minimize the number of tokens used.
Worked Example: Content Generation Workflow
Let us consider a typical content generation workflow where you are generating short stories. Assume each story requires a prompt of 500 tokens and generates an output of 1,000 tokens. To calculate the cost, you use the formula: tokens divided by 1,000,000 times the per-million price.
For the input tokens, the cost is (500 / 1,000,000) * $0.15, which is a very small fraction of a cent. For the output tokens, the cost is (1,000 / 1,000,000) * $0.50, which is also a small fraction. If you generate 10,000 stories, the total cost would be the sum of the costs for all input and output tokens.
This example illustrates how even large-scale projects can be cost-effective. The key is to optimize your prompts and responses to minimize token usage. You can experiment with different prompt structures to find the most efficient way to generate content. For instance, you can use concise language or break down complex tasks into smaller steps.
By using this method, you can accurately predict your monthly expenses. This allows you to budget effectively and avoid surprises. You can also adjust your top-up amounts based on your predicted usage. This flexibility is a major advantage of our prepaid credit model.
Managing Prepaid Credit
Managing your prepaid credit is simple and flexible. 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 add any whole amount within this range. This allows you to manage your budget according to your needs.
Bonus credit is available for larger top-ups. If you add $50 or more, you receive a bonus ranging from 5% to 15%. This bonus credit is added to your account immediately, giving you more value for your money. The bonus percentage increases with the amount added, so larger top-ups offer better returns.
Your prepaid credit never expires, so you can use it whenever you need it. There is no monthly fee or subscription cost, which means you are not forced to use your credit within a specific timeframe. This is particularly useful for projects with seasonal or irregular usage patterns.
You can check your balance and usage details in the API dashboard. This allows you to monitor your spending and plan your top-ups accordingly. By keeping your credit topped up, you ensure that your projects run smoothly without interruptions due to insufficient funds.
When Our API Is Not the Right Choice
While our API is powerful for text generation, it may not be the right choice for every project. Our service is focused on text-based interactions, serving one uncensored open-weight text model. If you need image, audio, video, or OCR capabilities, our API does not support these features.
Similarly, if you require embeddings, fine-tuning, or model routing, our API does not offer these functionalities. Our endpoints are limited to POST /v1/chat/completions, POST /v1/responses, and GET /v1/models. There is no support for embeddings, image generation, audio generation, video generation, OCR, fine-tuning, or model routing.
If your project involves complex multimodal tasks, you might need a more comprehensive solution. Our API is ideal for text-heavy applications such as chatbots, content generation, and data analysis. However, if you need to process images or generate audio, you may need to integrate with other services.
Additionally, if you require strict SLA guarantees or certifications like SOC2 or HIPAA, our API does not provide these. We are an independent service, and we do not claim these certifications. If these features are critical to your project, you may need to consider other options. Always check the documentation of other vendors for current prices and limits to ensure they meet your needs.
Addressing Common Developer Questions
Developers often ask about the reliability of the uncensored TTS API and how to handle errors. Our API provides clear error codes to help you troubleshoot issues. A 401 error indicates an invalid key, a 402 error means no credit is available, and a 429 error signals a rate limit. These codes help you identify and resolve problems quickly.
Another common question is about the context window. Our API supports a context window of 100,000 tokens, which is quite large. This allows for complex conversations and long documents. However, it is important to manage your tokens efficiently to avoid hitting the limit. You can use streaming over SSE to handle large responses and manage memory usage.
Developers also inquire about the availability of different parameters. Our API supports temperature, top_p, stop, seed, and penalties. These parameters allow you to control the behavior of the model and customize the output. For example, you can use the temperature parameter to adjust the randomness of the generated text.
Finally, developers often ask about the signup process. You can sign up using Google or email and password. The API key is shown immediately after signup, allowing you to start using the API right away. This quick setup process makes it easy to integrate our API into your projects.
Optimizing Your API Usage
To optimize your API usage, you should focus on minimizing token consumption. This can be achieved by using concise prompts and efficient language. You can also use the seed parameter to generate reproducible results, which can help in debugging and testing.
Another optimization strategy is to use streaming over SSE. This allows you to receive responses in real-time, which can improve the user experience. Streaming also helps in managing memory usage, as you do not need to wait for the entire response before processing it.
You can also use function calling and JSON mode to structure your requests and responses. This can make your code more organized and easier to maintain. Function calling allows you to define tools that the model can use, while JSON mode ensures that the output is in a structured format.
Finally, keep an eye on your rate limits. Our API allows 300 requests per minute per key. If you exceed this limit, you will receive a 429 error. You can implement retry logic in your code to handle these errors gracefully. By optimizing your usage, you can reduce costs and improve the performance of your application.
Frequently asked questions
How do I calculate the cost of a request?
Use the formula: tokens divided by 1,000,000 times the per-million price. Input tokens cost $0.15 per million, and output tokens cost $0.50 per million.
What happens if I run out of credit?
You will receive a 402 error. You can top up your account with USDT on TRC20 or USDC on Base to add more credit.
Does my prepaid credit expire?
No, your prepaid credit never expires. You can use it whenever you need it without any monthly fees.
What are the rate limits?
The rate limit is 300 requests per minute per key. If you exceed this, you will receive a 429 error.