Gemini 3.8 Flash ignored System Instructions, caused an unexplained API downgrade (3.8 to 2.5), and broke working TS code

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!

By the amount of posts around I’m pretty sure what happened/is happening to me is just anecdotally but -in Dude’s language- [given the nature of this new … I have another bug/malfunction to add.

Using the copy project tool from inside AI Studio I got another copy of my work. That’s how far everything worked. Then it broke.

The exact word by word code on that copy get’s a permanent 503 error from Gemini API on each query. Tried several times, different minutes apart. 503. The original code in the original “repo” works fine like nothing is happening.

Just in case, I activated paid API on both. No dice. 503 on the copy. Each query is an endless waiting time and a 503. Funny enough each Gemini API transaction is billed. Do not appreciate getting billed for an error Google recognizes as their own.

Same account, same API key, same everything. I could understand any type of error (wrong API key, an auth error or whatever), but 503’s are not on my side. What gives?

There’re so many things going bad lately without any user intervention that I really stopped developing my app on Studio until things settle down, if they ever. Really uncool cause I have an app half cooked now. So far I only read complains from users and a deafening silence from the corporation.

Peace.