Have the same issue. This becomes a problems.
I think I may have found the solution and the reason as to why Google AI Studio keeps giving us the same error. I’ve read through countless threads and tried many solutions, but none of them have worked.
Long story short, the chat history is probably too long. Just create a new chat.

after doing this I no longer get the “quota exceeded” error when my quota has indeed not been exceeded. ggs have fun.