Budgeting Uncensored Local LLM API Costs
Developers often struggle to predict expenses for high-volume text generation without hidden fees. This article teaches a method for estimating costs using our $0.15 per 1M input and $0.50 per 1M output token rates, including a worked example for a dating simulator scenario.

Understanding the Pricing Model
Our API uses a simple prepaid model where you pay only for what you use. The cost is calculated based on token consumption, with input tokens priced at $0.15 per million and output tokens at $0.50 per million. This structure ensures that you are not charged for idle time or failed requests, as errors and refusals are free. You can top up your account with USDT on TRC20 or USDC on Base, with amounts ranging from $20 to $500. This flexibility allows you to manage your budget effectively without committing to a monthly subscription.
One of the key advantages of this model is that your prepaid credit never expires. You can top up whenever you need, and any remaining balance will carry over to your next session. This is particularly useful for developers who work on projects intermittently or have variable usage patterns. You do not need to worry about losing your credit if you do not use it for a while.
The API supports streaming over Server-Sent Events (SSE), which allows you to track usage in real-time. This feature is essential for monitoring your token consumption during long-running tasks. You can also use function calling and JSON mode to structure your requests efficiently. The parameters for temperature, top_p, stop, seed, and penalties give you fine-grained control over the model's behavior.
It is important to note that our API serves one uncensored open-weight text model with the ID 'uncensored'. It does not support embeddings, image generation, audio, video, OCR, fine-tuning, or model routing. This focused approach ensures that the service remains lightweight and cost-effective for text-based applications. You can send text in and receive text out, making it ideal for chat completions and response generation.
Estimating Costs for High-Volume Tasks
To estimate costs for high-volume tasks, you need to understand how tokens are counted. The context window is 100,000 tokens, which includes both the prompt and the completion. When you send a request, the input tokens are counted from the prompt, and the output tokens are counted from the response. You can use the formula (tokens divided by 1,000,000 times the per-million price) to calculate the cost.
For example, if you send a prompt with 50,000 tokens and receive a response with 10,000 tokens, the cost would be calculated as follows: (50,000 / 1,000,000) * $0.15 for input and (10,000 / 1,000,000) * $0.50 for output. This method allows you to predict your expenses accurately before making a request. It is important to monitor your token usage to avoid unexpected charges.
Streaming over SSE allows you to see the usage in the last chunk, which helps in tracking real-time consumption. This is particularly useful for long-running tasks where the token count might be significant. By monitoring the usage, you can adjust your requests to stay within your budget. The API also supports function calling, which can help in structuring your requests more efficiently.
Errors and refusals are free, which means you do not pay for failed requests. This is a significant advantage for developers who are testing different parameters or experimenting with the model. You can send multiple requests without worrying about the cost of failed attempts. This flexibility allows you to optimize your prompts and responses without incurring additional charges.
Worked Example: Dating Simulator Scenario
Let us consider a dating simulator scenario where the API is used to generate responses for user interactions. In this scenario, the user sends a message to the bot, and the bot generates a response based on the context. The input tokens include the user's message and the context window, while the output tokens include the bot's response.
Suppose the user sends a message with 1,000 tokens, and the bot generates a response with 500 tokens. The cost for this interaction would be calculated as follows: (1,000 / 1,000,000) * $0.15 for input and (500 / 1,000,000) * $0.50 for output. This example illustrates how to estimate costs for a single interaction. You can scale this calculation to estimate the cost for multiple interactions.
In a dating simulator, the context window might be large to maintain the conversation history. If the context window is 10,000 tokens and the user sends a message with 1,000 tokens, the input tokens would be 11,000. The output tokens might be 500, depending on the length of the response. The cost would be (11,000 / 1,000,000) * $0.15 for input and (500 / 1,000,000) * $0.50 for output.
This example demonstrates how to estimate costs for a specific use case. By understanding the token count and the pricing model, you can predict your expenses accurately. It is important to monitor your usage and adjust your requests to stay within your budget. The API's prepaid model and free errors make it easy to manage costs without unexpected charges.
When Our API Is Not the Right Choice
Our API is designed for text-based applications, serving one uncensored open-weight text model. It does not support embeddings, image generation, audio, video, OCR, fine-tuning, or model routing. If your project requires any of these features, our API might not be the right choice. For example, if you need to generate images or process audio, you would need a different service.
Additionally, our API does not offer SLA percentages, certifications like SOC2 or HIPAA, or on-prem deployment options. If your project requires high availability or specific compliance standards, you might need to consider other vendors. The API is also limited to text input and output, so if you need multimodal capabilities, this service might not meet your needs.
The API is best suited for developers who need a simple, cost-effective solution for text generation. If you require advanced features like fine-tuning or model routing, you might need to look for a more comprehensive service. Our API focuses on providing a reliable and uncensored text model without the complexity of additional features.
It is important to evaluate your project's requirements before choosing a service. If your primary need is text generation with an uncensored model, our API is a great option. However, if you need additional capabilities, you might need to consider other vendors. Always check the vendor's documentation for current prices, limits, and features to ensure the service meets your needs.
Addressing Community Questions on Reddit
Developers on Reddit often ask about the best uncensored LLM models for role-playing and erotic role-playing. They also discuss the best price-performance hardware for self-hosting local LLM servers. These questions highlight the need for flexible and cost-effective solutions for text generation. Our API addresses these needs by providing a simple and reliable text model.
In threads on r/LocalLLM, users discuss the best models for role-playing and erotic role-playing. They also talk about the best hardware for self-hosting local LLM servers. These discussions show that developers are looking for solutions that are both powerful and affordable. Our API provides a cost-effective option for text generation without the complexity of self-hosting.
Users on r/SillyTavernAI also discuss the creation of self-hosted, local LLM-powered dating simulators. They share their experiences and tips for building these applications. Our API can be used to power the text generation component of these simulators, providing a reliable and uncensored model for interactions.
By addressing these community questions, we can help developers find the right solution for their projects. Our API offers a simple and cost-effective option for text generation, which is ideal for dating simulators and other text-based applications. It is important to consider the specific needs of your project when choosing a service.
Managing Prepaid Credit and Top-Ups
Our API uses a prepaid credit model, where you top up your account with crypto. You can top up with USDT on TRC20 or USDC on Base, with amounts ranging from $20 to $500. This flexibility allows you to manage your budget effectively without committing to a monthly subscription. You can top up whenever you need, and any remaining balance will carry over to your next session.
One of the key advantages of this model is that your prepaid credit never expires. You can top up whenever you need, and any remaining balance will carry over to your next session. This is particularly useful for developers who work on projects intermittently or have variable usage patterns. You do not need to worry about losing your credit if you do not use it for a while.
The API also offers a trial credit of $0.50 for every new account, with no card needed. This allows you to test the service before committing to a top-up. You can use the trial credit to explore the API's features and determine if it meets your needs. The trial credit is a great way to get started without any financial commitment.
Errors and refusals are free, which means you do not pay for failed requests. This is a significant advantage for developers who are testing different parameters or experimenting with the model. You can send multiple requests without worrying about the cost of failed attempts. This flexibility allows you to optimize your prompts and responses without incurring additional charges.
Integrating with Your Application
Integrating our API with your application is straightforward, as it follows the OpenAI-compatible chat-completions format. You can use the standard endpoints POST /v1/chat/completions, POST /v1/responses, and GET /v1/models. The base URL for the API is https://api.uncensoredlocalllm.top/v1. This compatibility makes it easy to switch between different providers if needed.
The API supports streaming over Server-Sent Events (SSE), which allows you to track usage in real-time. This feature is essential for monitoring your token consumption during long-running tasks. You can also use function calling and JSON mode to structure your requests more efficiently. The parameters for temperature, top_p, stop, seed, and penalties give you fine-grained control over the model's behavior.
Signup is simple, with options to continue with Google or use an email and password. The API key is shown immediately after signup, allowing you to start using the service right away. The key is shown immediately, so you can begin integrating the API with your application without delay.
Errors are handled with specific status codes: 401 for invalid key, 402 for no credit, and 429 for rate limit. This makes it easy to troubleshoot issues and ensure that your application runs smoothly. The API also has a rate limit of 300 requests per minute per key, which helps prevent abuse and ensures fair usage for all users.
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?
The API accepts crypto payments only, specifically USDT on TRC20 or USDC on Base. There are no credit card or PayPal options.
Does the prepaid credit expire?
No, your prepaid credit never expires. You can top up whenever you need, and any remaining balance will carry over to your next session.
What happens if a request fails?
Errors and refusals are free. You do not pay for failed requests, which allows you to test different parameters without incurring additional charges.