Retry only transient failures
Use bounded exponential backoff, respectRetry-After, and stop after a fixed attempt or time budget.
Retry conditions
Do not retry authentication, billing, validation, missing-model, or malformed-request errors until the request is corrected.
Safe retry checklist
- Use an idempotency key for training-job creation and other supported mutations.
- Keep the same request body when replaying an idempotent request.
- Apply jitter and a maximum delay.
- Log the final status and request ID, but never the API key.

