Request limits
The few limits Runlode applies: balance, body size, concurrency and request rate.
Input#
| Input | Limit |
|---|---|
| JSON request body | Up to API_MAX_BODY_MB (20 MB by default), enough for image inputs. |
| Messages and content | No Runlode limit. The model’s context window applies. |
| Parameters | Passed as sent. The model decides what it supports. |
Image and audio parts are estimated at API_IMAGE_TOKENS (3,000 by default) each for the balance hold; the charge uses the usage the provider reports.
Output#
max_tokens and max_completion_tokens are optional. A value above the model’s output limit is lowered to it, and when both are missing the model’s output limit is sent, so the balance hold always has a ceiling. The output limit of each model is listed in Terminal → /models.
Concurrency and request rate#
A wallet can run API_WALLET_CONCURRENCY requests at once (4 by default), shared by Playground and its keys. Each key’s wallet may send API_KEY_RPM requests per minute (600 by default). Daily limits are off unless the operator sets API_DAILY_CALLS or API_WALLET_DAILY_CALLS. A long request may run up to API_TIMEOUT_SECONDS (600 by default).
HTTP 429 means an allowance was reached. Check Usage before retrying a request that may already be recorded.