Skip to main content

“Too many API requests per minute. Waiting 20 seconds and trying again.”

Please note: this message is not an error. After this message appears in the log, ClipAI simply waits 20 seconds before sending the next request to the AI; writing the text is not interrupted.

This notice appears when the maximum number of requests per minute to the AI is exceeded. You can find current information on the limits on the official OpenAI website (check the RPM (requests per minute) and RPD (requests per day) values); for Google Gemini, it is on the relevant page. Other services also usually list their account limits on their websites.

So, to stop this notice from recurring, you usually need to do one of the following:

  1. Reduce the number of threads (if you are using multithreading).
  2. Top up your balance with the AI service you use.
  3. Add another API key (using the mode that reads keys from a file).