Skip to main content

Failed Requests

Usage is reserved before each call and settled only when the call succeeds and produces usage. A timeout, dropped connection, or 5xx before that releases the reservation. See How the API Works.

Idempotency-Key

On public inference, a supplied Idempotency-Key is validated as a UUID but not used to deduplicate. Each request runs and is metered separately.

Retrying

  1. Retry timeouts, dropped connections, 429, 502, and 503 with backoff. On 429, wait for Retry-After.
  2. A call that completed on the server but whose response was lost will run again on a blind retry. When you cannot tell, check state first.
  3. For an operation that must not run twice, record a client-generated operation ID once the call succeeds and check it before retrying.

How the API Works

Reserve, run, settle.

Error Reference

The code families.

Rate Limits

Retry-After and the limit headers.

Uptime and Fallbacks

Failover without weakening privacy.