rate_limit_exceeded Version 0.1.2504301751

Resolved 💬 4 comments Opened May 3, 2025 by Reiko69420 Closed Aug 7, 2025

What version of Codex is running?

0.1.2504301751

Which model were you using?

o4-mini

What platform is your computer?

Ubuntu (WSL2) & Windows 11

What steps can reproduce the bug?

Open Codex,
Type a big prompt,
AI cook for 5 minutes,
Then rate_limit_exceed, codex crash

What is the expected behavior?

Not crash, it should try again after a few seconds multiple times
Or at least just stop the infering and put me back in the prompt writing mod thingy so i don't loose all my context

What do you see instead?

(file:///home/reiko/.nvm/versions/node/v22.14.0/lib/node_modules/@openai/codex/dist/cli.js:474:1514)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async dE.run (file:///home/reiko/.nvm/versions/node/v22.14.0/lib/node_modules/@openai/codex/dist/cli.js:491:2777) {
status: undefined,
headers: undefined,
request_id: undefined,
error: {
type: 'requests',
code: 'rate_limit_exceeded',
message: 'Rate limit reached for o4-mini in organization org-xxxxxxxxxxxxxxxxx on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.',
param: null
},
code: 'rate_limit_exceeded',
param: null,
type: 'requests'
}

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗