by Google DeepMind

Gemini 3.8 Flash pricing, plans and limits

Sits below Gemini 3.1 Pro in Google's lineup as the fast, cost-efficient workhorse for long-horizon coding agents and enterprise document work.

Best for
Autonomous coding agents
Not for
Real-time chat or voice assistants
  • Available
  • Proprietary

Should you use Gemini 3.8 Flash?

Gemini 3.8 Flash is Google DeepMind's September 2026 Flash-tier release, further trained from Gemini 3.7 Flash with a 1M-token input window and 64K-token output ceiling. It replaces the prior Flash release for long-horizon coding and finance-document agents, though its slow time to first token rules it out for live chat or voice products.

Best for

  • Autonomous coding agents Iterative tool calling plus verified gains on SWE-Bench Pro and SWE-Atlas over its predecessor make it a solid long-horizon coding backend.
  • Enterprise finance and document workflows Leads the Vals Finance Agent v2 benchmark and pairs a 1M-token context window with PDF input for long filings.
  • Async, batch-style agent tasks Measured at 237 output tokens per second by Artificial Analysis, notably fast once generation starts, so long autonomous runs complete quickly.

Not for

  • Real-time chat or voice assistants Reasons before responding, producing a multi-second delay before the first token that reads as a stall in live conversation.
  • Cost-capped, high-volume simple tasks Tends to burn more output tokens than comparable models on the same task, which can erase the per-token price advantage.

Can you use Gemini 3.8 Flash?

  • Gemini API: yes (Free tier and paid tier). Free-tier prompts are used to improve Google's products.
  • Free plan: yes.
  • 1 Jan 2027: Price $0.75/$3.75 → $1.50/$7.50 (price doubles).

Gemini 3.8 Flash pricing

Input, per 1M tokens
$0.75/1M
Output, per 1M tokens
$3.75/1M
Cached input, per 1M tokens
$0.07/1M
Pricing model
per-token
Free tier
Free through Google AI Studio and unpaid Gemini API quota: input tokens, output tokens (including thinking tokens), and context caching are all free of charge, subject to Google's standard free-tier rate limits.

What a real job costs

JobInputOutputTotal
Summarise a 20-page PDF$0.022$0.0037$0.026
Support reply$0.0015$0.0011$0.0026
One coding agent run$0.150$0.075$0.225

Budgets: 20-page PDF = 30k in / 1k out · Support reply = 2k in / 300 out · Coding agent run = 200k in / 20k out. Computed from the vendor's per-token prices at render time; cached-input discounts are not applied.

Cost examples

Summarize a 100K-token research paper once, standard pricing (~3K-token output)
$0.09
Daily coding agent loop (1M tokens in / 200K out), standard pricing
$1.50
Batch-processed support replies (2M tokens in / 500K out) via the Batch API
$1.69

Paid-tier pricing is $0.75 per 1M input tokens and $3.75 per 1M output tokens (including thinking tokens) through December 31, 2026, rising to $1.50 and $7.50 on January 1, 2027. Cached input tokens are $0.075 per 1M through 2026 (then $0.15), plus $0.50 per 1M tokens per hour for cache storage (then $1.00). Batch and Flex modes cut standard input/output rates by half ($0.375 input and $1.875 output through 2026), and Priority serving is $1.35 input and $6.75 output through 2026 (then $2.70 and $13.50). Google Search grounding includes 5,000 free requests a month, then $14 per 1,000. A free tier is available through Google AI Studio and unpaid API quota.

What Gemini 3.8 Flash can do

Gemini 3.8 Flash is Google DeepMind's Gemini 3 Flash-tier model, released September 2, 2026, scoring 90.8% on Terminal-Bench 2.1, ahead of GPT-5.6 Terra's 87.4% and Claude Sonnet 5's 80.4% in the same third-party comparison. It takes text, image, video, audio, and PDF input across a 1M-token context window, built for long-horizon coding agents.

What goes in and what comes out

Reads

  • text
  • image
  • video
  • audio
  • pdf
  • tool-calls

Writes

  • text
  • tool-calls

Capabilities

  • Audio inputSupported
  • Code executionSupported
  • Function callingSupported
  • Structured outputSupported
  • Tool useSupported
  • Video inputSupported
  • VisionSupported
  • Web browsingSupported
  • Audio outputNot supported
Computer use
preview
Reasoning modes
low, medium, high

Key features

  • 1M-Token Multimodal Context

    Reads text alongside images, video, audio, and PDFs in a single request, with room for large codebases or long filings in one call.

  • Configurable Thinking Levels

    Low, medium, and high reasoning-effort settings trade latency and token spend for deeper multi-step reasoning on a per-request basis.

  • Long-Horizon Agentic Coding

    Scores 61.6% on SWE-Bench Pro and 51.9% on SWE-Atlas, both gains over its predecessor, with iterative tool calling and roadblock navigation built in.

  • Context Caching

    Repeated system prompts or long reference documents can be cached at a steep discount off the standard input rate, cutting cost on repeat-context workloads.

  • Computer Use and Grounding (Preview)

    Ships a preview computer-use control loop plus built-in search, URL-context, and Google Maps grounding alongside standard function calling and structured outputs.

Known limitations

  • No native audio or image output; text is the only output modality.
  • Time-to-first-token averages close to 13 seconds in independent testing (Artificial Analysis), well above the roughly 3-second class median.
  • Uses noticeably more output tokens than the median comparable model to complete the same benchmark tasks, per Artificial Analysis, which can offset the per-token price advantage.

Who it is for

  • Teams building autonomous, long-horizon coding agents
  • Enterprise finance and document-analysis workflows
  • Developers building on Google Antigravity or Vertex AI
  • Backend, async, and batch agent pipelines rather than live chat products

Gemini 3.8 Flash benchmarks

Gemini 3.8 Flash against its nearest rivals

Output speed tokens per second, higher is better

Standout result

90.8%

Terminal-Bench 2.1 agentic coding score, ahead of GPT-5.6 Terra (87.4%) and Claude Sonnet 5 (80.4%) in the same comparison

Source: DataCamp benchmark comparison, published alongside Google's Sept 2, 2026 release

Where it sits

Priced around the middle of the 111 GA models with a published price (rank 48), rank 10 of 62 on output speed as cited from Artificial Analysis, and one of 91 whose vendor states it does not train on customer data.

MeasureThis modelRankMedian
Blended price (3:1)$ per 1M tokens$1.50/M#48 / 111peer median $1.71/M
Output speedtokens/s237 tok/s#10 / 62peer median 95 tok/s

Ranks are against GA models on Hokai that publish the same figure; ties share a rank.

Benchmark scores

Show all 10 benchmark scores
  • Terminal-Bench 2.1 vendor-reported · 04 Sep 202690.8%Multi-step tasks completed in a real command line, % solved.
  • CharXiv vendor-reported · 04 Sep 202686.2
  • DeepSWE v1.1 Min Success Rate vendor-reported · 05 Oct 202670
  • SWE-bench Pro vendor-reported · 04 Sep 202661.6%Harder, longer real-repository coding tasks, % solved.
  • Vals Finance Agent v2 vendor-reported · 05 Oct 202661.4
  • HLE Verified vendor-reported · 05 Oct 202654.9
  • SWE Atlas vendor-reported · 04 Sep 202651.9
  • Humanity's Last Exam vendor-reported · 04 Sep 202645.4%Expert-written questions across many fields, % correct.
  • AA Intelligence Index cited: Artificial Analysis · 05 Oct 202641Composite of the evaluations Artificial Analysis runs for its index, 0 to 100.
  • τ³ Bench Banking vendor-reported · 04 Sep 202638.1

Measured figures

Output speed
237 tok/s

A benchmark is an exam, not the job. Scores transfer unevenly between tasks, so weigh the one closest to your workload and read every figure with its source.

Strengths and limits

Strengths

  • Beats its own predecessor and two named frontier competitors on the same agentic terminal-task benchmark, per independent third-party disclosures.
  • Artificial Analysis measured 237 output tokens per second for the high-reasoning configuration, notably fast once generation starts, which suits long autonomous runs.
  • Context caching cuts input costs by roughly 90% on repeated system prompts or reference documents, per Google's published pricing page.
  • A free tier through Google AI Studio and unpaid API quota needs no credit card to start experimenting.
Show 3 more
  • Improves on every disclosed benchmark versus its predecessor, including SWE-Bench Pro (60.4% to 61.6%) and SWE-Atlas (48.0% to 51.9%), per DataCamp's independent comparison.
  • Ranks fastest output throughput in its Artificial Analysis cohort at 326.9 tokens/second, so long autonomous agent runs finish quickly once generation starts.
  • Leads the Vals Finance Agent v2 benchmark at 61.4% per Google's own disclosure, backed by a 1M-token context window for long filings and multi-document review.

Limits

  • Time-to-first-token averaged close to 13 seconds in an early-September Artificial Analysis measurement, a poor fit for live chat or voice products.
  • Runs meaningfully more verbose than the median comparable model on identical benchmark tasks, which can offset its per-token price advantage on some workloads.
  • No native audio or image output; every response comes back as text regardless of what modalities went in.

Gemini 3.8 Flash alternatives

The nearest AI models on Hokai for the same job.

ModelLabContextIn / out per 1MReads and writes
Gemini 3.8 Flash This pageGoogle1M$0.75 / $3.75text, image, video, audio, pdf → text
Amazon ErgoAmazon's open-weights model for coding agents: a 1M-token context window, text only, with weights on Hugging Face since December 2026.Amazon1M$1 / $3text → text
GLM-5.4Z.ai's GLM-5.4 loops a 750B base twice, takes text, image and video in a 1M-token window, and is on the GLM Coding Plan before its API.Z.ai1M--text, image, video → text
InfiX-V1InfiX-V1 is a 209B mixture-of-experts model with 14B active parameters and a 256K context window, released 1 December 2026 with an MIT base checkpoint.InfiX262K--text → text

Gemini 3.8 Flash specs

Context window
1.0M tokens
Max output
66K tokens
Latency (P50)
12910 ms
Tokens per second
237 tok/s
Architecture
Transformer (sparse Mixture-of-Experts)
Mixture of experts
Yes
Parameters
Not disclosed

Training data

Not published separately for 3.8 Flash; Google's model card defers to the Gemini 3.7 Flash card, which describes a mix of public web documents, code, images, audio and video, plus licensed and synthetically generated data. 3.8 Flash is a further-trained iteration of 3.7 Flash rather than a new base model.

API endpoints

NameEndpointAuth
Gemini API (Google AI Studio)https://ai.google.dev/gemini-api/docs/models/gemini-3.8-flashAPI Key
Google Vertex AIhttps://cloud.google.com/vertex-aiGCP IAM

SDKs

  • Python
  • JavaScript/TypeScript
  • Go
  • Java

Prompting patterns

Show 2 prompting patterns
  • Set an explicit thinking level

    Pass thinking_level: 'low' | 'medium' | 'high' in the API request (minimal is not supported).

    Reasoning depth is a configurable dial, not a fixed default; a lower level materially cuts output-token spend on straightforward tasks.

  • Cache long, reused context

    Enable context caching for a repeated system prompt or reference document within the 1M-token window.

    Cached input bills at a steep discount off the standard rate, which pays off fast on repeat-context workloads.

Known quirks

Show 5 known quirks
  • Verbose by default, burns extra tokens

    Artificial Analysis generated 170M output tokens to complete its Intelligence Index v4.3.2 suite for the high-reasoning configuration, against a 81M median across comparable models, roughly double.

    Workaround: Set thinking_level to low for straightforward tasks and cap max_output_tokens explicitly; test real workloads rather than trusting the per-token price alone.

  • Slow to start responding

    Time-to-first-token averages close to 13 seconds (Artificial Analysis measured 12.91s), because the model reasons before it starts emitting output, versus a roughly 3-second class median.

    Workaround: Route latency-sensitive, user-facing chat or voice traffic to a faster model and reserve 3.8 Flash for async, batch, or agentic backend tasks where total throughput matters more than time to first token.

  • Same base model as its predecessor

    Google's own model card states Gemini 3.8 Flash is built on Gemini 3.7 Flash rather than a new base model, deferring the Architecture, Training Dataset, and Safety Policy sections of the 3.8 Flash card to the 3.7 Flash card.

    Workaround: For workloads where the prior version's benchmark scores are already sufficient, staying on it costs the same per token with no functional loss; upgrade specifically for the coding, agentic, and long-context gains 3.8 Flash does show.

  • Multilingual safety regressed slightly

    The Gemini 3.8 Flash model card reports a small regression on multilingual safety evaluations and on unjustified-refusal rate compared with the prior release, though Google still classifies the change as within its acceptable range.

    Workaround: For non-English deployments handling sensitive content, add an explicit system-prompt safety policy and monitor refusal and compliance rates in production rather than relying on defaults.

  • Introductory pricing expires January 1, 2027

    The launch price of $0.75 input / $3.75 output per 1M tokens is explicitly introductory and doubles to $1.50 / $7.50 on January 1, 2027, per Google's published pricing page.

    Workaround: Budget for the post-2026 rate in any cost model that extends past the introductory window, and revisit vendor selection before the price doubles if the workload is cost-sensitive.

Gemini 3.8 Flash facts

Deployment
API · Google Vertex AI · Google AI Studio
Trains on your data
No
Safety posture
Balanced
Released
02 Sep 2026
Current version
gemini-3.8-flash
Knowledge cutoff
01 Mar 2026
Family
Gemini 3 Flash
Variant
Multimodal
Licence
Proprietary (Google APIs Terms of Service + Gemini API Additional Terms of Service)
Data retention
On the paid Gemini API and Vertex AI, Google states prompts and responses are not used to train its models, and are retained only briefly for abuse detection, safety, and legal compliance. On the free Google AI Studio tier and unpaid API quota, submitted content may be used to improve Google's products and may be reviewed by people. Users in the EEA, Switzerland, and the UK get the paid-tier data terms applied even on free usage, per the Gemini API Additional Terms of Service.

Content restrictions

  • Follows Google's standard prohibited-use policy and refuses clearly harmful content per the Gemini API usage policies.
  • Frontier Safety Framework evaluation found no Tracked or Critical Capability Levels reached, so no elevated deployment restrictions apply beyond the standard policy.

Safety controls

Rlhf
Yes
System prompt
Yes
Constitutional AI
No
Content filter API
Yes
Red teaming
Manual red teaming by a specialist team outside model development, per the Gemini 3.8 Flash model card; the Frontier Safety Framework assessment from Gemini 3.7 Flash was carried over rather than re-run, since Google's evaluation found no meaningful new capabilities.

Data governance

Trains on inputs
No

Version history

  • gemini-3.8-flash · 02 Sep 2026

    Further-trained iteration of Gemini 3.7 Flash. Gains vs 3.7 Flash: Terminal-Bench 2.1 90.8% (was 81.6%), SWE-Bench Pro 61.6% (was 60.4%), SWE-Atlas 51.9% (was 48.0%). Same introductory per-token pricing as 3.7 Flash.

  • gemini-3.7-flash · 13 Aug 2026

    Predecessor. Introduced the 1M-input/64K-output class and the coding/agent focus that 3.8 Flash builds on.

What changed

  • Pricing change Introductory pricing confirmed through December 31, 2026 source
  • New feature Gemini 3.8 Flash Cyber ships as a restricted cybersecurity sibling source
  • Release Gemini 3.8 Flash launches with agentic and coding gains over 3.7 Flash source

Questions about Gemini 3.8 Flash

How much does the Gemini 3.8 Flash API cost per million tokens?

On the paid tier, input runs $0.75 per 1M tokens and output $3.75 per 1M tokens through the end of 2026 (thinking tokens bill as output); the standard rate doubles to $1.50 and $7.50 from January 1, 2027. Cached input is $0.075 per 1M tokens over the same period. Batch and Flex are half the standard rate, Priority serving costs more, and Google AI Studio plus unpaid API quota stay free of charge.

How does Gemini 3.8 Flash perform against GPT-5.6 and Claude Sonnet 5?

Gemini 3.8 Flash leads Terminal-Bench 2.1 at 90.8%, compared with 87.4% for GPT-5.6 Terra and 80.4% for Claude Sonnet 5 in the same third-party comparison. Google's own testing separately puts it at 54.9% on HLE-Verified and above 70% on DeepSWE v1.1 for long-horizon software engineering, figures it does not break out for GPT or Claude directly. It generally wins on agentic terminal and coding tasks; broader general-reasoning leaderboards were not part of the disclosed comparison.

Is Gemini 3.8 Flash open source?

No. Gemini 3.8 Flash is proprietary and API-only, licensed under Google's Gemini API Additional Terms of Service, with no downloadable weights. It is available through the Gemini API, Google AI Studio, and Google Vertex AI, alongside Google's own Antigravity IDE and the consumer Gemini app.

Does Gemini 3.8 Flash train on the data you send it?

On the paid Gemini API and Vertex AI, Google states it does not use prompts or responses to train its models, retaining them only briefly for abuse detection, safety, and legal compliance. On the free Google AI Studio tier and unpaid API quota, submitted content may be used to improve Google's products and may be reviewed by people. Users in the EEA, Switzerland, and the UK get the paid-tier data terms applied even on free usage.

Who should use Gemini 3.8 Flash, and who should avoid it?

It fits teams running autonomous coding agents, terminal-based agent tasks, and long, document-heavy finance or enterprise workflows, where its coding and agentic benchmark gains over its predecessor are real. It is a weak choice for latency-sensitive chat or voice products, given its multi-second time to first token, and for cost-capped, high-volume simple tasks, since it tends to use more output tokens than comparable models on the same task. Teams already satisfied with the prior Flash release's capability level have no cost reason to switch immediately.

About Gemini 3.8 Flash

As the fourth Flash-tier release in the Gemini 3 family from Google DeepMind, Gemini 3.8 Flash arrived on September 2, 2026, three weeks after Gemini 3.7 Flash and roughly four months after the line's prior refresh. It is a sparse Mixture-of-Experts transformer that Google's own model card describes as further-trained on top of Gemini 3.7 Flash rather than a new base model; Google defers the Architecture, Training Dataset, and Hardware sections of the 3.8 Flash model card to the 3.7 Flash card for that reason. Exact parameter counts are not disclosed, consistent with every Gemini release to date. Google positions it as its most intelligent workhorse model yet for coding and agents, aimed at long-horizon software engineering, autonomous agent loops, and document-heavy enterprise work, sitting below Gemini 3.1 Pro in the lineup but priced and tuned for high-volume, latency-tolerant workloads.

Read the full background

Independent testing by DataCamp shows gains across every disclosed benchmark versus its predecessor: SWE-Bench Pro rose from 60.4% to 61.6%, SWE-Atlas from 48.0% to 51.9%, tau3-bench Banking from 30.9% to 38.1%, and the multimodal CharXiv benchmark from 84.5% to 86.2%; its terminal-agent benchmark improved as well, with the exact figure and rival comparison covered in the benchmarks FAQ. Google's own model page separately reports 54.9% on HLE-Verified, a DeepSWE v1.1 success rate that clears 70% on its long-horizon coding task suite, and a leading 61.4% on the Vals Finance Agent v2 benchmark. Artificial Analysis scored the high-reasoning configuration at 41 on its Intelligence Index v4.3.2 (its listing text calls that well above the comparable-model median of 26) and measured 237 output tokens per second, while noting the model is very verbose: 170M tokens generated across the index against a median of 81M, at about $1.24 per index task.

The model keeps the 1M-input, 64K-output token class Google introduced with Gemini 3.6 Flash and carried through 3.7 Flash. Google has not published a dedicated long-context recall evaluation specific to 3.8 Flash, so buyers evaluating retrieval accuracy above roughly 100K tokens should run their own needle-in-haystack test rather than assume parity with the flagship Pro model.

Input modalities cover text, image, video, audio, and PDF; output is text only, with no native audio or image generation. The model supports function calling, structured outputs, code execution, search grounding, URL-context grounding, Google Maps grounding, and a preview computer-use control loop for driving a browser or desktop. Three thinking levels (low, medium, high) let a caller trade latency and token spend for deeper reasoning; a minimal setting, offered on some sibling models, is not supported here.

Google priced the launch at parity with its immediate predecessor, with a temporary introductory rate on the paid tier that expires at the end of 2026 and roughly doubles at the start of 2027; see the pricing FAQ for the exact per-token figures. Google also offers a no-cost tier for experimentation, and context caching, batch processing, and a Flex mode each cut costs further for repeat-context or asynchronous workloads; a Priority tier buys faster-lane serving for latency-sensitive traffic. For a cheaper step down, compare Gemini 3.6 Flash; for a stronger reasoning tier, Gemini 3.5 Pro. On a representative workload, summarizing a long research document as a single call costs a small fraction of a dollar, and a full day of a coding agent moving roughly a million tokens through the model lands around a dollar and a half.

Gemini 3.8 Flash is available through the Gemini API and Google AI Studio, Google Vertex AI as part of the Gemini Enterprise Agent Platform, the consumer Gemini app for Pro and Ultra subscribers, Gemini in Google Sheets, AI Mode in Search, and Google's own Antigravity IDE, which the company is positioning as a direct answer to Cursor and GitHub Copilot. Third-party access includes Cursor, which added the model shortly after launch, and Google AI Studio (listing) is the free place to try it. Google documents official SDKs for Python, JavaScript/TypeScript, Go, and Java alongside the REST API; per-region availability and rate limits are set inside each account's AI Studio or Vertex console rather than published as one public table.

Google's safety write-up for 3.8 Flash largely defers to the Gemini 3.7 Flash model card too: because the company's Frontier Safety Framework evaluation found no meaningful new capabilities and no Tracked or Critical Capability Levels reached, it carried the 3.7 Flash assessment forward rather than re-running the full suite. Manual red teaming was still performed by a specialist team outside the model's development group, though Google does not name external red-team partners in the public card. The model card reports a small regression in multilingual safety and a small rise in unjustified refusals compared with the prior release, alongside otherwise stable automated safety metrics.

It suits teams building autonomous coding agents, long-running document or finance workflows, and terminal-based agent tasks where total throughput matters more than instant responsiveness; the agentic and coding gains over its predecessor are real and independently verified. It is a poor fit for latency-sensitive, user-facing chat or voice products, since it visibly reasons before it starts responding, and for teams on a fixed token budget who have not yet tested its heavier-than-average output verbosity against their own prompts. Teams that only need the prior Flash release's capability level and want to avoid any verbosity or safety-regression risk can stay on that version at the same price.

Training data specifics are not published separately for 3.8 Flash; the model card points to the 3.7 Flash card, which describes a mix of public web documents, code, and licensed and synthetically generated data. The stated knowledge cutoff is March 2026, though Google notes some domains reflect information only as current as January 2025. Data handling splits by tier: paid usage is excluded from training under Google's terms, while free-tier submissions can feed back into product development; the data-handling FAQ below has the full policy.

This is Google's third Flash release in six weeks and the fourth in under four months, following Gemini 3.6 Flash and Gemini 3.7 Flash on August 13, 2026. Alongside the general-purpose release, Google shipped a restricted cybersecurity sibling, Gemini 3.8 Flash Cyber, built on the same underlying model but gated behind a case-by-case Fairwind Program for vetted defenders rather than opened through the standard API.

The other side of the argument: against Anthropic and OpenAI, the case for Claude Sonnet 5 or GPT Terra rests on workloads this model's reasoning delay penalises, such as interactive chat, where a reply that starts sooner matters more than a cheaper token. Gemini 3.8 Flash also sits alone in the family for voice: real-time audio goes through the separate Gemini 3.8 Live models, since the Live API is not supported on this one.

Sources and guides

More AI Models on Hokai

  • Step 5StepFun's Step 5 reads text, images and video in a 1M-token window, is rated 40 by Artificial Analysis, and has been API only since 30 November 2026.
  • Kimi K2.8 PreviewMoonshot AI's Kimi Code model at the kimi-for-coding route since September 2026, with a 1M-token context window, image and video input and no published benchmark; Kimi K3.1 Pro is now Moonshot's top model.
  • Claude Sonnet 5.5Anthropic's fastest Sonnet-class model, launched in September 2026, with a 1M context and output more than 30% faster than Sonnet 5.
  • ERNIE-5.5-Flash-PreviewBaidu's text-only mixture-of-experts model with open weights, a 1M-token context and a free OpenRouter route; still a preview checkpoint.
  • Gemini Decision 1Google DeepMind's decision model scores many questions over one multimodal input and bills zero output tokens.
  • JevTypeSafe's first System One Model, launched in 2026: skips text generation for typed, calibrated decisions software can act on directly.