Next.js Discord

Discord Forum

Rate Limit Error!

Answered
Yellow Crazy Ant posted this in #help-forum
Open in Discord
Avatar
Yellow Crazy AntOP
How can I solve the The AI got rate limited, please try again later in the Gemini AI template offered by Vercel!

Here's the github repository to the template: https://github.com/vercel-labs/gemini-chatbot
Answered by averydelusionalperson
I think the error message is pretty self-explanatory. U prolly used it too much in short period of time, so wait for awhile & try again later.
View full answer

12 Replies

Avatar
I think the error message is pretty self-explanatory. U prolly used it too much in short period of time, so wait for awhile & try again later.
Answer
Avatar
Yellow Crazy AntOP
Ah! Kayy - my bad 😅

But curious, how can I increase the limit?

Instead of, let's suppose, 10 requests per minute to maybe 100 requests to per second

I know that is a pretty high value but how can I do smtg similar?
Avatar
you prolly need to upgrade your plan on gemini AI or something? I am not sure, never really tried it. but that should be it, need to upgrade the plan somewhere
Avatar
Yellow Crazy AntOP
hmm, okay
Thankss! @averydelusionalperson
Avatar
@Yellow Crazy Ant i recently ugraded my implementation of a gemini ai api
you can like host that yourself if you want :D
if yes, dm me and i can help you with setting up the keys
it can easily handle more than 100 requests at once, it improves the more keys you give it (more projects)

it can handle failure of entire queues, store in pending queues etc
Avatar
Yellow Crazy AntOP
Woah! Sounds cool

I would love to learn more :D