Limits and timeouts
Understand admission limits and timeouts.
Time to first byte and the idle-stream timeout are different from the route time cap. That cap depends on the endpoint, the model and configuration, and defaults to 600,000ms for non-streaming calls. A client, proxy or provider may end the call sooner; this is not a duration guarantee.
HTTP 429 can mean local admission pressure, a full queue or upstream throttling. Read the error and Retry-After; it does not imply unlimited RPM or TPM.
Honor Retry-After and use bounded exponential backoff with jitter. Cap attempts and total time. For video jobs that may already exist, look up the job ID before submitting again.
Limits
Request bodies may be at most 2047 MB. Context, output, image count and features depend on the model and route; consult the current catalogue.
View current pricingSnippets are protocol-verified; run a small test call and verify the Usage log before deploying to production.