Got charged for error, no output
For command:
codex "give me project overview"
I got the final error:
{
type: 'requests',
code: 'rate_limit_exceeded',
message: 'Rate limit reached for o4-mini in organization <redacted-org-id> on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. 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'
}
I got charged around 10K tokens as shown in the image.
I get rate limit errors all times. At present codex is not useful at all for me. Also, please be aware that I have one debit & one credit card attached in my dashboard so payment method is not the issue.
Please help me with a solution or raise my limits. Why are limits so low for people using API ? Aren't requests charged ? Anyways, at the end I want to request that OpenAI shouldn't charge users for errors like these. Its not my fault that I am hitting rate limits which are so low, or something from the OpenAI end. If I don;t get any useful tokens out. I shouldn't be charged.
2 Comments
Hello !
I am facing the same issue, I'm getting the rate limit error, charged, and having no results.
Each time I launch codex (in interactive mode), it seems to have lost all the context of previsous session, which could maybe explain an over usage of token (idk maybe?). I do have a ~/.codex folder created, but not {project-root}/codex.md created. Is that normal since there is an argument in the help usage to NOT create it ?
Thanks for the good work it's impressive!
Rate limit issues should have been fixed and we will cut a new release shortly. In the meantime you can build and run from source.
https://github.com/openai/codex/commit/693a6f96cf8ff7c5fba9c161c10d5be5137fbb9a
https://github.com/openai/codex/commit/47c683480f5fe1e1bd98f516f25845215e89dd25