Troubleshooting Rate Limits and Errors on OpenRouter Dolphin
Scaling an application with an uncensored text model requires careful handling of errors and rate limits. This guide explains how to interpret HTTP status codes and manage token consumption to keep your service running smoothly.

Understanding Common HTTP Errors
When integrating our API, encountering HTTP errors is a normal part of the development lifecycle. The most frequent issues involve authentication, credit balance, and rate limiting. A 401 error indicates an invalid or missing API key. This usually happens when the key is copied incorrectly or expired. You must verify that your key is sent in the Authorization header exactly as shown during signup.
A 402 error signals that your account has no prepaid credit remaining. Unlike some services that allow a free tier with usage limits, our service requires prepayment via crypto. If you see this code, you must top up your balance using USDT on TRC20 or USDC on Base before making further requests. Errors and refusals do not consume credit, so you can retry safely after topping up.
A 429 error means you have exceeded the rate limit of 300 requests per minute per key. This limit applies to the total number of API calls, not just successful responses. If your application sends too many requests in a short window, the server will reject new connections until the window resets. Implementing exponential backoff in your client code is the standard way to handle this gracefully without overwhelming the connection.
Managing Prepaid Credit and Payments
Our service operates on a prepaid credit model, which simplifies billing but requires proactive management. You can top up with amounts between $20 and $500 using cryptocurrency. Payments are processed instantly, and the credit is charged based on real token usage. This means you only pay for the tokens sent and received, with no monthly subscription fees or hidden costs.
It is important to note that errors and refusals do not deduct from your balance. This includes cases where the model refuses a request due to the hard content limit or when a network error occurs. This feature ensures that you are not penalized for failed attempts. However, successful completions and prompts will consume your prepaid balance according to the per-million token rates.
The pricing structure is straightforward: $0.15 per million input tokens and $0.50 per million output tokens. Since the model is uncensored, it may generate longer responses, which can increase output token costs. Monitoring your usage through the dashboard helps you anticipate when a top-up is needed. You can check the current balance before starting a batch of requests to avoid mid-process interruptions.
Handling Rate Limits and Throttling
Rate limits are in place to ensure fair usage and system stability. Our API allows 300 requests per minute per key. If your application exceeds this threshold, you will receive a 429 status code. To mitigate this, you should implement retry logic with exponential backoff. This approach gradually increases the wait time between retries, preventing a storm of requests when the service recovers.
For applications with high throughput, consider using multiple API keys to distribute the load. Each key has its own independent rate limit. This strategy allows you to scale your request volume beyond the single-key limit. However, remember that each key still incurs the same per-token costs, so balance your scaling needs with your budget.
Streaming responses can also help manage perceived latency. By using Server-Sent Events (SSE), you can receive tokens as they are generated. This provides a better user experience and allows you to process data in chunks. The usage information is included in the last chunk of the stream, so you can track token consumption in real-time without waiting for the entire response to complete.
Optimizing Token Usage and Costs
Understanding token consumption is important for controlling costs. Our model supports a context window of 100,000 tokens, which includes both the prompt and the completion. Long prompts can quickly consume your input token allowance. To optimize costs, trim unnecessary information from your prompts and use efficient system messages.
Output tokens can also be expensive, especially with an uncensored model that may generate verbose responses. You can control the length of the output using parameters like max_tokens (if supported) or by setting appropriate stop sequences. This helps prevent the model from generating excessive text that drains your balance.
Use the temperature and top_p parameters to influence the model's behavior. Lower values make the output more deterministic and concise, while higher values increase creativity. Experiment with these settings to find the right balance for your use case. Additionally, using seed values can help reproduce specific outputs, which is useful for testing and debugging.
Testing with Trial Credit and Parameters
New accounts receive $0.50 of trial credit, allowing you to test the API without immediate payment. This trial credit is perfect for verifying integration and exploring the model's capabilities. You can use it to send requests and observe how the model handles different prompts and parameters.
The API supports various parameters such as temperature, top_p, stop, seed, and penalties. These parameters give you fine-grained control over the model's output. For example, setting a stop sequence can halt generation at a specific point, which is useful for structured data extraction or completing specific formats.
Function calling and JSON mode are also supported, enabling you to integrate the model into complex workflows. You can define tools and have the model return structured JSON responses. This is particularly useful for building agents or applications that require precise data formats. Use the trial credit to experiment with these features and ensure they meet your application's requirements.
When This API Is Not the Right Choice
While our API excels at uncensored text generation, it may not be the best fit for every project. If you need image, audio, or video generation, this service does not support those modalities. It is strictly a text-in, text-out API. Similarly, if you require embeddings for semantic search, OCR for document processing, or fine-tuning for custom model training, you will need to look elsewhere.
The service also lacks model routing, meaning you are locked into the single uncensored open-weight model. If your application requires switching between different models for different tasks, this API will not support that flexibility. Additionally, if you need an SLA guarantee or certified data handling (like SOC2 or HIPAA), this independent service does not offer those enterprise-level assurances.
For projects requiring real-time audio or video processing, or for applications that need to analyze documents with OCR, you should consider specialized providers. Our API is ideal for text-heavy applications like chatbots, content generation, and data extraction where uncensored output is valued. Always evaluate your specific needs against these limitations before integrating.
Addressing Common Developer Questions
Developers often ask how to handle unexpected failures when scaling their applications. The key is to implement reliable error handling and retry logic. When a 429 error occurs, do not immediately retry; wait for the recommended backoff period. This prevents overwhelming the server and ensures a smoother recovery process.
Another common question is how to manage credit without a subscription. Since we use prepaid credit, you must monitor your balance and top up as needed. The crypto-only payment method means you need a wallet capable of sending USDT on TRC20 or USDC on Base. Ensure your wallet has sufficient network fees for the transaction.
Users also inquire about the hard content limit. The model refuses requests involving sexual content with minors but allows other adult or controversial topics. This limit is enforced on the server side, so you will receive a refusal response rather than a generated output. This helps maintain compliance while offering a largely uncensored experience.
Frequently asked questions
What causes a 401 error?
A 401 error indicates an invalid or missing API key. Ensure your key is correctly copied and sent in the Authorization header. You can generate a new key from your dashboard if the current one is compromised.
How do I top up my credit?
You can top up using USDT on TRC20 or USDC on Base. Amounts must be between $20 and $500. The credit is charged based on real token usage, and errors do not deduct from your balance.
What is the rate limit?
The rate limit is 300 requests per minute per key. If you exceed this, you will receive a 429 error. Implement exponential backoff to handle throttling gracefully.
Does the trial credit expire?
Trial credit is provided to new accounts and does not expire. However, it is limited to $0.50. You can use it to test the API before making a crypto payment for additional credit.