from AI studio

Reply to this note

Please Login to reply.

Discussion

im sorry i just can't reproduce this. i just did 6 prompts in a row and im not getting errors.

im not giving up though. still looking into it.

as a workaround: you can use the Bring Your Own Key (BYOK) option on OpenRouter and add your gemini key there, then choose the gemini model you want. next you could try creating an openrouter key and adding that openrouter key to shakespeare and choosing the gemini model you want.

this will make openrouter user use your actual gemini key when it gets gemini model requests.

it's also possible that gemini is having issues at the moment and under heavy load.

I tried open router router, 2.5 works sometimes, sometimes not

With 2.5 pro I get following message:

AI service error: 402 This request requires more credits, or fewer max_tokens. You requested up to 65536 tokens, but can only afford 3267. To increase, visit https://openrouter.ai/settings/credits and upgrade to a paid account Try again

I asked gemini about my limits and API usage, it tells me that I can use the API but there are some limits

Maybe shakespeare is requesting too much at once? can you set this lower ?

to me it sounds like a limit put on your account or you're out of money, but you said it comes with your workspace account? so i would assume it's limits based on that.