OpenRouterTeam / openrouter-examples

Examples of integrating the OpenRouter API
https://openrouter.ai/docs
MIT License
92 stars 10 forks source link

Getting 429 errors despite using a :free model and credits not being negative #11

Open Avroboros opened 4 months ago

Avroboros commented 4 months ago

Hi, I'm having these 429 errors despite using a free model (Llama 3.1 8B) on SIllyTavern. The problem started when I generated a message, but saw that it wasn't something I wanted, so I instinctively pressed ESC and regenerated the message right after. However because of this, it started giving me this 429 error :

image

image

So, I dug a little deeper and I checked every single possible explanation to this problem

image

My key is normal, bearing no constraints or limitations other than the 10s interval (which is obviously normal and understandable).

image

The model has no monetary requirements nor any other types of limitations whatsoever either.

image

I then saw this little disclaimer on the limits page and checked my credits just to see if its negative or not

image

Turns out, my credits are a round zero, so the problem isn't that either.

image

The only possible explanation might be the DDoS thingy, because I haven't exceeded the 20 requests per minute limit, and neither exceeded the 200 requests a day limit. Which is a pain in the ass since it's been at least 30 minutes so far and i'm still getting this error.

I'd really appreciate if you guys could maybe help, address or guide me on how to solve or deal with this issue, which would be very useful to future users in case this error happens to them, since I haven't seen any helpful information online about this so far.