So I bought 10 USD API credits in August (expires in August 2025), I did only a few request months ago, yet now I have 0.00$ remaining and get: openai.RateLimitError: Error code: 429 - {‘error’: {‘message’: 'You exceeded your current quota, please check your plan and billing detail.
In no month did I even hit $1, so where exactly did the credits go?

Hrm. That’s showing a $0/$10 balance. Did your key leak maybe?
Have you reached out to support?
https://help.openai.com
I was wondering why I can’t see when the credits were spent in the dashboard. Then I would know if the key was leaked.
My spending looks like this:
August 2024: 0.00USD
September 2024: 0.27USD
November 2024: 0.00USD
December 2024: : 0.00USD
January 2025: 0.00USD
February 2025: 0.00USD
March 2025: 0.00USD
Maybe I found it, spikes on March 4th.
Seems I found the issue. I published a vscode extension, and by default it packs all files, even if not used and gitignored, they need to be in .vscodeignore file. And I had my key in a JSON file in the project folder.
2 Likes
Ah, lesson learned, I hope! 
Happy coding!