Skip to content
Back to Blog
How-To

Why Gemini Flash Starts Coding When You Just Asked Something

Gemini Flash treats a question as a task and starts writing code or files. Why it happens, the one-line instruction that stops it, and when to let it run.

7 min read

See Claude set up for your job

Skip the theory โ€” pick your profession and get the real workflows, ready-to-use prompts, and exact setup for your work.


TL;DR. Gemini's Flash models are trained to do things, so a message that could be read as a task gets treated as one. That is why you ask "would it be better to store this in a spreadsheet?" and get a spreadsheet. The fix is one sentence, saved once, in Instructions for Gemini: tell it to answer in prose and not to write code, create files, or take actions unless you explicitly ask. When you actually want work done, say so, and Flash is very good at it.

The top thread on the Google Antigravity subreddit in August was a rave. "Used gemini 3.7 flash at my job, GOOGLE COOKED" picked up 459 points and 121 comments. The most-upvoted reply was not a rave. u/amitsingh80108 wrote (67 upvotes):

"Using 3.7 and one problem is consistent in flash models . They don't differentiate between a question and a task. As soon as I ask question they start writing code."

If you have used Gemini for anything beyond a quick lookup, you have seen a version of this. You ask whether an approach makes sense and get a finished draft of it. You ask "should this be a table?" and a table arrives. The answer is somewhere in there, but you did not ask for the work, and now you have to read all of it to find out.

Why does Gemini Flash start doing the task instead of answering?

Because that is what it is built for. Google's own documentation says Gemini 3.8 Flash is "engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows." The models before it in the same line, 3.6 and 3.7 Flash, were pushed in the same direction. Flash is no longer the "fast and cheap" tier in the old sense. It is the model Google points at agent products such as Antigravity, where the whole point is that you describe an outcome and the model goes and produces it.

Post-training a model for that job has a side effect. An agent that stops to ask "did you want me to do this, or just tell you about it?" is an annoying agent. So the training rewards acting on under-specified messages, and the model learns that an ambiguous message is a task.

You can watch this play out in the community's own reviews. A review of Gemini 3.8 Flash posted on September 2 (190 points) came from someone who, by their own title, does not "even trust gemini models to run commit commands properly." Their complaint about the previous model was that 3.7 Flash "seemed to rush to conclusions even without doing anything at all." Their test of 3.8 was to give it deliberately vague prompts on the high thinking setting and see whether it would work out what was meant before acting. That is the right test, and it is telling that a reviewer felt they needed to run it.

The same habit has a cost side. A model that treats every message as work produces more output. Artificial Analysis measured 3.8 Flash emitting roughly 30% more output tokens per task than 3.7 Flash. We covered what that does to per-task cost in the Gemini 3.8 Flash explainer; the short version is that the eagerness you notice in chat is the same thing showing up on an API bill.

None of this is a defect. It is a design choice that is right for agents and wrong for "I just have a question." Since Google is not going to change it, you have to.

How do you make Gemini just answer the question?

Give it a standing instruction that separates the two modes. Paste this:

Answer the question in prose. Do not write code, create files, or take actions unless I explicitly ask.

Where to put it so it sticks. In the Gemini app, the persistent setting is called Instructions for Gemini. On the web, go to gemini.google.com, click Settings & help, then Personal Intelligence, then Instructions for Gemini, click Add, paste the line, and submit. On the mobile app, tap the menu, your profile picture, then Personal Intelligence and Instructions for Gemini. Instructions apply to every new chat. Google's help pages note that some regions still show the older label "Saved info" for the same feature.

Two limits worth knowing, both verified against Google's help center on September 6, 2026. The feature needs a personal Google Account; it is not available on work, school, or supervised accounts. Gemini in Workspace apps has its own custom-instructions setting, which Google expanded to more apps in September, so if you use Gemini inside Docs or Gmail through a company account, look there instead.

For a single chat. If you do not want this behavior everywhere, paste the same sentence as the first line of the chat. It holds for that conversation. It also works as a mid-chat correction: "Stop. Just answer the question, no code."

When you do want the work. Say so, and say what "done" looks like. "Write the formula and put it in cell D2" gets you an action. "Is a VLOOKUP the right tool here?" with the instruction above gets you a yes or no and a reason. The instruction does not make Flash worse at tasks. It makes it wait for you to ask.

What about the thinking level? The Gemini API exposes low, medium, and high thinking levels for 3.8 Flash, with medium as the default, and the Gemini app's model picker has been rolling out a "Thinking level" option (Standard or Extended) since May. More thinking tends to reduce the rush-to-a-conclusion problem the reviewer above described, because the model spends longer working out what you meant. It does not change the question-versus-task reading on its own. The instruction does.

Gemini Flash vs Pro: which should you use for questions vs tasks?

Notice that the Reddit complaint says "flash models," not "Gemini." The habit is a Flash trait. Here is how the two lines compare on the things that matter for this decision, as of September 2026.

Gemini Flash (3.8, 3.7, 3.6) Gemini Pro (3.1 Pro)
Speed Fast; the tier is built for it Slower
Cost Lower per-token price; 3.8 uses more output tokens per task Higher per-token price
Tendency to act High; tuned for agents and coding, reads ambiguity as a task Lower; the community complaint is specific to Flash
Best for Work you want done: drafts, code, multi-step jobs, anything in Antigravity Questions, judgment calls, reading a long document and telling you what matters

Two facts shape the choice for app users. Gemini 3.1 Pro is still a preview model and is the only Pro in production; Gemini 3.5 Pro has not shipped. And 3.8 Flash is available on Google AI Pro and Ultra but not on the Free tier, where 3.6 Flash is the model. So on Free you are on Flash for nearly everything, and the instruction above is doing most of the work. On a paid plan you can pick Pro from the model dropdown in the prompt bar for the question and switch back to Flash for the task.

A simple rule: if you would be annoyed to receive a document, pick Pro or use the instruction. If you would be annoyed not to receive one, pick Flash and describe the output.

Does this happen in Antigravity and the Gemini app too?

Yes, in both, for different reasons.

In the Gemini app it shows up as unrequested tables, drafts, and code blocks in chat. The instruction under the previous heading fixes it, because the app respects Instructions for Gemini across chats.

In Antigravity, Google's agent-first coding environment, the behavior is closer to the point of the product. The agent is supposed to take a goal and run with it, so a question typed into the agent panel is very likely to become edits. The Reddit threads quoted above both come from that community, which is not a coincidence. If you want a question answered inside Antigravity, say "answer only, no edits" in the message; there is no persistent app-wide instruction there the way there is in the Gemini app. Our comparison of Cursor vs Google Antigravity covers how the two editors differ on this, and which one to pick if you mostly want to ask rather than delegate.

The habit that solves this everywhere

The Flash behavior is an extreme case of something every current model does: fill in what you did not say. Before you send a message, know which of two things you want, an answer or an output, and make the first sentence say which. "Question:" and "Task:" as literal prefixes work surprisingly well across Gemini, ChatGPT, and Claude.

That is one of the eight underlying skills in being good at AI rather than just using it, and it pairs with the review pass you run on any AI draft once the model does produce work. If you want to see where you stand on the full set, the AI Skills Gap Analyzer runs the check in your browser.

Sources

  1. r/google_antigravity, "Used gemini 3.7 flash at my job, GOOGLE COOKED", August 14, 2026 (459 points, 121 comments); comment by u/amitsingh80108 (67 upvotes).
  2. r/google_antigravity, "Review of Gemini 3.8 flash from a person who doesn't even trust gemini models to run commit commands properly", September 2, 2026 (190 points).
  3. Google AI for Developers, "What's new in Gemini 3.8 Flash": "engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows"; thinking levels low, medium (default), high. Accessed September 6, 2026.
  4. Gemini Apps Help, "Customize Gemini's responses with your instructions": Settings & help, Personal Intelligence, Instructions for Gemini; personal Google Account only. Accessed September 6, 2026.
  5. Google Workspace Updates, "Custom instructions for Gemini in Workspace now available in more apps", September 2026.
  6. 9to5Google, "Gemini app rolling out 'Extended' thinking level", May 17, 2026.
  7. Artificial Analysis, "Google has released Gemini 3.8 Flash", September 2, 2026 (output-token measurement; discussed in our Gemini 3.8 Flash explainer).

See Claude set up for your job

Skip the theory โ€” pick your profession and get the real workflows, ready-to-use prompts, and exact setup for your work.

Free ยท 2 minutes

Set up AI for your job โ€” free, in about 2 minutes

Pick your profession and get your first working AI tool, a step-by-step guide, and a $0 plugin to take home. No credit card.

Get my free setup

Frequently asked questions

How do I make Gemini give short answers?+

Tell it once, in a place it will remember. In the Gemini app, open Settings & help, then Personal Intelligence, then Instructions for Gemini, and add a line such as: 'Answer in prose, in as few sentences as the question needs. Do not write code, create files, or take actions unless I explicitly ask.' That applies to every new chat on a personal Google Account. For a single chat, paste the same line as your first message. If you also want fewer bullet points and no preamble, say that in the same instruction rather than adding a second one.

Does Gemini have custom instructions, and where are they?+

Yes. In the Gemini app they are called Instructions for Gemini (some regions still show the older label Saved info). On the web, go to gemini.google.com, click Settings & help, then Personal Intelligence, then Instructions for Gemini, then Add. On mobile, tap Menu, your profile picture, Personal Intelligence, Instructions for Gemini. Instructions apply to every chat. As of September 2026 the feature needs a personal Google Account; it is not available on work, school, or supervised accounts, which use a separate Workspace setting.

Which Gemini Flash is current: 3.5, 3.8, or Omni Flash?+

As of September 6, 2026: Gemini 3.8 Flash (released September 2) is the newest text model and is available in the Gemini app on Google AI Pro and Ultra. Gemini 3.7 Flash (August 13) is the previous one and costs the same per token. Gemini 3.6 Flash is the Free-tier app model. Gemini 3.5 Flash and 3.5 Flash-Lite are still listed in the API. Gemini Omni 1.1 Flash is a video model, not a chat model, so it is not the one answering your questions. Our Gemini 3.8 Flash explainer covers what changed and whether to switch.

Is Gemini 3.8 Flash worth switching to?+

See our full answer in What Is Gemini 3.8 Flash, and Should You Switch? at /blog/gemini-3-8-flash-professionals-2026. This guide only covers the question-versus-task habit and how to stop it.

Is 'doing the task' a bug or by design?+

By design. Google engineered the recent Flash models for long-horizon software engineering, autonomous agents, and multi-step workflows, and it trains them to be useful without hand-holding. A model tuned that way reads an ambiguous message as work to be done. It is only a problem when you wanted an answer, which is why the fix is telling it which mode you want rather than waiting for Google to change the default.

Will the same prompt fix work in ChatGPT and Claude?+

ChatGPT: yes, paste the same line into Settings, Personalization, Custom instructions, or at the top of a chat; the same habit shows up in Codex and in agent mode more than in regular chat. Claude: yes, put it in a Project's instructions or your profile preferences in Settings; in Claude Code or Cowork, say 'answer only, do not edit files' in the message, since those surfaces are built to act.

By Reviewed by Alex LowePublished September 6, 2026

Related Guides

Get weekly AI tips for your profession

Join thousands of professionals saving hours every week with AI. Free. No spam.