I had consistent problems (5 months back) with OpenRouter and other providers. And very hard to debug. I used the provider directly (Google) and worked perfectly.