Troubleshooting Rate Limits and Crypto Top-ups
Developers often face hurdles when integrating uncensored AI APIs, particularly regarding rate limits and payment methods. This guide explains how to handle connection issues and top up your account using cryptocurrency, ensuring your workflow remains uninterrupted.

Understanding Rate Limits and 429 Errors
When you integrate our API into your application, you will encounter a specific rate limit of 300 requests per minute per key. This limit is designed to ensure stability for all users on the platform. If you exceed this threshold, the API will return a 429 status code, indicating that you have been rate-limited. It is important to monitor your usage closely to avoid interruptions in your service.
Handling 429 errors effectively requires implementing exponential backoff strategies in your code. Instead of immediately retrying the request, wait for a short period and then attempt again. This approach prevents overwhelming the server and allows your application to recover gracefully. You should also consider logging these errors to identify patterns in your usage.
For developers building high-throughput applications, it is important to distribute your requests evenly across the minute. Bursting too many requests at once can trigger the rate limit prematurely. By spacing out your calls, you can maximize the utility of your 300 requests per minute allowance. This is particularly important when processing large batches of data or running automated tests.
If you consistently hit the rate limit, consider using multiple API keys if your plan allows it. This can help you distribute the load more effectively. Remember that the limit is per key, so having multiple keys can increase your overall capacity. Always check the current terms of service to see if multi-key usage is permitted for your account type.
Crypto Top-up Process Explained
Funding your account with our API requires using cryptocurrency, specifically USDT on the TRC20 network or USDC on the Base network. These are the only accepted payment methods, so you must have a compatible wallet ready. The process is straightforward but requires attention to detail to ensure your funds are credited correctly.
To top up, navigate to the payment section of your dashboard and select your preferred cryptocurrency. You will be provided with a wallet address to which you should send your funds. The minimum top-up amount is $20, and the maximum is $500. Any amount within this range is accepted, and the credit is added to your account immediately upon confirmation of the transaction.
It is essential to use the correct network when sending your funds. Sending USDT on the TRC20 network to a Base network address, for example, can result in lost funds. Double-check the network type before initiating the transaction. Once the transaction is confirmed on the blockchain, your credit balance will update automatically.
If you top up an amount of $50 or more, you may receive bonus credit ranging from 5% to 15%. This bonus is added to your account to reward larger deposits. Keep in mind that the bonus percentage may vary, so check the current promotion details on the site. This is a great way to get more value from your top-ups.
When This API Is Not the Right Choice
While our API is excellent for text generation, it is not the right choice if you need image, audio, or video generation capabilities. The service is strictly text-in, text-out, with no support for multimodal outputs. If your project requires generating images or videos alongside text, you will need to integrate additional tools or APIs.
Additionally, if you require embeddings, OCR, or fine-tuning features, this API will not meet your needs. The service focuses on chat completions and does not offer model routing or advanced model customization. Developers looking for a comprehensive suite of AI tools may find this service too specialized for their needs.
Another consideration is the payment method. If you prefer using credit cards, PayPal, or bank transfers, this API may not be suitable for you. The service accepts only crypto top-ups, which may be a barrier for some users. Ensure you are comfortable with the crypto payment process before committing to the service.
Finally, if you need a service with a guaranteed SLA or certifications like SOC2 or HIPAA, this API may not be the best fit. The service does not claim these certifications, and uptime is not guaranteed. For enterprise clients with strict compliance requirements, you may need to evaluate other options that offer more reliable service level agreements.
Addressing Common Developer Questions
Developers often ask how to manage uncensored AI platforms without traditional credit cards. Many users are looking for free or low-cost alternatives to expensive subscriptions. Our API offers a prepaid credit model with no monthly fees, which can be more cost-effective for many developers.
Another common question is whether the model refuses lawful adult or controversial topics. The model is designed to be uncensored, meaning it does not refuse these topics. However, there is a hard limit on sexual content involving minors, which is refused to ensure compliance with basic safety standards.
Users also inquire about the context window size. Our API supports a context window of 100,000 tokens, which is quite large and suitable for many long-form text generation tasks. This allows for detailed conversations and complex prompt engineering without losing context.
Finally, developers often ask about the trial credit. Every new account receives $0.50 of trial credit, which can be used to test the API without any financial commitment. This is a great way to evaluate the service before making a top-up. Check the official documentation for the latest details on trial credits and eligibility.
Integrating with Your Application
Integrating our API into your application is straightforward, as it follows the OpenAI-compatible chat-completions format. You can use standard libraries and SDKs to interact with the API, making it easy to drop into existing projects. The base URL for the API is https://api.unhingedgrok.cc/v1, and you can access the chat completions endpoint via POST /v1/chat/completions.
When integrating, ensure you handle the API key securely. The key is shown immediately upon signup, so keep it safe and do not expose it in public repositories. You can use the key in the Authorization header of your requests. The API also supports streaming over SSE, which is useful for real-time responses.
You can also use the responses endpoint via POST /v1/responses for different response formats. The models endpoint via GET /v1/models allows you to check available models, though the service currently serves only the uncensored model. This simplicity can reduce the complexity of your integration.
Remember to handle errors appropriately in your code. The API returns 401 for invalid keys, 402 for no credit, and 429 for rate limits. Implementing error handling for these status codes will ensure your application behaves gracefully under various conditions. Always log errors for debugging purposes.
Optimizing Your Usage and Costs
To optimize your usage and costs, it is important to understand the pricing structure. The API charges $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals are free, so you only pay for successful completions. This can help you manage your budget effectively.
You can estimate your costs by calculating the number of tokens in your prompts and responses. Use the formula (tokens divided by 1,000,000 times the per-million price) to determine the cost for each request. This helps you forecast expenses and avoid unexpected charges.
Consider using parameters like temperature, top_p, and stop sequences to control the output quality. These parameters can help you get more relevant and concise responses, potentially reducing the number of tokens used. Experiment with different settings to find the best balance for your use case.
Regularly review your usage patterns to identify opportunities for optimization. If you notice high token usage, consider refining your prompts to be more efficient. This can lead to significant cost savings over time. Additionally, taking advantage of bonus credits for larger top-ups can reduce your overall cost per token.
Troubleshooting Common Issues
If you encounter issues with your API key, ensure it is correct and has not been expired or revoked. A 401 error indicates an invalid key, so double-check the key in your requests. If the key is valid, check if you have sufficient credit in your account.
A 402 error means you have no credit left. In this case, you will need to top up your account using crypto to resume usage. Remember that the trial credit is only available for new accounts, so regular top-ups are necessary for ongoing use.
If you experience slow responses or timeouts, check your network connection and the API status. While the service does not guarantee uptime, you can monitor the API for any known issues. If the problem persists, consider contacting support for assistance.
Finally, if you are unsure about any aspect of the API, refer to the official documentation for the most accurate and up-to-date information. The documentation covers all endpoints, parameters, and error codes, providing a comprehensive resource for troubleshooting.
Frequently asked questions
How do I top up my account?
You can top up your account using USDT on the TRC20 network or USDC on the Base network. The minimum amount is $20, and the maximum is $500. Send your funds to the provided wallet address, and the credit will be added to your account.
What happens if I exceed the rate limit?
If you exceed the rate limit of 300 requests per minute, the API will return a 429 status code. You should implement exponential backoff in your code to handle this error gracefully and retry the request after a short delay.
Is there a trial credit for new accounts?
Yes, every new account receives $0.50 of trial credit. This allows you to test the API without making a top-up. The trial credit is available immediately upon signup.
Does the API support image generation?
No, the API is text-only and does not support image, audio, or video generation. If you need multimodal capabilities, you may need to integrate additional tools or APIs.