ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

Rate limits

Open Nick-kel opened this issue 2 years ago • 10 comments

What are the rate limits? Can multiple questions be asked synchronously?

Nick-kel avatar Jan 08 '23 02:01 Nick-kel

Would like to know answer to first question, too. As for the second - definitely not (not from the same account), as It seem to be a limitation of ChatGPT itself. For my app (tg bot, with 2 accounts as requests handlers), with not too many users, I've made a hard-coded ratelimit of 30 sec for entire api bots and 2 min per user. Along with only serving a single request per user, that seems to be enough in my case

Jamminroot avatar Jan 08 '23 17:01 Jamminroot

Rate limit of ~50 requests according to the dev in a different issue thread.

Andy7737 avatar Jan 08 '23 22:01 Andy7737

I ran through the thread, I assume that limit is per-hour?

Jamminroot avatar Jan 09 '23 01:01 Jamminroot

Yes, I believe so.

Andy7737 avatar Jan 09 '23 02:01 Andy7737

I got this error, so which means they limited 50 queries per-hour? Someone has any idea to avoid this issue?

{"detail":{"message":"Rate limit reached for chat-gpt-48rpm-200ktpm in organization org-q1REn59xBJ4cdaluoPxVSFAU on requests per min. Limit: 48.000000 / min. Current: 50.000000 / min. Contact [email protected] if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://beta.openai.com/account/billing to add a payment method.","type":"requests","param":null,"code":null}}

SeolhwaLee avatar Jan 09 '23 12:01 SeolhwaLee

I got this error, so which means they limited 50 queries per-hour? Someone has any idea to avoid this issue?

{"detail":{"message":"Rate limit reached for chat-gpt-48rpm-200ktpm in organization org-q1REn59xBJ4cdaluoPxVSFAU on requests per min. Limit: 48.000000 / min. Current: 50.000000 / min. Contact [email protected] if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://beta.openai.com/account/billing to add a payment method.","type":"requests","param":null,"code":null}}

You can cycle through multiple session tokens / accounts. You would need to create your own implementation though

acheong08 avatar Jan 09 '23 14:01 acheong08

Tbh I'm a bit confused with the response. On one hand - it says chat-gpt-..., but on the other - It looks more like a limit for paid openai API

Jamminroot avatar Jan 09 '23 21:01 Jamminroot

It's a sign that OpenAI is probably working on a paid API

acheong08 avatar Jan 10 '23 00:01 acheong08

Limit: 48.000000 / min

This suggests that the API limit might not be ~50 per hour but rather 48 per minute. At least that it is the limit that was hit here.

That's a lot of request though. Is this multiple users using the API via an app?

This line is not new though:

"Please add a payment method to your account to increase your rate limit. Visit https://beta.openai.com/account/billing to add a payment method."

I have seen references to this error in browser from people on the r/ChatGPT reddit several weeks back. This is a placeholder error for now, since there is no way of paying for a premium plan.

Andy7737 avatar Jan 10 '23 04:01 Andy7737

It's hard for me to believe it's 48/minute, as you can't process 2 requests at a time, and even some plain requests like "Hi" would take a few seconds to process, so one account can barely produce 30/minute at very best, not even accounting harder ones which would take more than a minute. I suppose that the message is some kind of a placeholder or WIP on OpenAI side (as suggested by acheon08)

Jamminroot avatar Jan 10 '23 05:01 Jamminroot