EN ▾
Get API key

Budgeting Cursor API Costs: $0.15/$0.50 Model

Developers often ask how to predict expenses for high-volume text tasks using uncensored endpoints. This guide teaches a budgeting method using our specific per-million-token rates. You will learn to estimate total spend without complex calculations.

Developer workspace with monitor showing token counts and crypto coin on desk

Understanding the Pricing Model

Our API uses a straightforward pay-per-use model based on token consumption. You pay $0.15 for every one million input tokens and $0.50 for every one million output tokens. This structure allows you to predict costs based on the volume of text processed. Errors and refusals do not incur charges, which helps in managing unexpected costs during development.

Unlike services that charge monthly subscriptions, our prepaid credit never expires. You can top up at any time using crypto, with minimum transactions starting at $20. This flexibility is ideal for developers who have fluctuating workloads or want to avoid recurring billing cycles.

The model id to send is "uncensored", which means the model does not refuse lawful adult, fictional, security-research, or controversial topics. This uncensored nature is a key feature for developers needing raw text generation without additional filtering layers. The text in, text out approach ensures you get exactly what you ask for in the response.

Errors such as invalid keys or rate limits are handled without charging your credit. This means you can test your integration extensively without worrying about accidental charges. The 300 requests per minute limit ensures stable performance, but you can monitor your usage to stay within these bounds.

Calculating Input Token Costs

To estimate the cost of input tokens, you need to count the tokens in your prompt. The formula is simple: divide the token count by 1,000,000 and multiply by $0.15. For example, if your prompt uses 500,000 tokens, the cost is calculated by dividing 500,000 by 1,000,000, which equals 0.5. Multiplying 0.5 by $0.15 gives you the exact input cost.

This method allows you to budget for large context windows efficiently. Our API supports a context window of 100,000 tokens, which includes both the prompt and the completion. Understanding how tokens are counted helps you optimize your prompts to stay within budget. You can also use the seed parameter for reproducible results, which might help in debugging and cost estimation.

When dealing with long documents or codebases, token counts can add up quickly. By breaking down your requests into smaller chunks, you can better control the input costs. Each chunk is processed independently, and the costs are summed up. This approach is useful for developers who need to process large amounts of text without exceeding their budget.

Remember that the input cost is separate from the output cost. You pay for both input and output tokens. Therefore, a complete request involves calculating the cost for the prompt and the generated response. This dual-cost structure is common in LLM APIs but is often simpler to manage with our transparent pricing.

Estimating Output Token Expenses

Output tokens are charged at $0.50 per one million tokens. To estimate the cost, divide the number of output tokens by 1,000,000 and multiply by $0.50. For instance, if your model generates 200,000 tokens, the calculation is 200,000 divided by 1,000,000, which is 0.2. Multiplying 0.2 by $0.50 gives you the output cost.

Output costs can vary significantly depending on the complexity of the task. Longer responses or detailed explanations will use more tokens. Using parameters like temperature and top_p can influence the length and variety of the output. Lower temperature values tend to produce more consistent and often shorter responses, which can help in controlling output costs.

Function calling and JSON mode are supported features that can affect token usage. When using function calling, the model may generate additional tokens to format the function calls. JSON mode ensures the output is valid JSON, which might require specific formatting tokens. Understanding these features helps in predicting the total token usage for your requests.

Streaming over SSE allows you to receive the response in chunks. This can be useful for monitoring the progress of long-running requests. The usage information is provided in the last chunk, which helps in confirming the total token count. This feature is particularly useful for debugging and ensuring that the token counts match your expectations.

Budgeting for High-Volume Tasks

For high-volume tasks, it is essential to track your token usage closely. You can monitor your usage through the API responses and adjust your budget accordingly. Our API provides detailed usage information, which helps in identifying areas where you might be spending too much. Regular monitoring ensures that you stay within your financial limits.

Developers often ask how to save on costs when using high-volume endpoints. One strategy is to optimize your prompts to reduce input token usage. Using concise prompts and removing unnecessary context can significantly lower the input costs. Additionally, using the stop parameter can prevent the model from generating excessive output, thereby reducing output costs.

Another approach is to batch your requests. By sending multiple requests in a single batch, you can potentially reduce the overhead associated with each request. However, this depends on the specific use case and the structure of your data. Batching can also help in managing the rate limit of 300 requests per minute more effectively.

It is also important to consider the context window size. Our API supports a 100,000 token context window, which is quite large. Using this capacity efficiently can help in handling complex tasks without needing to split them into smaller, more expensive chunks. Efficient use of the context window can lead to significant cost savings over time.

When Our API Is Not the Right Choice

While our API is excellent for text generation, it may not be the right choice for all use cases. If you need embeddings, image generation, audio processing, or video generation, our API does not support these features. We focus solely on text in, text out tasks. Developers looking for multimodal capabilities should consider other services that offer these additional features.

Similarly, if you require OCR, fine-tuning, or model routing, our API is not suitable. We do not offer fine-tuning options or the ability to route requests to different models. Our service is designed for developers who need a reliable, uncensored text generation endpoint without the complexity of model management.

Another consideration is the payment method. We accept crypto only, specifically USDT on TRC20 or USDC on Base. If you prefer to pay with credit cards, PayPal, or bank transfers, our API might not fit your needs. The crypto-only payment structure is a key differentiator, but it may not appeal to all developers.

Additionally, if you need an SLA guarantee, SOC2/HIPAA/ISO certifications, or on-prem deployment, our service does not provide these. We are an independent service focused on providing a simple, uncensored text API. Developers requiring enterprise-level guarantees or specific compliance standards should look for providers that offer these features.

Addressing Reddit Discussions on Cost

Threads on r/clawdbot and r/openclaw often discuss methods to save on API costs. Developers share their experiences with building local proxies to auto-route requests and reduce expenses. These discussions highlight the importance of optimizing token usage and choosing the right model for each task. Some users mention using local proxies to save up to 90% on costs by routing simple requests to cheaper models.

Another common topic is the use of local models or wrappers to manage costs. Developers build wrappers for their local projects to compare performance and costs. These local solutions can be effective for specific use cases but may require more technical expertise to set up and maintain. The discussions often emphasize the trade-offs between cost savings and convenience.

Users also discuss the importance of monitoring usage and avoiding unnecessary spending. Some mention that building a full-fledged app for cost optimization might be overkill, and simpler solutions like configuration files can suffice. The key takeaway is that developers are actively seeking ways to minimize costs while maintaining performance.

When comparing options, it is useful to check the documentation of other vendors for current prices and limits. While our API offers competitive rates, other services may have different pricing structures. Understanding these differences helps in making an informed decision based on your specific needs and budget constraints.

Integrating and Managing Credits

Signing up for our API is straightforward. You can continue with Google or use an email and password. Once signed up, you receive a key immediately, which you can use to start making requests. The key is shown right after signup, allowing you to begin testing and integration without delay. This quick start process is beneficial for developers who want to get up and running quickly.

Top-up options are limited to crypto, with USDT on TRC20 or USDC on Base. You can top up any whole amount from $20 to $500. There is also a bonus credit feature for top-ups of $50 or more, which can range from +5% to +15%. This bonus credit provides additional value for larger top-ups, making it a cost-effective option for high-volume users.

New accounts receive $0.50 of trial credit, which requires no card. This trial credit allows you to test the API without any financial commitment. It is a great way to evaluate the service and determine if it meets your needs before making a larger investment. The trial credit is a valuable feature for developers who want to explore the API's capabilities.

Errors are handled gracefully, with 401 for invalid keys, 402 for no credit, and 429 for rate limits. These error codes help in diagnosing issues quickly. The 300 requests per minute limit ensures that your usage is within acceptable bounds. Managing your credits and understanding the error codes are essential for a smooth integration experience.

Frequently asked questions

How do I calculate the cost of a request?

Divide the input token count by 1,000,000 and multiply by $0.15. Then, divide the output token count by 1,000,000 and multiply by $0.50. Sum these two values to get the total cost.

What payment methods are accepted?

We accept only crypto payments. 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 period?

Yes, every new account receives $0.50 of trial credit. No credit card is required to start. This allows you to test the API before making a top-up.

What is the context window size?

Our API supports a context window of 100,000 tokens. This includes both the prompt and the completion. It is suitable for handling long documents and complex tasks.