codex should sleep/delay upon hitting TPM rate limit, not crash
Resolved 💬 2 comments Opened Apr 22, 2025 by J-a-n-u-s Closed Apr 22, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
0.1.2504211509
Which model were you using?
gpt-4.1-mini
What platform is your computer?
darwin | x64 | 22.6.0
What steps can reproduce the bug?
Hit TPM rate limit.
What is the expected behavior?
Codex should sleep / delay, or return to user input indicating which rate limit was hit, and allow user to retry.
What do you see instead?
It crashes out/exits when rate limit is hit
Additional information
Am not sure if this is a bug or feature request, so please feel free to move to feature request at your discretion.
2 Comments
Should be fixed in latest release, please install 0.1.2504221401 and re-open if this is still an issue you encounter.
This is not fixed when using 0.1.2505172129 with gpt-4.1, it crashes after several minutes of working with the following message: