EN ▾

Uncensored API, prepaid credit, crypto only.

Get your key

Cost Estimation for Uncensored LLM API Usage

Developers often struggle to predict expenses when integrating large language models into their applications. This guide provides a clear method for estimating costs using specific token pricing, helping you plan your budget without hidden fees.

Digital illustration of a token counter and data flow symbols

Understanding the Pricing Structure

When building applications with large language models, understanding the cost structure is essential for sustainable development. Our API operates on a straightforward pay-as-you-go model, eliminating the complexity of tiered subscriptions or monthly fees. This approach allows developers to scale their usage based on actual demand without committing to fixed recurring costs. The pricing is transparent, with distinct rates for input and output tokens, ensuring that you only pay for the resources you consume.

The cost for processing input tokens is set at $0.15 per million tokens. This rate applies to the text you send to the model, including the prompt and any system instructions. Input tokens are the foundation of the interaction, defining the context and instructions for the model. By understanding this rate, you can better anticipate the baseline cost of sending requests to the API.

Output tokens, which represent the text generated by the model, are priced at $0.50 per million tokens. This higher rate reflects the computational effort required to generate the response. Output tokens can vary significantly in length depending on the complexity of the task and the model's response. Keeping track of output token usage is important for accurate cost estimation, as longer responses will incur higher charges.

Errors and refusals are free, which provides a safety net for unexpected issues. If a request fails due to an invalid key or a rate limit, you are not charged for that attempt. This feature ensures that you only pay for successful completions, making the API more cost-effective for testing and iterative development. The prepaid credit system means that you fund your account in advance, and the credit never expires, allowing for flexible usage over time.

Calculating Input Token Costs

To estimate the cost of input tokens, you need to count the total number of tokens in your prompt. This includes all text sent to the API, such as the user message, system instructions, and any previous conversation history if you are maintaining context. Once you have the token count, you can calculate the cost by dividing the total tokens by one million and then multiplying by the input rate of $0.15. This formula provides a precise estimate of the input costs for your API calls.

For example, if your prompt contains 10,000 tokens, the cost would be calculated as (10,000 / 1,000,000) * $0.15. This results in a very small fraction of a cent, demonstrating the efficiency of the pricing model for typical use cases. However, as you scale up to larger volumes, these small amounts add up quickly. It is important to monitor your token usage regularly to avoid unexpected charges.

Input tokens are often underestimated because developers may not account for the full context window. Our API supports a context window of 100,000 tokens, which allows for extensive conversation history and large documents. If you are processing long documents or maintaining long conversations, your input token count will be higher. Understanding the size of your context is key to accurate cost prediction.

By using the formula (tokens divided by 1,000,000 times the per-million price), you can easily estimate input costs for any given request. This method ensures that you have a clear understanding of the expenses associated with sending data to the model. It also helps in budgeting for high-volume usage, where even small per-token costs can become significant over time.

Calculating Output Token Costs

Output tokens represent the text generated by the model in response to your prompt. The cost for output tokens is $0.50 per million tokens, which is higher than the input rate due to the computational resources required for generation. To estimate output costs, count the number of tokens in the model's response and apply the same formula: divide the token count by one million and multiply by $0.50. This gives you the exact cost for the generated text.

Output token counts can vary widely depending on the task. For simple questions, the response might be short, resulting in low costs. However, for complex tasks like writing long articles or generating code, the output can be substantial. It is important to consider the potential length of responses when budgeting for your API usage. You can also use parameters like max_tokens to control the maximum length of the output, helping to manage costs.

For instance, if a response contains 5,000 tokens, the cost would be (5,000 / 1,000,000) * $0.50. This calculation helps you understand the expense of generating content. By monitoring output token usage, you can identify patterns and optimize your prompts to reduce unnecessary generation. This is particularly useful for applications that require frequent, short interactions.

Combining input and output costs gives you a complete picture of the expense for each API call. Since errors and refusals are free, you only pay for successful completions. This makes the API cost-effective for testing and development, as you can experiment with different prompts without incurring charges for failed attempts. Understanding both input and output costs allows for precise budgeting and cost control.

When This API Is Not the Right Choice

While our API offers a powerful uncensored text generation experience, it may not be the right choice for every developer. If your application requires features beyond text generation, such as image, audio, or video generation, this API will not meet your needs. The service is focused solely on text in and text out, so if you need multimodal capabilities, you may need to look elsewhere.

Additionally, if you require embeddings, OCR, or fine-tuning capabilities, this API does not support these features. The model is an uncensored open-weight text model, and the API endpoints are limited to chat completions, responses, and model information. If your workflow depends on these additional features, you might need a more comprehensive solution that offers a wider range of tools.

Another consideration is the payment method. Our API accepts only crypto payments, specifically USDT on TRC20 or USDC on Base. If you prefer to pay with credit cards, PayPal, or bank transfers, this service may not be suitable for you. The prepaid credit system also means you need to fund your account in advance, which might not align with your cash flow preferences.

Finally, if you need a service with specific SLA guarantees or certifications like SOC2 or HIPAA, this API does not claim these attributes. It is an independent service focused on providing uncensored text generation without the overhead of enterprise-level certifications. For developers who prioritize these features, other vendors might be a better fit. Always check the vendor's documentation for current prices and limits to ensure it matches your requirements.

Addressing Common Developer Concerns

Developers often ask about finding uncensored chatbots that are powerful and reliable. Threads on r/chatbot highlight the demand for models that can handle complex topics without excessive filtering. Our API addresses this by offering an uncensored model that does not refuse lawful adult, fictional, or controversial topics. This makes it ideal for applications where creative freedom and minimal restrictions are desired.

Another common concern is the ability to remember context over long conversations. Users on r/CharacterAI_No_Filter and r/ChatbotRefugees often seek solutions that maintain memory without forgetting previous messages. Our API supports a 100,000-token context window, allowing for extensive conversation history. This capability ensures that the model can reference earlier parts of the dialogue, providing a more coherent and consistent user experience.

Developers also inquire about the ease of integration and the availability of trial credits. Our API provides a $0.50 trial credit for new accounts, allowing developers to test the service without any financial commitment. This trial credit can be used to explore the API's features, such as streaming, function calling, and various parameters, before making a larger investment.

The Reddit digest also shows interest in free or low-cost options. While our API is not free, the prepaid credit system and the absence of monthly fees make it accessible for developers with varying budgets. By offering a transparent pricing model and a generous trial, we aim to provide a reliable solution for those seeking uncensored text generation capabilities.

Managing Credits and Payments

Our API uses a prepaid credit system, where you fund your account in advance. Payments are accepted only via crypto, specifically USDT on the TRC20 network or USDC on the Base network. You can top up your account with any whole amount between $20 and $500. This range allows for flexible funding, whether you need a small amount for testing or a larger sum for high-volume usage.

Additionally, there is a bonus credit program for larger top-ups. When you add between $50 and $500 to your account, you receive a bonus credit ranging from 5% to 15%. This bonus provides extra value for your investment, allowing you to make more API calls for the same amount of crypto. It is a great way to maximize your budget and extend the life of your credits.

It is important to note that paid credit never expires. This means that you can top up your account and use the credits at your own pace, without the pressure of a subscription deadline. This flexibility is beneficial for developers who may have variable usage patterns or who want to take advantage of bonus credits over time.

Errors and refusals are free, so you do not lose credits for failed requests. This feature ensures that your credits are only used for successful completions. By monitoring your credit balance and usage, you can manage your budget effectively and avoid unexpected shortfalls. The prepaid system also provides transparency, as you can see exactly how much credit you have remaining.

Optimizing API Usage for Cost Efficiency

To optimize your API usage and control costs, it is important to monitor your token consumption closely. Use the parameters provided by the API, such as max_tokens, to limit the length of output responses. This prevents the model from generating excessively long responses that could incur higher costs. By setting appropriate limits, you can ensure that you only pay for the necessary output.

Another strategy is to optimize your prompts for efficiency. Clear and concise prompts can reduce the number of input tokens required, lowering the overall cost. Additionally, using function calling and JSON mode can help structure the output in a way that is easier to process, potentially reducing the need for additional post-processing steps. These features allow for more precise control over the model's behavior and output format.

Streaming over SSE (Server-Sent Events) can also help manage costs by providing real-time feedback on token usage. The usage information is included in the last chunk of the stream, allowing you to track costs as the response is generated. This real-time visibility helps you make informed decisions about when to stop generation or adjust parameters to stay within your budget.

Finally, take advantage of the trial credit and bonus credits to test different configurations and find the most cost-effective approach. By experimenting with different parameters and prompt structures, you can identify the best balance between quality and cost. Regularly reviewing your usage patterns and adjusting your strategy accordingly will help you maximize the value of your API usage.

Frequently asked questions

How much does the API cost per token?

The API charges $0.15 per million input tokens and $0.50 per million output tokens. You can calculate costs by dividing the token count by one million and multiplying by the respective rate.

What payment methods are accepted?

Payments are accepted only via crypto, specifically USDT on the TRC20 network or USDC on the Base network. Credit cards, PayPal, and bank transfers are not supported.

Is there a trial credit for new users?

Yes, every new account receives $0.50 of trial credit, and no credit card is required to sign up. This allows you to test the API without any initial financial commitment.

What is the context window size?

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