ModelRefs / Gemini 3.8 Flash - AI model implementation reference

Gemini 3.8 Flash - AI model implementation reference

Gemini 3.8 Flash is Google's current Flash model, released on 2 September 2026 as gemini-3.8-flash and listed as Stable. It accepts text, images, video, audio and PDF and returns text, with a 1,048,576-token input window, a 65,536-token output limit, a March 2026 knowledge cutoff and thinking levels low, medium and high (medium by default). Google describes it as designed for cost-effective scaling of general-purpose agents and says it is built on Gemini 3.7 Flash. Google prices it at $0.75 per million input tokens and $3.75 per million output tokens through 31 December 2026, and doubles every paid rate on 1 January 2027. Requests to gemini-3.7-flash and, from 1 December 2026, to the deprecated gemini-2.5-pro are routed to it.

Overview

Gemini 3.8 Flash is attributed to Google in ModelRefs' canonical registry. Tracked modalities: Text output, Text, image, video, audio and PDF input. Primary use cases considered on ModelRefs: Long-horizon coding and agentic software work at Flash-tier cost; Multimodal document, video and chart understanding with a 1M-token input window; Tool-using agents that rely on function calling, code execution, search grounding or computer use.

This ModelRefs profile is decision-support material, not a final or universal ranking. Confirm current behavior, access, pricing, limits, licensing, and lifecycle in Google's own documentation, and evaluate Gemini 3.8 Flash on representative workloads before implementation.

Lifecycle

Active. The provider lists this model as current and supported.

Applies to
The Gemini Developer API; Vertex AI publishes its own lifecycle table.

Google's models page lists gemini-3.8-flash as Stable, released 2 September 2026, and its deprecations page announces no shutdown date. Google states every paid rate doubles on 1 January 2027.

Source: aistudio.google.com, checked 2026-11-22.

Pricing

Standard price per 1M tokens
$0.75 input / $3.75 output through 31 December 2026 introductory price
Cached input per 1M tokens
$0.075
Batch price per 1M tokens
$0.375 input / $1.875 output
Priority price per 1M tokens
$1.35 input / $6.75 output

From 1 January 2027 the standard price becomes $1.50 input / $7.50 output (2 times the current rate).

Google's page states no start date for the introductory price, and no prompt-size bands.

Search and Maps grounding are billed separately ($14 per 1,000 requests after 5,000 free a month, shared across Gemini 3 and later models).

Source: aistudio.google.com, checked 2026-11-22.

Benchmark & Evaluation

ModelRefs currently has partial, narrow benchmark coverage for Gemini 3.8 Flash. Treat the available benchmark evidence as one input to the decision, not a guarantee that Gemini 3.8 Flash is the strongest option for your workload, and evaluate it on representative workloads before selecting it.

  • No benchmark score is imported into this editorial record. Provider-reported evaluations are held as source-scoped canonical runs with their harness, effort and tool conditions attached; a number quoted here without those conditions would describe a different measurement.
  • Google's evaluation-methodology document states pass@1 with default sampling and multiple trials averaged on smaller benchmarks (counts not given). DeepSWE is self-computed with a mini-swe-agent harness at high thinking, Terminal-Bench 2.1 with the Terminus-2 harness, and OSWorld 2.0 is the best of three runs before the official 08.08 patch; Terminal-Bench 4.0 is a public-leaderboard entry Google reports. Each held run records its own conditions and sits on its own subset.

Implementation considerations

  • Thinking is set with thinking_level, which takes low, medium or high and defaults to medium according to Google's thinking guide and its Gemini 3.8 Flash page; minimal returns an error on this model. thinking_budget is replaced by thinking_level, and Google notes the model can use more tokens on long, complex tasks by design, so lower the level for everyday tasks and test cost at the level you will deploy.
  • Temperature, top_p, top_k and candidate_count are removed on Gemini 3 and later models, and prefilled model turns are no longer accepted, so code carried over from earlier Gemini models needs those parameters deleted. Multi-turn state is either held server-side (store with previous_interaction_id) or, in stateless use, every thought block must be resent exactly as received; Google states thought signatures are required to maintain reasoning continuity.
  • max_output_tokens covers thinking and answer tokens together: a response that reaches it ends with status incomplete and truncated output, and the thinking tokens are still billed. Google advises lowering thinking_level instead of setting a small cap, and bills thought tokens as output tokens.
  • Function calling follows Google's declare, call, execute and return flow, where executing the function is the caller's responsibility. On the generateContent API every FunctionResponse must include call_id and name, and multimodal assets belong inside the response payload.
  • Every paid rate doubles on 1 January 2027 (input $0.75 to $1.50, output $3.75 to $7.50 per million tokens), so a cost model built on current rates is wrong from that date; schedule a re-check before it. Search and Maps grounding each include 5,000 free requests a month (shared across Gemini 3 and later models) and then cost $14 per 1,000 requests.
  • Requests to gemini-3.7-flash (no longer available in Google AI Studio, but not shut down) route automatically to gemini-3.8-flash, and requests to gemini-2.5-pro route to it from 1 December 2026 and are billed at its rates, so pinned code changes model without an error. Set the model ID and thinking level explicitly and re-run your evaluations rather than relying on routing.
  • Available through the Gemini API as gemini-3.8-flash and, per the model card, in the Gemini app, Gemini Enterprise Agent Platform, Google AI Studio, Google AI Mode and Google Antigravity (it is the default model for the Antigravity agent and SDK). Google lists it as Stable with no preview model ID and announces no shutdown date; it states there is no required hardware or software to use the model.
  • Google's page lists code execution, computer use, context caching, file search, function calling, Maps and Search grounding, structured outputs, URL context, and Batch, Flex and Priority serving as supported, and audio generation, image generation and the Live API as not supported.
  • The Gemini Developer API and Vertex AI are separate contract and control surfaces; this profile reflects the Gemini API pages only.

Architecture disclosure

  • Google's model card states Gemini 3.8 Flash is based on Gemini 3.7 Flash, which is based on Gemini 3.6 Flash, which is based on Gemini 3.5 Flash; it does not publish architecture details, parameter count or training compute on the pages ModelRefs read.
  • What is documented is behavioural: thinking levels (low, medium, high), a 1M-token input window with a 64K output limit, text, image, audio and video input with text output, and the same suite of built-in tools as the earlier Gemini 3 Flash models.

Prompts and code examples

Gemini 3.8 Flash request with an explicit thinking level (Python, Interactions API)

from google import genai

client = genai.Client()

interaction = client.interactions.create(
    model="gemini-3.8-flash",  # the Stable model ID Google lists
    input="Classify this support ticket as billing, bug or feature request: 'The export button does nothing.'",
    generation_config={"thinking_level": "low"},
)

print(interaction.output_text)

Provider implementation source

Request body for the REST Interactions endpoint (POST /v1beta/interactions)

{
  "model": "gemini-3.8-flash",
  "input": "Review this pull request description and list the test cases it is missing.",
  "generation_config": { "thinking_level": "medium" }
}

Provider implementation source

Training disclosure

  • Google's model card states Gemini 3.8 Flash is based on Gemini 3.7 Flash, and the 3.7 and 3.6 Flash cards state the same of their predecessors, so the training dataset, data processing, hardware and software sections of each card point back along the chain to the Gemini 3.5 Flash card.
  • Google states a March 2026 knowledge cutoff, with some domains limited to January 2025 in line with the Gemini 3 family, and describes text, image, audio and video input with text output.
  • Google's card states the Frontier Safety Framework evaluation was run on Gemini 3.7 Flash, which did not reach any tracked or critical capability levels, and that Gemini 3.8 Flash is also unlikely to reach any based on those results; for child safety it states the model satisfied the required launch thresholds in human red teaming.
  • The training corpus composition, filtering, training compute, hardware and software are not published on the Gemini 3.8 Flash card or the 3.7 and 3.6 cards ModelRefs read.

History and source-reviewed changelog

  1. 2026-07-21 — Gemini 3.6 Flash released

    Google released Gemini 3.6 Flash, the model Gemini 3.7 Flash and then Gemini 3.8 Flash are built on; it remains available for production use.

    Milestone source
  2. 2026-08-13 — Gemini 3.7 Flash released

    Google released Gemini 3.7 Flash; it is no longer available in Google AI Studio and its API requests now route automatically to Gemini 3.8 Flash.

    Milestone source
  3. 2026-09-02 — Gemini 3.8 Flash released

    Google released Gemini 3.8 Flash as a Stable model with thinking levels, a 1M-token input window and an introductory price through 31 December 2026.

    Milestone source

Risks and limitations

  • Hosted-model behaviour, quotas, pricing and data controls can change without a client-side version pin; pin the exact model ID and re-check the provider's pricing and lifecycle pages before relying on a figure.
  • Provider-reported capabilities require task-specific evaluation before production reliance.
  • Closed weights under Google's terms: there is no self-hosted option.
  • Google's model card states the model may show the general limitations of foundation models, such as hallucinations, that there may be occasional slowness or timeouts, and that it might use more tokens to maximise performance at higher effort levels; it also states safety performance across non-English languages regressed slightly relative to Gemini 3.7 Flash in Google's automated evaluations.
  • Every held result is provider-reported; Google states general conditions but not trial counts or, for most rows, the thinking level, so none can be fully reproduced, and each sits on its own subset beside figures that state different harnesses.
  • ModelRefs holds results on three benchmarks for this model (DeepSWE, Terminal-Bench and OSWorld); reasoning, tool use, long context and hallucination resistance are not measured on registered benchmarks, so the model does not yet qualify for every use-case path.

Source coverage

ModelRefs reviewed published material from Google and Google DeepMind on 2026-11-22. Model behavior, access, pricing, limits, and lifecycle can change, so verify the linked provider documentation before implementation. What remains open is recorded on this page: Google's launch announcement was not found. The evaluation-methodology document was read (2026-11-22) but gives no trial counts and no thinking level for rows other than DeepSWE. Fit and comparison signals remain provisional until tested on your own workload.

Sources

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to Gemini 3.8 Flash - AI model implementation reference.