Common error categories
Treat errors as product signals. Authentication errors point to key setup, payment errors point to budget or credit state, rate limits point to traffic policy, and provider errors should be retried or routed according to your application policy.
| 401 | Missing or invalid API key |
| 402 | Budget or credit check failed |
| 429 | Rate limit reached |
| 502 | Provider call failed |