EN ▾
Create key

Estimating Uncensored API Costs for Text-Only Workflows

Developers often ask how to budget for high-volume, uncensored text generation without hidden fees. This guide teaches a method to estimate costs using the per-million-token pricing model, providing a worked example for a typical text-in, text-out scenario.

Developer workspace with text stream and digital tokens

Understanding the Pricing Model

Our API uses a straightforward prepaid credit system based on token usage. You pay $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. This model ensures that you only pay for what you use, with no monthly subscription fees or hidden charges. The prepaid credit never expires, allowing you to top up when needed without pressure.

Errors and refusals are free, which means you do not pay for tokens that are not generated or for requests that fail due to invalid keys or rate limits. This feature helps in managing costs during development and testing phases. You can start with a trial credit of $0.50, which requires no card, making it easy to test the API without financial commitment.

The context window supports up to 100,000 tokens for both prompt and completion together. This large window allows for extensive text processing in a single request. However, it also means that long inputs can consume a significant portion of your credit. Understanding how tokens are counted is essential for accurate budgeting.

When estimating costs, consider the length of your inputs and the expected output length. The formula for calculating cost is simple: divide the token count by 1,000,000 and multiply by the per-million price. This method provides a clear picture of your expenses without complex calculations.

Calculating Input and Output Costs

To estimate costs, you need to know the number of tokens in your prompt and the expected number of tokens in the response. Input tokens are charged at $0.15 per million, while output tokens are charged at $0.50 per million. This difference reflects the computational cost of generating text compared to processing it.

For example, if your prompt contains 10,000 tokens, the input cost is calculated by dividing 10,000 by 1,000,000 and multiplying by $0.15. This results in a very small cost, but it adds up with high volume. Output tokens are more expensive, so estimating the length of the response is important for budgeting.

Consider a scenario where you send a prompt of 5,000 tokens and receive a response of 2,000 tokens. The input cost is (5,000 / 1,000,000) * $0.15, and the output cost is (2,000 / 1,000,000) * $0.50. Adding these together gives the total cost for that request. This method helps in predicting expenses for each API call.

By using this formula, you can plan your budget effectively. It allows you to anticipate costs for large-scale text generation projects. You can adjust your token usage to stay within your budget, ensuring that you do not run out of credit unexpectedly.

Managing Prepaid Credit and Top-Ups

Our API requires prepaid credit, which can be topped up using cryptocurrency. You can use 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 funding based on your usage needs.

Bonus credit is available for top-ups of $50 or more, ranging from +5% to +15%. This bonus provides additional value for larger investments. It is important to note that only whole amounts are accepted, and no cards, PayPal, or bank transfers are supported. This crypto-only approach ensures fast and secure transactions.

Errors and refusals do not consume credit, which helps in managing your balance. You can test your API keys and parameters without worrying about wasting credit. This feature is particularly useful for developers who are experimenting with different settings or testing error handling.

Keep track of your credit balance to avoid interruptions in service. You can monitor your usage through the API responses, which include token counts. This transparency allows you to plan your top-ups accurately and avoid running out of credit during critical projects.

When Our API Is Not the Right Choice

Our API is designed for text-in, text-out workflows with a single uncensored open-weight model. If you need embeddings, image generation, audio processing, or video generation, this service may not be the right choice. We do not offer OCR, fine-tuning, or model routing, so these features are not available.

For developers who require multi-modal capabilities or advanced model routing, you might need to look at other providers. Our API focuses on high-quality text generation with a large context window. If your project involves complex data processing beyond text, our API might not meet all your needs.

Additionally, if you need real-time streaming with specific quality of service guarantees, you should evaluate other options. Our API supports streaming over SSE, but it does not offer SLA percentages or certifications like SOC2 or HIPAA. For enterprise clients with strict compliance requirements, these factors might be important.

Check the documentation of other vendors for current prices, limits, and features. Our API is ideal for text-heavy applications, but it may not be suitable for projects requiring a broader range of AI capabilities. Understanding these limitations helps in making an informed decision about your technology stack.

Addressing Community Questions on Reddit

Threads on r/antiai and r/wallstreetbets often discuss the practicality of AI tools. Users question whether generative AI is useful long-term or just a novelty. They wonder if AI can control its own use, especially in high-stakes environments like the Pentagon. These discussions highlight concerns about control and ethical use.

Some users express frustration with the lack of control over how AI is used by governments and corporations. They worry about the ethical implications of AI in military and surveillance contexts. These concerns are valid and reflect a broader societal debate about the role of AI in daily life.

Our API addresses some of these concerns by offering an uncensored model that does not refuse lawful adult or controversial topics. This allows for more freedom in content generation. However, it also means that users must be responsible for the content they generate. The API does not enforce ethical guidelines beyond the hard limit on sexual content involving minors.

By providing a transparent pricing model and simple integration, our API lets developers to build tools that align with their values. You can use the API to create applications that address the needs of users who are skeptical of traditional AI services. This approach resonates with the community's desire for more control and transparency in AI technology.

Integrating and Testing the API

Integration is straightforward with our OpenAI-compatible API. You can use the standard endpoints for chat completions and responses. The base URL is https://api.compatibleaiopen.com/v1, and you can send requests to /v1/chat/completions or /v1/responses. This compatibility allows you to use existing client libraries and tools.

Streaming is supported over SSE, which allows for real-time text generation. You can also use function calling, JSON mode, and various parameters like temperature and top_p. These features provide flexibility in how you interact with the model. The API supports a wide range of parameters to customize the output.

Testing the API is easy with the trial credit of $0.50. You can sign up with Google or email and password, and your key is shown immediately. This allows you to start testing without any financial commitment. You can experiment with different settings and observe the results.

Monitor your usage to ensure you stay within your budget. The API provides token counts in the responses, which helps in tracking costs. You can adjust your requests based on the token usage to optimize your spending. This approach ensures that you get the most value from your prepaid credit.

Troubleshooting and Limits

Our API has a rate limit of 300 requests per minute per key. If you exceed this limit, you will receive a 429 error. This limit helps in managing server load and ensuring consistent performance. You can monitor your usage to avoid hitting the rate limit.

Errors such as 401 (invalid key) and 402 (no credit) are common issues. Ensure that your API key is correct and that you have sufficient credit. These errors are free, so you do not lose credit when they occur. This feature helps in debugging your application without financial penalty.

The hard content limit restricts sexual content involving minors. Requests that violate this limit are refused. This limit is enforced to ensure compliance with legal standards. It is important to review your inputs to avoid unexpected refusals.

By understanding these limits and errors, you can build a more reliable application. Use the API documentation for detailed information on endpoints and parameters. Regularly check your credit balance and usage patterns to maintain smooth operation. This proactive approach helps in avoiding disruptions in your workflow.

Frequently asked questions

How do I calculate the cost of a request?

Divide the token count by 1,000,000 and multiply by the per-million price. Input tokens cost $0.15 per million, and output tokens cost $0.50 per million.

What payment methods are accepted?

We accept only crypto top-ups: USDT on TRC20 or USDC on Base. The amount must be between $20 and $500.

Is there a trial credit available?

Yes, every new account gets $0.50 of trial credit. No card is needed to sign up and start testing.

What happens if I exceed the rate limit?

You will receive a 429 error. The limit is 300 requests per minute per key. Errors are free, so you do not lose credit.