EN ▾
Get API key

Uncensored LLM API Cost: Budgeting with CosyVoice

Developers often ask how to calculate expenses for high-volume text generation without hidden fees. This article teaches a method to estimate costs using CosyVoice's specific per-million-token rates for input and output, helping teams forecast budgets accurately.

Illustration of a server rack with glowing data streams representing an uncensored LLM API

Understanding the Pricing Model

When integrating an uncensored LLM API, the first step is to grasp the pricing structure. Our service charges $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. This model applies to the text in and text out process, ensuring that you pay only for what you use. There are no subscription fees or monthly costs, which makes it easy to predict expenses for variable workloads.

Input tokens include the prompt you send to the model, while output tokens are the generated text. The context window supports up to 100,000 tokens for both prompt and completion together. This allows for long conversations or large documents to be processed in a single request, reducing the need for multiple API calls.

Errors and refusals are free, meaning you do not pay for failed requests or content that does not meet the hard content limit. This limit prevents sexual content involving minors, ensuring that such requests are refused without charge. This feature is particularly useful for developers building applications that require strict content filtering.

Understanding these rates helps in estimating the cost of your projects. By knowing the token counts, you can calculate the exact expense for each request. This transparency allows for better budgeting and prevents unexpected charges at the end of the month.

Calculating Costs for Input Tokens

To estimate the cost of input tokens, you need to know how many tokens your prompts contain. The rate for input tokens is $0.15 per 1 million tokens. For example, if your prompt consists of 10,000 tokens, the cost is calculated by dividing the token count by 1,000,000 and multiplying by the rate. This gives you the exact amount you will be charged for that input.

Input tokens are important because they set the context for the model. Longer prompts require more input tokens, which can increase costs. However, a larger context window allows for more detailed instructions, which can improve the quality of the output. Developers should balance the length of their prompts with the budget they have allocated.

It is important to monitor the token usage in your application. By tracking the number of input tokens, you can identify patterns and optimize your prompts to reduce costs. For instance, removing unnecessary words or using more concise language can lower the token count without sacrificing the quality of the response.

Using the formula (tokens divided by 1,000,000 times the per-million price) provides a clear picture of your expenses. This method ensures that you are always aware of the cost associated with your input tokens, allowing for more accurate financial planning.

Calculating Costs for Output Tokens

Output tokens are the text generated by the model in response to your prompt. The rate for output tokens is $0.50 per 1 million tokens. This rate is higher than the input rate, reflecting the computational resources required to generate text. Developers should be aware of this difference when budgeting for their applications.

Similar to input tokens, the cost of output tokens is calculated by dividing the token count by 1,000,000 and multiplying by the rate. For example, if the model generates 5,000 tokens, the cost is determined by this formula. This helps in predicting the expense for each response.

Longer responses will naturally incur higher costs. If your application requires detailed explanations or long-form content, the output token count will be higher. Developers can manage this by setting limits on the maximum number of tokens the model can generate, ensuring that costs remain within budget.

By tracking both input and output token usage, you can get a comprehensive view of your API expenses. This dual tracking allows for more precise cost estimation and helps in identifying areas where optimization is possible.

Managing Credits and Top-Ups

Our service operates on a prepaid credit system, where you top up your account with crypto. You can use USDT on TRC20 or USDC on Base to add funds. The minimum top-up amount is $20, and the maximum is $500. This range allows for flexibility in managing your budget, if you are testing the service or running a high-volume application.

When you top up, you may receive bonus credit if you add $50 or more. The bonus ranges from 5% to 15%, depending on the amount you add. This bonus credit can be used to offset costs, making it a cost-effective way to manage your API expenses. It is a great incentive for developers who plan to use the service extensively.

Errors and refusals do not consume credit, so you do not pay for failed requests. This feature ensures that you only pay for successful completions. It also means that you can test your integration without worrying about wasting credit on errors.

Since paid credit never expires, you can top up when prices are favorable or when you anticipate high usage. This flexibility allows you to manage your cash flow more effectively, as you are not tied to a monthly subscription cycle.

When Our API Is NOT the Right Choice

While our uncensored LLM API is powerful for text generation, it may not be the right choice for every project. If you need image, audio, video, or embedding generation, our service does not offer these capabilities. We focus solely on text in and text out, so if your application requires multimodal outputs, you will need to look elsewhere.

Additionally, if you require fine-tuning of the model, our API does not support this feature. You can only use the pre-trained uncensored model. If your use case involves customizing the model's behavior through fine-tuning, our service may not meet your needs.

Model routing is also not available. Our API serves a single uncensored model, so you cannot route requests to different models based on specific criteria. If you need the flexibility to switch between multiple models, you will need a different provider.

Finally, if you need OCR or search capabilities, our API does not provide these. We are focused on text generation, so if your application involves processing images or searching through large datasets, our service may not be the best fit. Always assess your specific requirements before choosing an API.

Addressing Community Questions

Developers often discuss the best uncensored LLM models for role-playing and D&D campaigns. In threads on r/LocalLLM, users share their experiences with various models for rp/erp. Our API is suitable for these use cases, as it does not refuse lawful adult or fictional topics. You can use it for creative writing and interactive storytelling without the typical filters found in other models.

Another common question is finding an uncensored LLM that is not "spicy" or character-based. Users on r/AIToolTesting look for unfiltered LLMs that tell the truth without political correctness. Our API fits this description, offering a neutral and unfiltered text generation experience. It is ideal for developers who want a model that focuses on content rather than persona.

For coding and technical tasks, developers on r/GPT_jailbreaks seek the best uncensored LLM. Our API can handle these tasks effectively, providing accurate and detailed responses. The uncensored nature allows for more flexible output, which can be beneficial for technical documentation and code generation.

By addressing these community questions, we highlight the versatility of our API. It caters to a wide range of use cases, from creative writing to technical tasks, making it a valuable tool for developers.

Optimizing Your Budget

To optimize your budget, start by using the free trial credit. Every new account gets $0.50 of trial credit, which you can use to test the API without spending any money. This is a great way to evaluate the service and ensure it meets your needs before committing to a top-up.

Monitor your token usage closely. By tracking the number of input and output tokens, you can identify opportunities to reduce costs. For example, you can optimize your prompts to be more concise, reducing the input token count. Similarly, you can set limits on the output length to prevent excessive token usage.

Take advantage of the bonus credit when you top up. By adding $50 or more, you can receive up to 15% bonus credit. This bonus can be used to offset future costs, effectively reducing your overall expenditure. It is a smart way to manage your budget and get more value from your top-ups.

Finally, use the streaming feature to monitor usage in real-time. The streaming over SSE allows you to see the usage in the last chunk, giving you immediate feedback on token consumption. This feature helps you stay within your budget and avoid unexpected charges.

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 payment methods are accepted?

We accept crypto only, specifically USDT on TRC20 or USDC on Base. Cards, PayPal, and bank transfers are not supported.

Do I get any free credit?

Yes, every new account receives $0.50 of trial credit, which can be used to test the API without any initial investment.

What happens if a request fails?

Errors and refusals are free, meaning you do not pay for failed requests or content that does not meet the hard content limit.