Use these endpoints to show current usage in your app and stop active streaming generations from the dashboard.Documentation Index
Fetch the complete documentation index at: https://docs.routing.run/llms.txt
Use this file to discover all available pages before exploring further.
These endpoints support your normal
rk_ routing.run API key. You can send it with X-API-Key or Authorization: Bearer.Check remaining requests
GET/v1/user/requests
Returns daily, hourly, and per-minute usage for the authenticated user.
requests_limit_this_hour and requests_remaining_this_hour are 0 because Lite has no hourly cap.
Check hourly usage only
GET/v1/user/requests/hourly
Use this endpoint for a small hourly-limit widget.
Stop active streams
POST/v1/user/streams/kill
Stops all active streaming responses for the authenticated user.
data: [DONE] when the client connection is still open.
How stream stopping works
Each streaming request registers as active before it starts. The kill endpoint increments a user-level stop token. Active streams check that token about once per second and close if it changes. The router also checks the token while waiting for upstream chunks. This lets routing.run stop a stream even if the upstream is slow or stuck.Current limits
Limits are user-level. Multiple API keys for the same user share the same counters.| Plan | Requests per day | Requests per hour | Requests per minute | Concurrent streams |
|---|---|---|---|---|
| Free | 50 | 50 | 100 | 50 |
| Lite | 500 | None | 100 | 50 |
| Weekly | 1,800 | 500 | 100 | 50 |
| Premium | 1,500 | 500 | 100 | 50 |
| Max | 3,000 | 1,000 | 100 | 50 |
| Ultra | 10,000 | 1,500 | 100 | 50 |
Limit errors
Rate-limit failures return HTTP 429. Most routing.run application errors use a plain-text body with anX-Error-Code header.
Example concurrent stream limit: