Skip to main content
Rate limits help ensure fair usage and maintain service quality for all users. Routeway uses rate limiting strategies based on whether you’re using free access or pay-as-you-go billing.

Overview

Routeway enforces rate limits to prevent abuse and ensure optimal performance for all users. The rate limiting system varies depending on whether you’re using free or paid models.

Free Access (no billing)

Free tier users are subject to the following rate limits:

Free Tier Limits

  • 20 requests per minute (RPM)
  • 200 requests per day (RPD)
These limits are enforced strictly and cannot be increased for free tier users. Consider using paid models for higher limits.

Rate Limit Enforcement

Rate limits are enforced server-side and violations will result in HTTP 429 responses. Currently, rate limit headers are not included in API responses.

Pay-As-You-Go (billed usage)

We take a more flexible approach for users with PAYG billing:

Our PAYG Philosophy

“We built infrastructure to say ‘yes’ to every request”
We’re built to handle your production workloads - just keep it reasonable and we’ll keep it running

Rate Limit Responses

429 Too Many Requests

When rate limits are exceeded, the API returns a 429 status code with different error messages depending on the type of limit that was exceeded:

Free Tier Limits Exceeded

{
  "error": {
    "message": "You have used up your free quota. Choose a paid model to continue without interruption",
    "type": "error",
    "tip": "For more usage, try a paid model.",
    "code": 429
  }
}

Custom Key Limits Exceeded

When you exceed custom limits set for your API key (applies to both free and paid plans):
{
  "error": {
    "message": "You have exceeded the request limit. Consider upgrading your plan (or key limit)",
    "type": "error",
    "tip": "Troubleshoot at: https://discord.gg/RjX2CpdPpd",
    "code": 429
  }
}

Best Practices

Smart Retry Logic

Implement exponential backoff when receiving 429 responses to handle rate limits gracefully

Usage Analytics

Monitor request patterns and implement proactive client-side rate limiting

Coming Soon

Exciting optimizations in development to enhance your API experience

Coming Soon

Performance improvements coming your way - stay tuned!
I