Got charged for error, no output

Resolved 💬 2 comments Opened Apr 17, 2025 by ayush-porwal Closed Apr 17, 2025

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.

!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.

View original on GitHub ↗

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