ReferenceReference

Limits and timeouts

Body size, request timeouts, concurrency, and rate limits.

By the end: You can choose client settings that never trip a gateway limit.
FieldValueNotes
Body size1 MiBBODY_LIMIT_BYTES. Larger bodies get 413.
Request timeout120 sUPSTREAM_TIMEOUT_MS, for non-streaming requests.
Stream timeout600 sUPSTREAM_STREAM_TIMEOUT_MS, for streaming requests.
Concurrent requests8 per accountAn open stream holds one slot.
Requests per minute60 per account, 30 per keyConfigurable per deployment.
Key length128 charactersLonger values are rejected without a lookup.

Why these exist

Timeouts and body limits protect the gateway and the upstream service from requests that cannot succeed. They are not billing controls — max_tokens is.

Choosing client settings