Gemini 3.8 Flash: What Changed, What It Costs, When to Upgrade
Gemini 3.8 Flash keeps the $0.75/1M price but burns more tokens per task. What changed from 3.7 Flash, the benchmarks, the API gotchas, and when to switch.
Long Nguyen
Lập trình viên Fullstack · Kỹ sư AI · Nhà nghiên cứu
What is Gemini 3.8 Flash?
Gemini 3.8 Flash is Google's Flash-tier reasoning and coding model, released on — three weeks after 3.7 Flash, and Google's third Flash release in six weeks. Google positions it as its most intelligent workhorse model yet, built for long-horizon software engineering, autonomous agents and multi-step reasoning in specialised domains. It shipped generally available (GA), alongside a second variant, 3.8 Flash Cyber, restricted to vetted security defenders.
The important detail for anyone already running Gemini in production: this is not a new base model. Google's model card states plainly that 3.8 Flash is based on 3.7 Flash. Context window, output limit, modalities and price are all unchanged. What changed is how much work the model does per task.
| Specification | Gemini 3.8 Flash |
|---|---|
| Model ID | gemini-3.8-flash |
| Launch stage | GA (production-ready) |
| Context window | 1,048,576 tokens |
| Max output | 65,536 tokens |
| Input modalities | Text, image, audio, video |
| Output | Text |
| Thinking levels | LOW, MEDIUM (default), HIGH |
| Live API | Not supported |
| Context caching | Implicit and explicit |
| Knowledge cutoff | March 2026 for most domains; January 2025 for some |
| Introductory price | $0.75 / 1M input, $3.75 / 1M output |
If you are coming from an older generation, our earlier breakdown of Gemini 3.7 Flash and what it changed covers the baseline this release builds on.
What is new in Gemini 3.8 Flash versus 3.7 Flash
There is no headline capability here — no bigger context window, no new modality, no new tool. The change is behavioural. In Google's own framing, the performance gains stem from a design choice: the model works harder, executing extra reasoning steps and calling tools iteratively on complex tasks.
- Long-horizon software engineering. The clearest gains are on tasks where an agent has to keep going: solving an engineering problem end to end rather than answering one question.
- Specialised knowledge work. Google reports improvements on finance and legal agent benchmarks, aimed at enterprise workflows where a wrong step is expensive.
- Prompt injection robustness. Google reports a significant improvement as measured by Gray Swan — the most relevant safety change if you run agents that read untrusted web pages, emails or documents.
- One removed option. The MINIMAL thinking level no longer exists on this model. Setting it returns an API validation error.
The trade-off is not buried in a footnote; it is in Google's own developer guide. Compared with 3.7 Flash, 3.8 Flash delivers better accuracy and more reliable performance at the cost of higher token consumption, and Google explicitly recommends staying on 3.7 Flash if compute efficiency is your priority. That sentence is the single most useful thing in the launch material, and it is the one most coverage leaves out.
Gemini 3.8 Flash benchmarks
Every number below is vendor-reported and published on launch day. Independent leaderboards had not scored 3.8 Flash when this was written, so treat these as a reason to run your own evaluation, not as a result.
| Benchmark | What Google reported |
|---|---|
| DeepSWE v1.1 (long-horizon software engineering) | Outperforms most larger frontier models at a fraction of their cost; the launch chart puts 3.8 Flash at 73.7%, just under the leading frontier model at 74.0%, against 65.3% for 3.7 Flash |
| HLE-Verified (multi-step reasoning) | 54.9% |
| Vals Finance Agent V2 | Beats 3.7 Flash and other frontier models |
| Harvey Legal Agent Benchmark | Beats 3.7 Flash and other frontier models |
| CWE-Bench, patching (3.8 Flash Cyber) | 47.2% pass@1 against 47.8% for a leading frontier model, at significantly lower cost |
Read the shape rather than the decimals. The gains cluster in agentic, tool-calling, long-running work; single-turn reasoning moves much less. If your workload is one prompt in, one answer out, the case for switching is thin. If your workload is an agent that plans, calls tools and recovers from failures over many turns, this is where the improvement lives.
The comparisons are also against models several times more expensive per token, which is the actual claim Google is making: not that 3.8 Flash is the best model available, but that the gap to the frontier is now small enough that price decides.
Gemini 3.8 Flash pricing, and why the rate card understates it
Google held the introductory rate rather than repricing at launch.
| Period | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
| Now through December 31, 2026 | $0.75 | $3.75 |
| From January 1, 2027 | $1.50 | $7.50 |
Two things follow that are easy to miss.
The same rate is not the same bill. A model that runs extra reasoning steps and calls tools more often produces more tokens per completed task. If a job that used 8,000 output tokens on 3.7 Flash needs 30% more on 3.8 Flash at the same effort level, that job costs 30% more — on an unchanged price list. The multiplier depends entirely on your prompts and your tool loop, so the only number that matters is cost per completed task on your own traffic, measured before and after. Track that, not price per million.
Budget for the doubling. Rates double on . Any business case built on today's $0.75 has roughly four months of runway. Model the January figure now and decide whether the workload still makes sense at $1.50 input and $7.50 output.
Calling Gemini 3.8 Flash from the API
Point the model string at gemini-3.8-flash and set the thinking level explicitly. The default is MEDIUM, which is also the level Google recommends for complex code and agentic work.
from google import genai
client = genai.Client()
interaction = client.interactions.create(
model="gemini-3.8-flash",
input="Refactor this Django view into a service layer, then list the tests you would add.",
generation_config={
"thinking_level": "low", # LOW | MEDIUM (default) | HIGH
},
)
print(interaction.output_text)
Three things worth catching before they cost you an afternoon:
- MINIMAL is a hard error, not a silent downgrade. If any code path still sends
thinking_level="MINIMAL", carried over from an older Gemini model, the request fails validation. Grep for it before you flip the model string. - Sampling parameters are gone. Gemini 3.x no longer accepts
temperature,top_portop_k;thinking_levelreplaced the oldthinking_budget. If you are jumping from an older model rather than from 3.7 Flash, strip these first. - Thinking level is your cost dial. LOW for latency-critical paths such as chat, drafts and quick classification; MEDIUM for coding and agent work; HIGH only where a failed multi-step task costs more than the extra tokens.
Should you upgrade from Gemini 3.7 Flash?
Three Flash models in six weeks means the answer is no longer automatic. Google keeps 3.7 Flash fully supported and points efficiency-first workloads at it, which is unusually direct for a launch post.
| Your workload | What to do |
|---|---|
| Multi-step coding agents, refactors, autonomous issue resolution | Test 3.8 Flash. This is what the release targets. |
| Agents reading untrusted external content | Test 3.8 Flash for the prompt injection improvements alone. |
| Finance, legal or other high-stakes analysis workflows | Test it, then verify on your own documents rather than the benchmark. |
| High-volume classification, extraction, summarisation | Stay on 3.7 Flash unless a measured quality gap justifies the extra tokens. |
| Latency-critical chat or real-time paths | Stay, or run 3.8 Flash at LOW and measure time-to-first-token. |
Whatever you choose, pin the exact model string in config and keep a fixed evaluation set of twenty to fifty real tasks from your own product, scored on task success and cost per task. At this release cadence, treating a model swap as a deployment — behind a flag, measured, reversible — is the difference between an upgrade and an incident. If you would rather have that measurement harness built and run for you, that is part of what we do in AI automation and agent workflow builds.
What is Gemini 3.8 Flash Cyber?
3.8 Flash Cyber shares the same underlying intelligence but ships with a more permissive set of cybersecurity mitigations, so access is restricted to trusted defenders through Google's Fairwind Program for government authorities, critical infrastructure operators and software maintainers. It is aimed at vulnerability discovery and, deliberately, at patching rather than exploitation.
The results Google published are from its own deployments: the Chrome security team reported 2.6 times more correct vulnerability patches than much larger commercial models; Wiz measured higher recall on an internal penetration testing benchmark at a fraction of the cost of other frontier models; and Google's Cloud Vulnerability Research team found a critical foundational vulnerability in under two hours, on work that normally takes months. On an internal benchmark spanning 20 programming languages, the model exceeded a 70% success rate at discovering vulnerabilities.
Google also notes that the cybersecurity training is part of why the general model improved — the security work fed back into the shared core. If you are not an approved defender, you cannot use Cyber, but you are still running on the intelligence it helped produce.
Where you can use Gemini 3.8 Flash today
- Developers: the Gemini API via Google AI Studio, Android Studio, and agent-first workflows in Google Antigravity.
- Enterprises: Gemini Enterprise and the Gemini Enterprise Agent Platform, in global and multi-region deployments.
- Consumers: the Gemini app, AI Mode in Google Search, and Gemini in Google Sheets, for Google AI Pro and Ultra subscribers.
- Security teams: 3.8 Flash Cyber, by application to the Fairwind Program.
Primary sources worth reading before you commit: Google's launch announcement for 3.8 Flash and 3.8 Flash Cyber and the Gemini 3.8 Flash developer guide, which carries the specification table and the migration notes.
Picking the model is the easy part. Wiring it into a system that measures its own output, controls token spend and survives the next release three weeks from now is the work — and if you would rather hand that over, tell us what you are building and we will scope it.
CÂU HỎI THƯỜNG GẶP
Câu hỏi thường gặp
When was Gemini 3.8 Flash released?
Google released Gemini 3.8 Flash on September 2, 2026, three weeks after Gemini 3.7 Flash and its third Flash release in six weeks. It launched generally available (GA) alongside a restricted security variant, Gemini 3.8 Flash Cyber.
How much does Gemini 3.8 Flash cost?
It carries the same introductory rate as 3.7 Flash: $0.75 per 1M input tokens and $3.75 per 1M output tokens, through December 31, 2026. From January 1, 2027 the standard rate of $1.50 input and $7.50 output applies. Note that the per-token rate is unchanged but the model uses more tokens per task, so your bill can rise even though the price list did not.
What is the context window of Gemini 3.8 Flash?
Gemini 3.8 Flash supports a 1,048,576 token context window and up to 65,536 output tokens, the same envelope as 3.7 Flash. It accepts text, image, audio and video input and returns text. Its knowledge cutoff is March 2026 for most domains, with some limited to January 2025.
How is Gemini 3.8 Flash different from 3.7 Flash?
It is built on 3.7 Flash rather than a new base model, with the same specifications and price. The difference is behavioural: it runs extra reasoning steps and calls tools iteratively on complex tasks, which Google says improves accuracy and reliability at the cost of higher token consumption. Google recommends 3.7 Flash for workloads where compute efficiency matters most.
Does Gemini 3.8 Flash support the MINIMAL thinking level?
No. The supported thinking levels are LOW, MEDIUM (the default) and HIGH. Setting thinking_level to MINIMAL returns an API validation error, so check for that value in existing code before switching your model string to gemini-3.8-flash.
Who can use Gemini 3.8 Flash Cyber?
Access is limited to trusted defenders through Google's Fairwind Program, which prioritises government authorities, critical infrastructure operators and software maintainers. It shares the same foundational intelligence as 3.8 Flash but ships with more permissive cybersecurity mitigations, focused on vulnerability discovery and automated patching rather than exploitation.