-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Keep hitting openai rate limit #125
Comments
After 20 retries, I got this:
So maybe I need to shorten my doc? |
Check your OpenAI rate limits at platform.openai.com |
@tractorjuice I am the only user of my openai account, so I am confused about this. That means the |
Or you have a very small quota for API calls. Check your limits. Due to the MemGPT architecture, it is hungry for API calls and tokens 😁. |
Sign up to PromptLayer and push the API calls through there. You will see every single call in detail + latency. |
Are you completely sure you're the only one using that OpenAI API org? If you go to https://platform.openai.com/account/usage, you can click down into "Daily Usage" and see the exact requests made and their timestamps. MemGPT will launch requests of up to ~8k tokens (the first request with an "empty" agent is ~3k) - I think most people have a 10k/min token limit on gpt-4, so this means that technically MemGPT can run only ~1-3 times per minute. However in practice, we've found that if you're the only person using an OpenAI API account with GPT-4 access, you shouldn't hit the rate limit that often (in fact MemGPT should feel quite smooth with minimal extended latency due to backoff on rate-limited requests). If this problem is still affecting you and you've determined that (1) you have a token/minute limit of 10k for gpt-4, (2) you are 100% the only person using the account as shown in the daily breakdown, please reopen the issue (and maybe DM us a screenshot of the usage on Discord, or post a full output of the MemGPT command you ran here on GitHub) and we will take a closer look! |
Hi, currently the
memgpt
is the only app doing requests to openai and it keep raising this andThinking
:Is there any limit for the doc or something? The length of the doc or whatever?
The text was updated successfully, but these errors were encountered: