Budgeting NSFW Image Gen: Cost Per 1M Tokens
Developers often ask how to predict API costs for high-volume NSFW workflows before committing to a provider. This article teaches a step-by-step method to estimate expenses using our $0.15 input and $0.50 output rates, helping you budget accurately for uncensored text-to-image prompt generation.

Understanding the Pricing Model
Our API charges based on token usage, with distinct rates for input and output. Input tokens are priced at $0.15 per million tokens, while output tokens cost $0.50 per million tokens. This structure means that the cost of generating a response is typically higher than the cost of sending the prompt, especially if the model produces lengthy text.
It is important to note that this pricing applies to our uncensored open-weight text model, accessible via the model id uncensored. The API is hosted and compatible with OpenAI's chat-completions format, making it easy to integrate into existing workflows. You send text, and you receive text back, with no additional fees for embeddings, image generation, or other features.
The pricing is straightforward: you pay for what you use. There are no monthly subscription fees, no hidden charges for model routing, and no costs for fine-tuning. The prepaid credit you purchase never expires, allowing you to budget over long periods without worrying about unused credits disappearing at the end of a billing cycle.
Errors and refusals are free, which is a significant benefit for developers testing their prompts. If a request fails due to an invalid key or rate limit, you are not charged. Similarly, if the model refuses a request due to content policies, such as involving minors, you do not pay for that attempt. This allows for safe experimentation without financial risk.
Calculating Token Usage
To estimate your costs, you need to understand how tokens are counted. The context window for our API is 100,000 tokens, which includes both the prompt and the completion. This means that the total number of tokens in a single request cannot exceed this limit. If your prompt is long, it will consume a significant portion of this window, leaving less room for the model's response.
You can monitor token usage by using the streaming feature over SSE. The usage information is provided in the last chunk of the stream, allowing you to track exactly how many tokens were consumed in real-time. This is particularly useful for high-volume workflows where you need to ensure you stay within your budget and context limits.
When calculating costs, use the formula: (tokens divided by 1,000,000) times the per-million price. For example, if a request uses 10,000 input tokens and 5,000 output tokens, the cost would be calculated separately for each. The input cost is based on the $0.15 rate, and the output cost is based on the $0.50 rate.
Keep in mind that the token count includes all text sent to and received from the API. This includes the system prompt, user messages, and any function calling parameters. By understanding how tokens are counted, you can better optimize your prompts to reduce costs and improve efficiency.
Optimizing for Cost Efficiency
One of the most effective ways to reduce costs is to optimize your prompts. Shorter prompts that convey the same meaning will use fewer input tokens, directly lowering your expenses. You can also use the stop parameter to limit the length of the output, preventing the model from generating unnecessary text that would increase output token costs.
Another strategy is to use the JSON mode when you only need structured data. This can reduce the amount of text the model needs to generate, as it focuses on producing valid JSON rather than natural language. Additionally, using the seed parameter can help you get consistent results, reducing the need for multiple attempts to get the desired output.
Temperature and top_p parameters also play a role in token usage. Lower temperatures can lead to more predictable and concise outputs, which may use fewer tokens. However, this can also reduce the creativity of the model, so you need to find a balance that works for your specific use case.
Finally, consider the trade-offs of using our API versus other providers. If you need features like image generation or embeddings, our API may not be the right choice. In those cases, you might need to use a different service for those specific tasks, while using our API for the text-based parts of your workflow.
When Our API Is Not the Right Choice
While our API is excellent for uncensored text generation, it is not suitable for all use cases. If you need image, audio, or video generation, our API does not support these features. It is a text-only service, so you will need to use a different provider for multimodal tasks.
Similarly, if you require embeddings for semantic search or other NLP tasks, our API does not offer this capability. The API is designed for chat-completions, so it is best suited for applications that rely on text generation and conversation.
OCR and fine-tuning are also not available on our platform. If you need to extract text from images or train custom models, you will need to look elsewhere. Our API is focused on providing a reliable, uncensored text generation service with a simple pricing model.
Additionally, if you prefer a subscription-based model with monthly fees, our prepaid credit system may not fit your budgeting preferences. Our model is pay-as-you-go, with no monthly obligations, which can be advantageous for developers with variable usage patterns. However, if you need a predictable monthly cost, you might find a subscription service more suitable.
Addressing Community Questions
Developers often discuss the best uncensored models for local deployment, with many mentioning models like Qwen3.6 35B A3B Uncensored. While our API offers a similar uncensored experience, it is hosted and does not require local hardware. This can be a significant advantage for developers who do not have the resources to run large models locally.
Another common topic is the ease of use for NSFW image generation tools like Fooocus. Our API can complement these tools by generating detailed prompts that can be used to guide the image generation process. By providing high-quality text prompts, you can improve the quality and consistency of the images generated by local tools.
Users also discuss the importance of uncensored models for getting real conversations, noting that big providers often over-moderate. Our API addresses this by providing an uncensored model that does not refuse lawful adult, fictional, security-research, or controversial topics. This makes it ideal for developers who need a model that can handle a wide range of content without unnecessary restrictions.
Finally, the community values the ability to find genuinely unrestricted models for local use. Our API offers a convenient alternative for those who want to avoid the complexity of local deployment while still enjoying an uncensored experience. By using our API, you can focus on building your application without worrying about the technical challenges of managing local models.
Payment and Top-Up Options
Our API accepts crypto payments only, specifically USDT on TRC20 or USDC on Base. You can top up your account with any whole amount from $20 to $500. This flexibility allows you to choose the amount that best fits your budget and usage needs.
If you top up with $50 or more, you receive bonus credit ranging from +5% to +15%. This bonus can help you stretch your budget further, allowing you to make more requests without additional cost. The bonus credit is applied immediately to your account, so you can start using it right away.
There are no cards, PayPal, or bank transfers accepted, so you need to have a crypto wallet to fund your account. This can be a advantage for users who prefer privacy and want to avoid traditional payment methods. However, it does require some familiarity with crypto transactions.
Every new account gets $0.50 of trial credit, no card needed. This allows you to test the API and see how it works before committing to a larger top-up. The trial credit is a great way to explore the API's features and determine if it meets your needs.
Managing Limits and Errors
Our API has a rate limit of 300 requests per minute per key. This limit is designed to prevent abuse and ensure fair usage for all developers. If you exceed this limit, you will receive a 429 error, indicating that you have hit the rate limit. You can manage this by implementing exponential backoff in your application to handle rate limits gracefully.
Errors such as 401 (invalid key) and 402 (no credit) are common issues that developers may encounter. A 401 error indicates that the API key you are using is invalid, while a 402 error means you have run out of credit. Both of these errors are free, so you are not charged for them.
It is important to monitor your credit balance regularly to avoid unexpected service interruptions. You can check your balance and usage statistics through the API dashboard. By keeping track of your usage, you can ensure that you have enough credit to support your workflows.
Finally, remember that our API never claims SLA percentages, certifications, or on-prem deployment. It is an independent service focused on providing a reliable, uncensored text generation API. By understanding these limitations, you can set realistic expectations and make informed decisions about how to use the API in your projects.
Frequently asked questions
How do I calculate the cost of a request?
Multiply the number of input tokens by $0.15 per million, and the number of output tokens by $0.50 per million. Add these two values together to get the total cost for the request.
What happens if I exceed the rate limit?
You will receive a 429 error. The request is free, so you are not charged for the attempt. You should implement backoff logic in your application to handle this gracefully.
Can I use credit cards to top up?
No, we only accept crypto payments. You can top up with USDT on TRC20 or USDC on Base, with amounts between $20 and $500.
Does the API support image generation?
No, the API is text-only. It does not support image, audio, or video generation. You can use it to generate prompts for other tools that do support image generation.