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.

By Google / Google DeepMind09-03 · 9 min read
Product launch · XiaoHu Explains
One-minute overview
  • 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.

Gemini 3.8 Flash scores 73.7% on DeepSWE v1.1 with lower average task cost than the larger models shown here.

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.

These four videos show runnable outputs. They are success cases, not typical results—most projects won't work on the first try or reproduce them reliably.

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.

Gemini 3.8 Flash compared with Gemini 3.7 Flash, Claude Opus 5, Claude Sonnet 5, GPT-5.6 Sol, and GPT-5.6 Terra across price and general benchmarks.

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

The video shows how this specialized model assists with vulnerability discovery and automated patching.

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.

CyberGym Pass@1: Gemini 3.8 Flash Cyber scores 86.2%.

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.

Google internal real-world vulnerability dataset: Gemini 3.8 Flash Cyber succeeds on 71.0%.

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.

CWE-Bench patch success versus average rollout cost; 3.8 Flash Cyber scores 47.2%.

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.

Gray Swan indirect prompt injection attack success rates; lower is better.

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

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.

Source
Introducing Gemini 3.8 Flash and 3.8 Flash CyberTulsee Doshi, Raluca Ada Popa·2026-09-02·View primary source
Site note
This article is based on Google's September 2, 2026 release notes, developer documentation, model cards, and evaluation methodology pages. The benchmark results include vendor self-reported scores, third-party leaderboards, and internal baselines; the text indicates the evidence boundaries for each item. Prices are introductory and valid through December 31, 2026.
↑ End of article
✓ This article is free to read in full

Members can copy or download the full Markdown, and let their AI subscribe and ask.

Read the original ↗
📮 New explainers, straight to your inbox

Found this useful? Leave your email — every new explainer, the moment it's out. Unsubscribe anytime.