Gemini 3.8 Flash launches as the 'workhorse' model for software engineering, autonomous agents, and deep reasoning
Google has shipped three generations of Flash in six weeks. On September 2, the new Gemini 3.8 Flash model arrives with the same low cost and high speed as its predecessor, 3.7 Flash, but delivers major gains in long-horizon coding, complex reasoning, and cybersecurity offense and defense.
- Two versions are rolling out. Gemini 3.8 Flash is positioned as an all-purpose workhorse, tuned for software engineering, autonomous agent tasks, and multi-step deep reasoning.
- Gemini 3.8 Flash Cyber is built specifically for security work. It reaches state-of-the-art levels in vulnerability discovery and automated patching, and is primarily available through the Fairwind Program to trusted defensive organizations and professionals.
- Pricing stays the same as the 3.7 Flash launch rate: $0.75 per million input tokens and $3.75 per million output tokens.
Core capability upgrades: what's actually better?
Gemini 3.8 Flash is Google's general-purpose workhorse for high-frequency production workloads. It's now generally available under the API model ID gemini-3.8-flash, with support for up to a 1 million-token input context and 64,000 tokens of text output. Thinking effort can be set to low, medium, or high; medium is the default.
Google positions the model for three kinds of work: long-horizon software engineering, autonomous agent tasks, and multi-step reasoning in professional domains like finance, law, and science. Gemini 3.7 Flash isn't going away. For simple, high-volume, latency-sensitive requests, teams can stick with 3.7 or dial down the thinking effort on 3.8. The real argument for 3.8 is work that requires sustained tool use, checking intermediate results, and revising plans along the way.
The standard and Cyber versions share the same foundation model. Google credits the coding and reasoning gains to long-running agent loops plus cybersecurity training: the model repeatedly evaluates and refines its output during training, while security work provides demanding code analysis and reasoning practice.
Long-horizon coding and agents
DeepSWE v1.1 measures how well an agent can complete end-to-end software engineering tasks. Gemini 3.8 Flash scores 73.7%, compared with 3.7 Flash at 65.3%, an 8.4-point gain, and close to Claude Opus 5 at 74.0%. On the same benchmark, 3.8 Flash's average cost per task comes in well below Opus 5's.

This isn't a head-to-head comparison under strictly identical conditions. Gemini 3.8 ran with the mini-swe agent harness at high thinking effort; the other models used each vendor's best thinking configuration from Datacurve's public leaderboard. The 73.7% result shows the model approaches much pricier systems on this particular long-horizon coding test, but it shouldn't be read as a guarantee across all coding workloads.
Four full walkthroughs demonstrate game generation, legacy system reimplementation, real-data visualization, and 3D hardware structure generation. The outputs include runnable programs and interactive interfaces backed by external data.
Long-horizon generation
Four runnable outputs
3D magic castle game
Generates a playable game with puzzles, materials, and interactions in Antigravity.
DOS-style Google Maps
A single prompt produces a retro interactive map app.
Real-data topographic map
Pulls USGS data to build an interactive topographic map.
3D hardware structure
Creates a Three.js hardware model in AI Studio with layer-by-layer breakdown.
All four are successful runs, not evidence that typical projects will complete on the first try or reproduce reliably. They illustrate the kind of work the model is aimed at: continuously handling requirements, code, data, tools, and runnable artifacts, rather than just emitting text or a code snippet.
Broader capability gains
The broader evaluation set spans software engineering, finance, law, terminal use, chart understanding, long video understanding, cross-disciplinary reasoning, computer use, and biomedical research. The results show improvements over 3.7 Flash in some areas and deficits versus other models in others.

The main changes in 3.8 Flash compared with 3.7 Flash are: Vals Finance Agent v2 rose from 59.0% to 61.4%, Harvey's Legal Agent Benchmark from 8.8% to 10.0%, Terminal-bench 2.1 from 85.8% to 89.4%, OSWorld-2.0 from 50.6% to 59.0%, BioMysteryBench Human Difficult from 43.5% to 56.5%, and HLE-Verified from 53.6% to 54.9%. That last benchmark covers multi-step reasoning across STEM, humanities, and professional fields.
It doesn't top every chart. Claude Opus 5 leads on GDPVal-AA v2, Terminal-bench 4.0, OSWorld-2.0, and BioMysteryBench Human Solvable, while GPT-5.6 Sol wins on GDP.PDF. Because harnesses, tools, thinking settings, and data sources differ across these runs, the results sketch a capability profile rather than a unified ranking.
Price and real task cost
Gemini 3.8 Flash launches at the same intro pricing as 3.7 Flash: $0.75 per million input tokens and $3.75 per million output tokens, with thinking tokens included in the output price. Those rates hold through December 31, 2026; starting January 1, 2027, list pricing rises to $1.50 input and $7.50 output.
Identical token prices don't mean identical task costs. Google cautions that 3.8 Flash tends to run more reasoning steps and tool calls on complex tasks, which can mean more tokens, longer latency, and higher tool spend. Anyone considering an upgrade should measure completion rate, total tokens, wall-clock time, tool call volume, and how often a human has to step in across full task runs.
The defensive option: Gemini 3.8 Flash Cyber
Gemini 3.8 Flash Cyber shares the same underlying reasoning and coding capabilities as the standard model but adds specialized training for vulnerability discovery, validation, and automated patching. The general model keeps standard safeguards against chemical, biological, radiological, nuclear, and cyber misuse. The Cyber edition relaxes those cyber-specific mitigations, so it won't be offered through the public API; instead, it's available through the Fairwind Program to vetted defensive agencies, critical infrastructure operators, software maintainers, and security researchers.
Vulnerability discovery and patching
Gemini 3.8 Flash Cyber
Finding vulnerabilities
CyberGym tests C/C++ vulnerability discovery. For 3.8 Flash Cyber, Pass@1 is 86.2%, ahead of 3.5 Flash Cyber's 77.5% and GPT-5.5-Cyber's 85.6%. Google computed its own results; the other models' numbers come from model cards and public leaderboards, so run conditions aren't perfectly aligned.

Google also ran an internal dataset across 20 programming languages, covering 1,200 recent historical vulnerabilities. 3.8 Flash Cyber succeeded on 71.0% of them; 3.7 Flash scored 58.9%, while 3.5 Flash Cyber scored 46.6%. The broader language coverage is notable, but outside teams can't yet independently reproduce this dataset or the run.

Automated patching
The Cyber model is designed to find vulnerabilities first and then fix them. Google says it prioritized remediation ahead of offensive capabilities like exploitation from the start of development. On CWE-Bench, which tests whether a model produces correct patches, benchmark owner Collinear AI ran the evaluation with the Antigravity agent harness at high thinking effort. 3.8 Flash Cyber's Pass@1 is 47.2%, just below Fable 5's 47.8%, but its average cost per rollout is far lower.

Google says the model is already in use inside its own defensive workflows and those of partners: Chrome's security team landed 2.6 times more correct patches than with the best large commercial model; Wiz measured a 7.5–9.7 point improvement in internal penetration test recall with 2.3–5.2x lower cost; and Google Cloud's vulnerability research team found a critical infrastructure flaw in under two hours that would normally take months of research. Chrome and Cloud figures come from Google; Wiz reported its own internal test results. None of the three has been independently replicated under a unified protocol.
Access controls and prompt injection
Fairwind now covers more than 650 partner organizations. Participants undergo background and security record checks, and must enforce user identity verification, phishing-resistant MFA, access controls, and employee usage tracking. Access can't be resold, shared, or redistributed. Approved use cases include authorized threat simulation, reverse engineering, and malware analysis for defensive or academic purposes.
Gray Swan independently ran indirect prompt injection tests using its combined attack set with transfer only and no computer use. The metric is attack success rate, where lower is better. Under this specific setup, 3.8 Flash's success rate came in lower, but that doesn't mean prompt injection is solved for agents connected to browsers, email, codebases, and third-party tools.

Who should upgrade
- Stick with 3.7 Flash if tasks are short, structurally stable, and high-volume, with latency and cost as the main priorities.
- Move to 3.8 Flash if work needs long context, multi-step reasoning, sustained tool calls, or code modification, and failed runs are expensive to fix manually.
- Apply for 3.8 Flash Cyber if your organization has a legitimate need for vulnerability research or patching and can meet Fairwind's identity, permission, and audit requirements.
Where to get it
- Developers: Call 3.8 Flash through the Gemini API and Google AI Studio, or use it in Google Antigravity, Android Studio, and Stitch.
- Enterprises: The general model is available in Gemini Enterprise.
- Consumers: Google AI Pro and Ultra subscribers can access it in Gemini, AI Mode in Google Search, and Google Sheets.
- Security teams: Apply for Flash Cyber through the Fairwind Program. Approved teams can use it standalone or with CodeMender. Access via managed models on the Gemini Enterprise Agent Platform supports zero data retention. Organizations that don't qualify for Fairwind can still pair CodeMender with the public model.
Before upgrading, benchmark 3.7 and 3.8 on the same harness with identical tool permissions and acceptance criteria. Test at least 20–50 real tasks and track completion rate, total tokens, end-to-end latency, tool spend, and how often a human has to intervene. The default medium thinking setting isn't right for every workload; try low for simple tasks and high for critical ones.
The model can still hallucinate, slow down intermittently, or time out. Google lists the knowledge cutoff as March 2026, though some areas may still reflect January 2025 data. In internal automated safety evals, compared with 3.7 Flash, multilingual safety metrics slipped 5.4 points; Google says human review found most of the regression came from false positives or non-severe samples. The core case for Gemini 3.8 Flash is better completion rates on long-horizon work. Whether it's worth replacing 3.7 comes down to completion rate and total cost on your actual tasks.
Gemini 3.8 Flash routing guide
Flash 3.8 keeps the same initial token pricing as 3.7 but focuses on improving completion rates for long coding tasks, multi-step agent work, and specialized reasoning. Flash Cyber applies the same core capability to controlled vulnerability discovery and patching.
Gemini 3.8 Flash
General-purpose workhorse: long-horizon software engineering, autonomous agent tasks, and multi-step professional work in finance, law, and science.
3.8 Flash Cyber
Security-specialized version: finds, verifies, and auto-patches vulnerabilities. Available through Fairwind to vetted defensive organizations and professionals.
Long tasks rely on multiple rounds
- 01PlanProcess long context, break down tasks, and decide the next step.
- 02Use toolsRun code, pull data, or operate external tools.
- 03CheckAssess intermediate results instead of settling for the first answer.
- 04FixIterate based on failure signals until acceptance criteria are met.
Representative benchmarks: gains show up on complete tasks
73.7% versus 65.3% for 3.7 Flash, close to Claude Opus 5's 74.0%. Note: models were not run under identical conditions.
89.4% versus 85.8% for 3.7 Flash, measuring coding tasks that require terminal use.
56.5% versus 43.5% for 3.7 Flash, reflecting difficult biomedical research workflows.
Cyber: find, verify, patch, then go through an access gate
- 01Discover vulnerabilities
CyberGym Pass@1: 86.2%. On a Google internal set of 1,200 recent historical vulnerabilities across 20 languages, it scores 71.0%.
- 02Generate patches
CWE-Bench Pass@1: 47.2%, close to Fable 5's 47.8%, at a lower average cost per rollout.
- 03Controlled access
The Cyber version is not in the public API. Fairwind requires identity vetting, phishing-resistant MFA, access controls, and usage tracking.
Decide based on full tasks, not just token price
Use it for short, structured tasks with heavy call volume where latency and cost are the main concerns.
Choose this when tasks need long context, multi-step reasoning, continuous tool use, or code changes, especially if manual rework after failure is expensive.
Apply if you have legitimate vulnerability research or patching needs and can meet Fairwind's identity, permission, and audit requirements.
Completion rate, total tokens, end-to-end latency, tool costs, and human takeover rate. Same token price does not mean same task cost.
Same token price, different job
DispatcherPrice is unchanged, so switch everything to 3.8?
Version 3.8 and 3.7 charge the same for initial tokens, but the tasks they handle differ.
DispatcherShort, stable traffic—3.7 remains a good fit.
Upgrading doesn't wipe out the old model. For short, stable, high-volume tasks, 3.7 still works.
- 01
- 02
- 03
- 04
Flash RunnerCheck the failure cause first, then revise.
The focus of 3.8 is sustaining multi-round planning, tool calls, checks, and fixes. DeepSWE v1.1 improves from 65.3% to 73.7%.
Fairwind guardCyber edition isn't on the public API. Verify defensive use and access control first.
Stronger security also means stricter admission, identity, and audit requirements.
Security researcherFinding the flaw is just the start. The patch must pass verification.
CyberGym Pass@1 sits at 86.2%; CWE-Bench Patch Pass@1 is 47.2%. These benchmarks can't be merged or compared directly.
DispatcherRun 20 to 50 real tasks first, then decide how much traffic to shift.
Same token price isn't the same task cost. Upgrade decisions should hinge on end-to-end completion results.
Members can copy or download the full Markdown, and let their AI subscribe and ask.
Found this useful? Leave your email — every new explainer, the moment it's out. Unsubscribe anytime.
