What to Expect
Recommended Retry Pattern
For model API calls, retry transient failures with exponential backoff.429rate limit or concurrency responses500gateway or provider errors- temporary network failures
Concurrency Tips
- Start with conservative concurrency in production and increase gradually.
- Use
vendor: autounless your integration requires a specific provider. - Keep model IDs configurable so you can switch models without code changes.
- Log the request timestamp, model, vendor mode, and request ID for troubleshooting.
- For streaming responses, treat dropped connections as retryable only if your application can safely restart the request.