Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limit or maximum monthly limit exceeded #70

Open
francly opened this issue Jul 2, 2024 · 1 comment
Open

Rate limit or maximum monthly limit exceeded #70

francly opened this issue Jul 2, 2024 · 1 comment

Comments

@francly
Copy link

francly commented Jul 2, 2024

first use of the CLI getting this error but my API key have no limit set

`ChatGPT CLI
Supplier: openai
Model in use: gpt-3.5-turbo-16k
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[0] >>> Hello
Rate limit or maximum monthly limit exceeded
[0] >>>

Total tokens used: 0
Estimated expense: $0.000000`

@marcolardera
Copy link
Owner

marcolardera commented Jul 3, 2024

This error message happens in case of a 429 response from the API. This is what OpenAI says about it:

This error message indicates that you hit your monthly usage limit for the API, or for prepaid credits customers that you've consumed all your credits. You can view your maximum usage limit on the limits page. This could happen for several reasons, such as:

You are using a high-volume or complex service that consumes a lot of credits or tokens.
Your monthly budget is set too low for your organization’s usage.
Your monthly budget is set too low for your project's usage.

To resolve this error, please follow these steps:

Check your current usage of your account, and compare that to your account's limits.
If you are on a free plan, consider upgrading to a paid plan to get higher limits.
Reach out to your organization owner to increase the budgets for your project.

https://platform.openai.com/docs/guides/error-codes/api-errors

Maybe you have used all your pre-paid credits?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants