429, retry with exponential backoff and jitter, then lower burst traffic if repeated retries occur.
Limit concurrency
The following Python example caps concurrent chat requests with an async semaphore:Retry rate limits
The following JavaScript example retries429 responses with jitter: