"You exceeded your current quota" when using code-davinci-edit-001 model


I have this error message when I call the https://api.openai.com/v1/edits API with the “code-davinci-edit-001” model. However, the doc says “During this initial beta period, usage of the edits endpoint is free” (see OpenAI API).

Is the initial beta period already over?

Thanks a lot for your answer :slight_smile:


I have no idea, I just tested it and editing on codex is free.
EDIT: I just looked this up online. You need to attach a credit card in order for it to work. It does not charge anything AT ALL. It just checks to make sure it can bill you.
Source: Not enough credits to use the free OpenAI Codex? - OpenAI Codex - OpenAI API Community Forum


I did that and it works thanks :slight_smile:


Yes, this also worked for me. After adding the payment method my API request worked fine. But I needed to create a new API Key.


I set it up and the minute I entered my card info, it charged me $7.47 AUD! and the issue hasn’t been fixed yet!

Increasing my credit balance solved the problem. It was 0.00$.