Budgeting Uncensored Story API Costs
Developers often struggle to predict expenses for long-form generation before committing funds. This guide teaches a token-based estimation method using our specific per-million-token rates to calculate the exact cost of a 100k-word novel.

Understanding Token-Based Pricing
When building applications with our uncensored story API, the first step in budgeting is understanding how pricing is structured. Unlike some platforms that charge per request or per minute of processing time, we charge based on token usage. This means your cost scales directly with the amount of text you send and receive. The base URL for our service is https://api.storyuncensored.com/v1, and it supports standard OpenAI-compatible endpoints like POST /v1/chat/completions.
Our pricing model is straightforward: $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. Input tokens include the prompt you send, while output tokens are the text the model generates. Since we serve one uncensored open-weight text model with the ID 'uncensored', you do not need to worry about varying prices for different model tiers. Every request uses the same pricing structure, which simplifies cost prediction significantly.
It is important to note that errors and refusals are free. If your API key is invalid, you have no credit, or you hit the rate limit, you are not charged. This feature protects your budget from wasted spend on failed requests. Additionally, prepaid credit never expires, so you can top up when convenient without losing unused funds. This flexibility is important for developers who work on projects intermittently.
However, our API is not the right choice if you need features beyond text generation. We do not support embeddings, image, audio, or video generation. There is no OCR, fine-tuning, or model routing available. If your project requires multi-modal outputs or advanced data processing, you might need a different solution. For pure text generation, our uncensored model offers a reliable and cost-effective path.
Estimating Token Counts for Long-Form Content
To budget effectively, you need to estimate the number of tokens your project will consume. Tokens are not the same as words; a token can be a word, a part of a word, or a punctuation mark. For English text, a common approximation is that one token equals roughly 0.75 words. This means you can estimate the token count by dividing the word count by 0.75. For example, a 100,000-word novel would require approximately 133,333 tokens for the input.
When generating a full novel, you will likely send the prompt in chunks to manage the context window. Our API has a context window of 100,000 tokens, which includes both the prompt and the completion. If your input exceeds this limit, the model will truncate older context. Therefore, you must plan your chunking strategy carefully. Sending smaller chunks may increase the total number of tokens due to repeated context, but it ensures you stay within the limit.
The output tokens depend on how much text the model generates per request. If you request a specific length, the output tokens will correspond to that length. For a 100,000-word novel, if you generate text in chunks of 1,000 words, each chunk might require around 1,333 output tokens. You can calculate the total output tokens by multiplying the number of chunks by the average output per chunk.
Keep in mind that the actual token count can vary based on the complexity of the text. Special characters, code snippets, or unusual formatting can increase token usage. It is advisable to test with a small sample to get a more accurate estimate. You can use the /v1/models endpoint to verify the model details, but the token estimation remains the same regardless of the model ID.
Calculating Costs for a 100k-Word Novel
Let us apply the estimation method to a real-world scenario: generating a 100,000-word novel. First, we estimate the input tokens. Using the 0.75 words per token ratio, 100,000 words equal approximately 133,333 tokens. If you send this as a single prompt, the input cost is calculated by dividing the tokens by 1,000,000 and multiplying by $0.15. This results in a very small fraction of a cent, but for larger projects, it adds up.
Next, we calculate the output tokens. If the model generates the entire 100,000 words, the output tokens are also approximately 133,333. The cost for output is calculated by dividing the tokens by 1,000,000 and multiplying by $0.50. This is the primary cost driver, as output tokens are more expensive than input tokens. The total cost is the sum of the input and output costs.
Using the formula (tokens divided by 1,000,000 times the per-million price), the input cost is 133,333 / 1,000,000 * $0.15, and the output cost is 133,333 / 1,000,000 * $0.50. This gives you a precise estimate of what you will spend. You do not need to worry about hidden fees or subscription costs, as our service is pay-as-you-go.
It is important to note that this calculation assumes no errors or refusals. If you encounter any issues, those requests are free, which can slightly reduce your total cost. However, for budgeting purposes, it is safer to assume the maximum token usage. You can always check your usage in the last chunk of the streaming response to monitor your spend in real-time.
Managing Credit and Top-Ups
Our API requires prepaid credit, which is charged by real token usage. You can top up your account with crypto only, specifically USDT on TRC20 or USDC on Base. The minimum top-up amount is $20, and the maximum is $500. There is no monthly fee or subscription required, so you only pay for what you use. This model is ideal for developers who want full control over their spending.
If you top up with $50 or more, you may receive bonus credit ranging from +5% to +15%. This bonus is automatically added to your account, giving you more value for your money. For example, if you top up with $50, you might receive additional credit, effectively lowering your cost per token. This is a great way to stretch your budget further.
New accounts receive $0.50 of trial credit, which allows you to test the API without needing a card. This trial credit is sufficient for a few requests, giving you a chance to verify the model's performance and your integration code. You can use this trial to estimate your token usage before committing to a larger top-up.
When you run out of credit, you will receive a 402 error, and your requests will fail. Since credit never expires, you can top up at any time. This flexibility ensures that you are not locked into a specific billing cycle. You can monitor your balance and usage through the API responses, ensuring you always know how much credit you have left.
Reddit Community Insights on Uncensored Models
Developers often discuss the best uncensored LLM models for various use cases on Reddit. In threads on r/LocalLLM, users frequently ask about the best models for roleplay and ERP, mentioning that they have tested many options. Some users recommend checking out communities like r/sillytavernai for more specific advice. The general consensus is that finding a truly uncensored model can be challenging, as many hosted models still retain some filters.
On r/AIToolTesting, users discuss the difference between 'spicy' models and those that are simply unfiltered. Some users look for models that tell the truth without political correctness, while others prefer models that are not advertised as character-based. The discussion often highlights that truly unfiltered models are rare, and many public models keep some level of filtering.
In r/SaaS, developers share insights on building low-cost LLM API platforms. They discuss the challenges of balancing cost and quality, and how to optimize token usage. The community emphasizes the importance of understanding pricing models to keep costs down. This aligns with our approach of transparent, token-based pricing.
Overall, the Reddit community values transparency and flexibility in API providers. Our uncensored story API addresses these needs by offering a simple pricing model and a reliable, uncensored model. Users appreciate the ability to top up with crypto and the lack of hidden fees. This feedback reinforces our commitment to providing a reliable and cost-effective solution for developers.
Integration and Error Handling
Integrating our uncensored story API is straightforward, as it follows the OpenAI-compatible format. You can use the POST /v1/chat/completions endpoint to send requests and receive responses. The API supports streaming over SSE, which allows you to receive usage information in the last chunk. This feature is useful for monitoring token usage in real-time.
You can also use the POST /v1/responses endpoint for standard responses. The API supports function calling, JSON mode, and various parameters like temperature, top_p, stop, seed, and penalties. These features allow you to customize the model's behavior to fit your specific needs. For example, you can set the temperature to control the randomness of the output.
Error handling is important for a smooth user experience. Our API returns specific error codes: 401 for an invalid key, 402 for no credit, and 429 for rate limit exceeded. You can handle these errors in your code to provide appropriate feedback to your users. For example, if you receive a 402 error, you can prompt the user to top up their credit.
The rate limit is 300 requests per minute per key. If you exceed this limit, you will receive a 429 error. You can implement exponential backoff in your code to handle this gracefully. Additionally, the API supports the GET /v1/models endpoint, which allows you to verify the model details. This ensures that you are always using the correct model for your requests.
When Our API Is Not the Right Choice
While our uncensored story API is powerful for text generation, it may not be the right choice for every project. If you need image, audio, or video generation, our API does not support these features. We only provide text in, text out functionality. For multi-modal projects, you might need a different provider that offers a broader range of capabilities.
Similarly, if you require embeddings for vector search or fine-tuning for custom model training, our API does not support these options. We serve one uncensored open-weight text model, so you cannot choose from multiple models or fine-tune the model to your specific dataset. If these features are critical to your project, you should consider other providers.
Additionally, if you need on-prem deployment or specific certifications like SOC2 or HIPAA, our hosted service may not meet your requirements. We are an independent service, and we do not offer on-prem deployment or these certifications. For enterprises with strict compliance needs, you might need a provider that offers these options.
Finally, if you prefer to pay with credit cards or PayPal, our crypto-only top-up system might not be suitable. We accept USDT on TRC20 or USDC on Base, with no support for cards or bank transfers. If you need more flexible payment options, you should explore other providers. However, for developers who value transparency and uncensored text generation, our API is an excellent choice.
Frequently asked questions
How do I calculate the cost of a 100k-word novel?
Estimate the token count by dividing the word count by 0.75. Then, use the formula (tokens divided by 1,000,000 times the per-million price) for both input and output tokens. Sum the results to get the total cost.
What payment methods are accepted for top-ups?
We accept crypto only: USDT on TRC20 or USDC on Base. The minimum top-up is $20, and the maximum is $500. Credit cards and PayPal are not supported.
What happens if I make an error or get a refusal?
Errors and refusals are free. You are not charged for requests that fail or are refused by the model. This helps protect your budget from wasted spend.
Can I use the API for image generation?
No, our API only supports text generation. We do not offer image, audio, or video generation. If you need multi-modal capabilities, you should consider a different provider.