Hi everyone,
I’m posting to check if anyone else has experienced something similar and to bring this to Google’s attention, as I consider this a severe behavioral issue.
I have a full-stack app (React, Vite, Node.js, Express, TypeScript) configured in AI Studio. The backend routes incoming requests, queries a database, and sends relevant data to the Gemini API (gemini-3.8-flash) for processing.
Recently, following Google’s deprecation notice regarding parameters like temperature and top_k, I updated my code. Shortly after, the project—which was working perfectly—suddenly threw a TypeScript syntax error out of nowhere (a supposedly missing closing bracket }).
While syntax errors naturally halt execution, the real issue happened next: Gemini (set to 3.8 Flash in AI Studio) “fixed” the error by unilaterally modifying my code to downgrade the API call to gemini-2.5-flash, alongside fixing the syntax issue.
What makes this critical:
A. System Instructions were completely ignored: My system instructions explicitly state NOT to make any code modifications or SDK changes without prior user approval.
B. Unexplained cross-generation downgrade: The model downgraded the API version outside of its generation family (3.8-flash to 2.5-flash) on its own initiative.
This happened while I was on the Free Tier. Suspecting an infrastructure/attention issue, I switched to my Paid API Key. Using the exact same model (3.8-flash) and system instructions, Gemini recognized the mistake and reverted it, though it couldn’t explain why the syntax error or the downgrade happened in the first place.
Resolving an error created by the Free Tier using the Paid API cost me $0.35 USD (monitored via Google Cloud Billing Live SKU) and over 20 minutes of troubleshooting. For context, my regular monthly API usage had only cost $0.07 USD up to that point (about 20 days of usage, some 12 queries). I had to spend the cost equivalent of thousands of API calls just to fix a bug introduced by the model itself.
This isn’t about 35 cents; it’s about reliability and clear guardrails. I understand LLMs hallucinate, but when system instructions are bypassed and silent code downgrades occur without user consent, it becomes a systemic security/reliability issue.
Are Free Tier models in AI Studio dropping system instruction attention under heavy load and silently implementing unprompted breaking changes? The Paid API behaved properly, but the discrepancy on the Free Tier is alarming.
I really enjoy using AI Studio, but issues like this severely undermine trust in automated workflows.
Has anyone else seen similar unprompted SDK downgrades or System Instruction bypasses?
Thanks!