EN ▾

Uncensored API, your way

https://api.gapgptapi.com/v1uncensored
Get API key

Estimating GapGPT API Costs for Your Project

Developers often ask how to predict token usage and budget for uncensored text generation. This article provides a method to calculate costs using per-million-token pricing, with a worked example to help you estimate expenses before integrating.

Digital interface showing text tokens flowing into a processor with a subtle uncensored symbol

Understanding the Pricing Model

Our API uses a straightforward prepaid credit system based on token consumption. You pay $0.15 for every million input tokens and $0.50 for every million output tokens. This model applies to the uncensored open-weight text model identified by the ID "uncensored". There are no monthly subscriptions or hidden fees, and your paid credit never expires. Errors and refusals do not consume credit, which helps you manage your budget effectively during development.

The base URL for all requests is https://api.gapgptapi.com/v1. You interact with the service through standard endpoints like POST /v1/chat/completions and POST /v1/responses. Since the service is hosted, you do not need to manage infrastructure. The context window supports 100,000 tokens for both prompt and completion combined, allowing for long conversations or document processing without splitting data.

Top-up options are limited to cryptocurrency. You can add funds using USDT on the TRC20 network or USDC on the Base network. The minimum top-up amount is $20, and the maximum is $500 per transaction. If you top up $50 or more, you receive bonus credit ranging from 5% to 15%. This bonus can significantly reduce your effective cost per token for larger projects.

When you sign up, you receive $0.50 in trial credit without needing to enter a card. This allows you to test the API thoroughly before committing to a purchase. The key is shown immediately upon signup, whether you use Google or email authentication. This immediate access helps developers start coding their integrations right away.

How to Calculate Token Usage

To estimate your costs, you need to understand how tokens are counted. Tokens are the basic units of text processed by the model. You can estimate the number of tokens by counting the characters in your prompt and the expected response length. A common approximation is that one token equals about four characters in English text, but this varies by language and content type.

Use the formula: (tokens divided by 1,000,000) times the per-million price. For input tokens, multiply the count by $0.15. For output tokens, multiply by $0.50. This formula gives you the exact cost for each request. You can apply this to your expected daily or monthly volume to create a budget.

Consider the length of your prompts. If you send a 1,000-token prompt, the input cost is minimal. However, if the model generates a 2,000-token response, the output cost is higher. By tracking both input and output lengths, you can predict your total spend. This is especially useful for applications that generate long-form content or detailed summaries.

Keep in mind that the context window is 100,000 tokens. If your prompt exceeds this limit, you may need to truncate or summarize the input. This ensures that your requests are processed successfully. Monitoring your token usage helps you stay within the context window and avoid unnecessary costs.

Worked Example for Estimation

Let us look at a practical example to see how the costs add up. Imagine you are building a chatbot that processes user queries. Each user sends a prompt of 500 tokens. The model generates a response of 300 tokens. You want to estimate the cost for 10,000 such interactions.

First, calculate the cost for one interaction. The input cost is (500 / 1,000,000) * $0.15. The output cost is (300 / 1,000,000) * $0.50. Add these two values to get the total cost per interaction. This gives you a clear figure for a single request.

Next, multiply the cost per interaction by 10,000 to get the total estimated cost. This method allows you to scale your budget based on expected usage. If you expect higher volume, you can project the costs for a month or a year. This helps in planning your cash flow and ensuring you have enough credit.

Remember that errors and refusals are free. If some requests fail or are refused due to content limits, you do not pay for those tokens. This can reduce your overall costs. By using this estimation method, you can accurately predict your expenses and avoid unexpected bills.

When Our API Is Not the Right Choice

Our API is designed for text generation and does not support other capabilities. If you need image generation, audio processing, or video creation, this service is not the right choice. The API only handles text in and text out. You cannot use it for OCR, embeddings, or fine-tuning models.

Additionally, if you require model routing to switch between different models dynamically, this service does not offer that feature. It serves a single uncensored open-weight text model. If you need to compare different models or use a specific model for a task, you may need a different provider.

Also, if you prefer to pay with credit cards, PayPal, or bank transfers, this service may not suit you. Top-ups are crypto-only, using USDT on TRC20 or USDC on Base. There are no card or PayPal options. This limitation is important to consider if you want a more traditional payment method.

Finally, if you need an SLA guarantee or certifications like SOC2 or HIPAA, this service does not provide those. It is an independent service focused on uncensored text generation. If these features are critical for your project, you should look for a provider that offers them. Our API is best for developers who need flexible, uncensored text output without these enterprise features.

Managing Your Budget and Limits

Our API has a rate limit of 300 requests per minute per key. This limit ensures fair usage and prevents abuse. If you exceed this limit, you will receive a 429 error. You can manage your budget by monitoring your token usage and adjusting your request rate. If you need higher throughput, you can use multiple keys.

You can top up your account with crypto. The minimum amount is $20, and the maximum is $500. Bonus credit is available for top-ups of $50 or more. This bonus can help you stretch your budget further. Keep track of your credit balance to avoid running out of funds during critical operations.

Errors such as 401 (invalid key) or 402 (no credit) do not consume tokens. This means you can test your integration without worrying about wasting credit. If you encounter a 402 error, simply top up your account to resume service. This feature helps you debug your application efficiently.

Since paid credit never expires, you can top up when prices are favorable or when you anticipate high usage. This flexibility allows you to manage your budget effectively. You do not need to worry about losing your credit if you do not use it immediately. This is a significant advantage for long-term projects.

Integrating and Testing the API

Integrating our API is straightforward. You can sign up with Google or email and password. Your API key is shown immediately after signup. Use this key to authenticate your requests. The base URL is https://api.gapgptapi.com/v1. You can use standard HTTP methods to interact with the service.

The API supports streaming over SSE, which allows you to receive responses in real-time. You can also use function calling, JSON mode, and various parameters like temperature, top_p, stop, seed, and penalties. These features give you control over the model's behavior and output format.

To test the API, use your trial credit of $0.50. This allows you to make requests without spending real money. You can experiment with different parameters and observe the results. This helps you understand how the model responds to different inputs and settings.

When you are ready to go live, top up your account with crypto. Remember that top-ups are only accepted in USDT on TRC20 or USDC on Base. Ensure you have enough credit before making bulk requests. This prevents interruptions in your service and ensures a smooth user experience.

Common Questions from Developers

Developers often ask how to handle content limits in our API. The hard content limit refuses requests involving sexual content with minors. However, the model does not refuse lawful adult, fictional, security-research, or controversial topics. This makes it suitable for a wide range of applications, from creative writing to data analysis.

Another common question is about the context window. Our API supports 100,000 tokens for both prompt and completion. This allows you to process long documents or maintain long conversations. If your input exceeds this limit, you may need to truncate or summarize the text to fit within the window.

Users also ask about the difference between input and output tokens. Input tokens are the text you send to the model, while output tokens are the text generated by the model. The pricing is different for each, with output tokens costing more. Understanding this distinction helps you estimate costs more accurately.

Finally, developers often inquire about the availability of other features like embeddings or image generation. Our API focuses on text generation and does not offer these features. If you need them, you may need to use a different provider or combine our API with other services. This clarity helps you choose the right tool for your specific needs.

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. This gives you the exact cost for each request.

What happens if I make an error in my request?

Errors such as 401 or 402 do not consume credit. You can test your integration without wasting tokens. If you run out of credit, you will receive a 402 error until you top up your account.

Can I use credit cards to pay?

No, top-ups are crypto-only. You can use USDT on TRC20 or USDC on Base. The minimum amount is $20, and the maximum is $500. There are no card or PayPal options.

Does the API support image generation?

No, the API only handles text in and text out. It does not support image, audio, or video generation. If you need those features, you may need a different provider.