EN ▾
Get API key

Budgeting for Uncensored Text API Usage

Developers often ask how to estimate costs for high-volume uncensored text generation without hidden fees. This guide teaches a method for calculating token-based budgets using per-million-token pricing models, with a worked example for a typical chat application.

Holographic display showing text tokens flowing into a neural network core for an uncensored text API

Understanding the Pricing Model

When integrating an uncensored text API, the first step is understanding how costs accumulate. Our service uses a straightforward token-based pricing model. 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 work the model performs, rather than a flat subscription fee.

It is important to note that errors and refusals are free. If a request fails due to a network issue or if the model refuses a prompt for content policy reasons, you are not charged for those tokens. This feature helps in managing budgets during the testing phase, as you can send multiple variations of a prompt without worrying about unexpected charges for invalid inputs.

The pricing structure is simple and transparent. There are no hidden fees for streaming, function calling, or JSON mode. If you are using the API for simple text generation or complex multi-step conversations, the cost is calculated based on the total number of tokens processed. This predictability allows developers to forecast expenses accurately based on expected usage patterns.

Understanding the difference between input and output tokens is important. Input tokens include the system prompt, user messages, and any conversation history sent to the model. Output tokens are the tokens generated by the model in response. Since output tokens are priced higher, optimizing your prompts to reduce unnecessary input tokens can help control costs.

Calculating Token Usage

To budget effectively, you need to estimate the number of tokens your application will consume. Tokens are the basic units of text that the model processes. A rough rule of thumb is that one token corresponds to approximately four characters of English text, but this can vary depending on the language and complexity of the text.

For a typical chat application, you should consider the length of the user's input, the system prompt, and the expected length of the model's response. If you are building a conversational agent, you must also account for the conversation history. Each new message adds to the input token count, which can quickly accumulate in long conversations.

Let's look at a simple example. Suppose you send a prompt with 1,000 tokens and receive a response of 500 tokens. The cost for this request would be calculated as follows: (1,000 / 1,000,000) * $0.15 for input and (500 / 1,000,000) * $0.50 for output. This method allows you to predict the cost of individual requests before they are executed.

By tracking token usage over time, you can identify patterns and optimize your application. For instance, if you notice that certain prompts consistently result in long responses, you might adjust the temperature or top_p parameters to generate more concise outputs. This optimization can lead to significant cost savings over time.

Managing Credit and Top-ups

Our API operates on a prepaid credit system. You can top up your account using cryptocurrency, specifically USDT on the TRC20 network or USDC on the Base network. The minimum top-up amount is $20, and the maximum is $500. This range allows for flexible budgeting, if you are a small indie developer or a larger team.

One of the benefits of our prepaid model is that paid credit never expires. You can top up when it is convenient and use the credit over an extended period. This is particularly useful for projects with fluctuating usage patterns. You do not need to worry about losing your credit if you have a slow month.

Additionally, there are bonus credits available for top-ups of $50 or more. These bonuses range from 5% to 15% of the top-up amount, providing extra value for larger purchases. This feature encourages users to maintain a healthy credit balance, ensuring that their applications do not stop due to insufficient funds.

It is important to note that we do not accept credit cards, PayPal, or bank transfers. All payments must be made using the specified cryptocurrencies. This method ensures fast and secure transactions, and it aligns with the decentralized nature of many developer communities.

Context Window and Limits

Our API supports a context window of 100,000 tokens. This means you can send a combination of prompt and completion tokens up to this limit in a single request. A large context window is beneficial for applications that require the model to remember long conversations or process large documents.

However, a larger context window does not necessarily mean lower costs. The price is still based on the number of tokens processed. If you send a very long prompt, you will pay for all those input tokens, even if the model only generates a short response. Therefore, it is important to manage the size of your inputs efficiently.

There are also rate limits to consider. Our API allows 300 requests per minute per key. This limit is designed to prevent abuse and ensure fair usage for all users. If you exceed this limit, you will receive a 429 error. It is important to implement retry logic in your application to handle these errors gracefully.

Understanding the context window and rate limits helps in designing reliable applications. You can batch requests or cache responses to stay within the rate limit while maximizing the utility of the context window. This balance is key to optimizing both performance and cost.

When Our API Is Not the Right Choice

While our uncensored text API is powerful, it may not be the right choice for every project. If you need image, audio, or video generation, our service does not offer these capabilities. We focus solely on text-based interactions, so if your application requires multimodal outputs, you might need to integrate with other specialized APIs.

Similarly, if you require embeddings for semantic search or fine-tuning models for specific domains, our API does not support these features. We provide a general-purpose text model, so if you need specialized models for niche tasks, you should look for services that offer those specific capabilities.

Another consideration is the payment method. If your organization prefers to pay with credit cards or bank transfers, our crypto-only top-up system might be a barrier. We do not offer traditional payment options, so ensure that your team is comfortable with cryptocurrency transactions before integrating our API.

Finally, if you need strict SLA guarantees or certifications like SOC2 or HIPAA, our service may not meet those requirements. We are an independent service and do not claim these certifications. For enterprise clients with strict compliance needs, it is important to verify if our offering aligns with your organizational standards.

Addressing Community Questions

Developers in communities like r/LocalLLaMA and r/MistralAI often discuss the release of new models and their performance. For example, there have been discussions about Mistral AI releasing Voxtral TTS, a text-to-speech model. While our API is text-only, these discussions highlight the interest in open-weight models and their capabilities.

Users also ask about the licensing and availability of models. The Voxtral TTS model, for instance, is available under a CC BY NC 4.0 license. This non-commercial license means that while the model is open, it may not be suitable for all commercial applications. It is important to check the specific license of any model you plan to use.

Another common topic is the performance of models in real-time applications. The Voxtral Mini 4B Realtime model is noted for its low latency, achieving delays of less than 500ms. While our API does not offer real-time audio, the focus on low latency in text generation is a key feature for chat applications.

By staying informed about community discussions, you can better understand the market of open-weight models. This knowledge helps in making informed decisions about which tools to use for your specific needs, whether it is text generation, speech synthesis, or other AI tasks.

Optimizing for Cost and Performance

To optimize your usage of our API, consider using the available parameters such as temperature, top_p, and stop sequences. These parameters allow you to control the creativity and length of the model's output. By fine-tuning these settings, you can reduce the number of output tokens, thereby lowering costs.

Streaming responses over SSE can also help in managing performance. By receiving tokens as they are generated, you can display responses to users in real-time, improving the user experience. This is particularly useful for chat applications where immediate feedback is valued.

Function calling and JSON mode are additional features that can enhance the utility of the API. If you are building applications that require structured data, using JSON mode can ensure that the model's output is easily parseable. This reduces the need for post-processing and improves the reliability of your application.

Finally, always monitor your usage and costs. By keeping track of token consumption, you can identify areas for improvement and adjust your strategies accordingly. This proactive approach ensures that you get the most value from your API usage while keeping costs under control.

Frequently asked questions

How much does it cost to use the uncensored text API?

Our API charges $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals are free, so you only pay for successful requests.

Can I use a credit card to top up my account?

No, we only accept crypto top-ups. You can pay with USDT on TRC20 or USDC on Base, with amounts ranging from $20 to $500.

What is the context window size?

The context window is 100,000 tokens, which includes both the prompt and the completion. This allows for long conversations and large document processing.

Is there a free trial available?

Yes, every new account gets $0.50 of trial credit, and no credit card is needed to sign up. The trial credit can be used to test the API.