Closed baogorek closed 5 months ago
Anthropic has many rate-limits in place, not just calls per minute. This is standard in APIs. This particular limit is specifically number of concurrent requests. You are correct that sending fewer of these at once will resolve the problem.
Thanks for the clarification. Just note that this has failed with as few as 4 requests sent out asynchronously. Nothing like it happens with the OpenAI equivalent. I would suggest some sort of warning, somewhere.
This Async example below works if you cut the number of messages down to, say 4. I've had it work with 6, even. But with 12 async calls to the haiku model, I get the 429 error:
I'm on a paid plan and know I have at least 1,000 calls per minute. (It might even be 4,000).
This has been replicated with another user's account. I am not especially good at async programming, but I believe I should be able to send out as many queries as my limit.