AIStudio2API
AIStudio2API copied to clipboard
限流的误判
有时因为分钟级TPM触发限流,但是会被误判为全天daily限流,导致要到第二天15点才能解封,实际是可用的,建议针对限流文案做判断避免扩大限流范围
模型是gemini-3.1-pro-preview,后端用的go模式
报错文案似乎是:
8: You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit.
但实际1分钟后是可以继续请求的
测试后发现很早就出现了这个问题,在新版修复了一下: https://github.com/Mag1cFall/AIStudio2API/commit/3f3298de9786fc2dc6a53d91653d618b84f160bd https://github.com/Mag1cFall/AIStudio2API/releases/tag/v0.2.4