callbacked / keyless-gpt-wrapper-api

A Free OpenAI-compatible API designed to interact with models like GPT-4o, Claude 3 Haiku, Mixtral 8x7b & Llama 3 70b through DuckDuckGo's AI Chat.
https://callbacked.github.io/keyless-gpt-wrapper-api/
29 stars 3 forks source link

what's the rate limits? #10

Closed amrpyt closed 3 days ago

amrpyt commented 3 days ago

what's the rate limits of using gpt4o-mini?

callbacked commented 3 days ago

So on the official DuckDuckGo AI chat website, sending 10 messages in a row rate limits you and then you wait 1-2 minutes to send your message. After some testing, I found that you can avoid getting rate limited entirely by changing your user agent. I added this method of avoiding the rate limit in an earlier patch here.

So to answer your question, the API doesn't have a rate limit. If a rate limit is detected from DuckDuckGo, the API switches to a random user agent and your conversation with whatever AI remains uninterrupted.