You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex does not surface 429 Too Many Requests responses from model providers #4840
Confirm that when making requests to Azure OpenAI above the limit you see an error similar to the below:
{"error":{"code":"429","message": "Requests to the ChatCompletions_Create Operation under OpenAI Language Model Instance API have exceeded token rate limit of your current OpenAI S0 pricing tier. Please retry after 58 seconds. Please go here: https://aka.ms/oai/quotaincrease if you would like to further increase the default rate limit. For Free Account customers, upgrade to Pay as you Go here: https://aka.ms/429TrialUpgrade."}}
Configure Codex CLI to use this deployment
What is the expected behavior?
Codex CLI should alert the user that the model provider has reached an API request limit, if the limit was due to an API key reaching it's token threshold, then it should warn the user about that. Perhaps ask the user if Codex should continue to retry or give up for now. Maybe even surface the actual error message to the user for greater clarity of the issue. Currently Codex defaults to not letting the user know of this issue and instead keeps retrying.
Activity
etraut-openai commentedon Nov 14, 2025
This has been fixed since the bug was originally filed.