Google DeepMind: Gemini and Gemma

Why Google's closed and open models are built the way they are: one sparse, multimodal line trained on TPUs and distilled downwards, a thinking level per request, and open models built to fit one machine. Every figure links to its source; data as of November 2026. Reading: 32 min, plus 16 in closed details.

Google trains one sparse, natively multimodal model line on its own TPUs and distils it downwards: into the Flash and Flash-Lite tiers of the closed Gemini API, and into the open Gemma models built to fit one machine. Since Gemini 2.5 the caller also sets how hard each request thinks, so what a task costs depends more on how many tokens it spends than on the price list.

You need: Mixture of experts (total against active parameters), Attention variants (sliding-window layers), Long context (KV-cache sizing) and Distillation and small language models. This page says what Google chose and what it shows; those pages teach the mechanisms.

New terms

Pro, Flash, Flash-Lite
The three Gemini price tiers, largest to smallest. Pro trains at the frontier; Flash and Flash-Lite are smaller models distilled from a larger teacher. The Gemini 4 models carry element names: Argon (September 2026) and Carbon (October 2026) above Pro, Hydrogen (November 2026) in Flash's place, and Neon (November 2026) between Hydrogen and Carbon, adapted from Carbon.
Thinking level
thinking_level: minimal, low, medium or high (xhigh on Hydrogen and Neon), set per request; it replaced the 2.5 models' token budget.
Thought signature
An encrypted representation of the model's reasoning state that every response carries and multi-turn tool use must send back.
Media resolution
How many tokens an image, video frame or PDF page costs (70 or 280 tokens per frame on Gemini 3).
Effective parameters (E2B, E4B)
Effective 2B and 4B: the parameters that must sit in accelerator memory, not the checkpoint size.
A-notation (26B A4B)
26B total, about 4B active per token: a mixture of experts.
Fairwind Program
Google's vetted-access channel, open to governments, critical infrastructure operators and software maintainers who apply, for models not sold openly.
Fig. 1 · One pipeline, two families: the frontier model teaches the cheaper tiers and the open models, all on Google's own silicon

Gemini (closed, purple) is sold through the Gemini API, Vertex AI, Google's products and, since September 2026, Apple's Siri; Gemma (open, green) is weights you download, under Apache 2.0 since Gemma 4. The left column's question is what a request costs; the right column's is what fits in a given amount of memory. Each box is a section below.

The families in one screen

LineWhat it isHow you get it
Gemini 4 CarbonGoogle's strongest model, for cyber defence and long-horizon workAnnounced 28 October 2026 for vetted cyber defenders through the Fairwind Program; paid API and Gemini for business from 10 November
Gemini 4 NeonThe middle tier, "adapted from Gemini 4 Carbon" by its model card, between Hydrogen and Carbon in pricePaid API, AI Studio, Gemini for business, Antigravity and the Gemini app (AI Pro and Ultra) from 18 November 2026
Gemini 4 ArgonThe first Gemini 4 model above Pro, for long-horizon software engineering, legal and finance work and cyber defenceAnnounced 30 September 2026 for vetted cyber defenders first; paid API from 13 October
Gemini 4 HydrogenThe Flash line's successor, Google's "daily driver for agentic workflows"API, Google Cloud, the Gemini app and Search from 12 November 2026
Pro (3.1 Pro)The Pro tier: complex problems and agentic workAPI, still a preview since 19 February 2026
Flash, Flash-LiteDistilled tiers; since 2026 the release cadence has been on Flash (four generations between May and September 2026)API, stable
Gemini Decision 1A scoring model, not a generator: it answers up to 1,000 closed-set questions about one text, image, audio, video or PDF input in a single passDecisions API, from 11 November 2026
LiveThe real-time voice line: audio in, audio out, with tool calls during the conversationLive API
Deep ThinkA reasoning mode that runs several lines of thought in parallel and combines themA mode in the Gemini app, not a model you call in the API
Cyber variants3.5 Flash Cyber and 3.8 Flash Cyber, tuned to find and fix software vulnerabilitiesNot sold openly: Fairwind only
GemmaOpen weights: E2B and E4B for phones, a dense 12B Unified and 31B, and the 26B A4B mixture of expertsDownload; Apache 2.0 since Gemma 4
T5Gemma, EmbeddingGemmaThe encoder-decoder and embedding branch of GemmaDownload

How the design got here

The order explains the design: each step below added one of the properties in the hero figure.

  1. Dense, on its own silicon (2022 to 2023). PaLM and PaLM 2 were dense models trained on TPU pods. PaLM's 540B run showed Google could train at frontier scale on its own silicon and orchestration layer, and it was one of the models on which chain-of-thought prompting was first shown to work at scale. After Google Brain and DeepMind merged in 2023, Gemini was built as the successor with two departures designed in: sparsity instead of dense scaling, and multimodality in pretraining instead of bolted on afterwards.
  2. Gemini 1.0 (December 2023) came in Ultra, Pro and Nano; Nano (1.8B and 3.25B parameters) was the on-device model (Wikipedia).
  3. Long context from sparsity (Gemini 1.5, February 2024). A sparse MoE keeps compute per token at the active parameters, so pushing a million tokens through the model stays affordable; native multimodality makes video more tokens in the same window rather than a separate pipeline with its own failure modes. 1.5 Pro launched with a 1M-token window, opened to every developer at 2M tokens in mid-2024, and was reported with "near-perfect retrieval (>99%) up to at least 10M tokens", against 128K (GPT-4 Turbo) and 200K (Claude 3.0) at its rivals (Gemini 1.5 report).
  4. Thinking, and distilled tiers (2.0 in December 2024, 2.5 in March 2025). 2.5 Pro made thinking the default, and the 2.5 models gave the caller a thinking budget, a cap on reasoning tokens, which "allows users to trade off performance with cost" (Gemini 2.5 report); thinking levels have since replaced it, even on the 2.5 models. The report states the architecture plainly: sparse MoE transformers with native multimodal input, a 1M-token window on Pro and Flash, and Flash and below trained by distillation.
  5. Width instead of depth (Deep Think, July 2025). Several reasoning threads at once, then a selection or combination step: the same budget spent in width. It reached the official gold-medal standard at the 2025 International Mathematical Olympiad, 35 of 42 points, 5 of 6 problems, end to end in natural language within the 4.5-hour limit (Google DeepMind). Parallel exploration buys independence between attempts, which one longer trace does not; the selection step is where it succeeds or fails. The general mechanism, and the selectors that make it work, are on Test-time compute and reasoning, sections 2 to 4.
  6. Per-request controls (Gemini 3, November 2025). Gemini 3 Pro (18 November 2025) is a sparse MoE transformer with native text, vision and audio input, a 1M-token window and 64K output, trained on TPUs with JAX and ML Pathways (model card). It introduced thinking levels and media-resolution controls in the API; 3 Flash followed on 17 December (release notes). 3.1 Pro (19 February 2026) replaced 3 Pro and is the current Pro tier, 1,048,576 tokens in and 65,536 out, still a preview more than seven months on.
  7. Flash carries the cadence (2026). Four Flash generations reached general availability in four months: 3.5 Flash (19 May, at Google I/O), 3.6 Flash with 3.5 Flash-Lite (21 July), 3.7 Flash (13 August) and 3.8 Flash (2 September) (release notes). The gains came partly from spending more test-time compute per task (Works harder), which blurs the tier distinction the price list implies. The frontier models, Gemini 4 Argon and then Carbon, went first to vetted cyber defenders through Fairwind and reached paying developers two weeks later, the same release shape as Anthropic's Mythos class (Anthropic: Claude family). Gemini 4 Hydrogen (12 November) then replaced Flash as the volume model at twice 3.8 Flash's introductory per-token price, with an xhigh thinking level above high (Google), and Gemini 4 Neon (18 November), adapted from Carbon, filled the gap between Hydrogen and Carbon and took Argon's place in the Gemini app (Google).
Fig. 2 · Two families on one axis: the 2026 Flash cadence against a Pro tier that stayed on one preview
Gemini releaseshutdown or restrictionGemma release

Gemini (closed) above the line, Gemma (open) below. Click or tap a dot to open its dated card under "Every release, dated" below.

Every release, dated (the cards behind the timeline)
Release notes: what Google and independent evaluators reported for the 2025 and 2026 releases

Gemini 1.5's other memorable result. Given a grammar manual for Kalamang, a language with fewer than 200 speakers, the model learned to translate English to Kalamang at about the level of a person who learned from the same material (Gemini 1.5 report).

2.5 and agents. The agentic push dates from here: Project Mariner for browser control, and Jules, an asynchronous coding agent (Other coding harnesses).

Deep Think against formal provers. The year before the IMO gold, AlphaProof and AlphaGeometry 2 reached silver (28 points) only after experts translated the problems into the formal language Lean, and took two to three days (Google DeepMind). Gemini 3 Deep Think followed in December 2025 as a mode in the Gemini app.

3.6 Flash and 3.5 Flash-Lite (21 July 2026). 3.6 Flash used 17% fewer output tokens than 3.5 Flash, and 3.5 Flash-Lite generated 350 output tokens per second in Artificial Analysis' measurement (Google). The same release deprecated the temperature, top_p and top_k sampling parameters across the API (release notes).

3.8 Flash (2 September 2026). On the Artificial Analysis Intelligence Index v4.3 (methodology v4.3.2, read 1 October 2026), 3.8 Flash at high thinking scores 40.9 against 39.1 for 3.7 Flash, below GPT-5.6 Sol (47.0) and Grok 4.6 (44.3) (Artificial Analysis). Launch-day index figures, such as The Register's 59 against 56 and "about 40 percent more per task" (The Register), were on a version of the index before v4.2 and do not compare with these. Google reports 54.9% on HLE-Verified and gains over 3.7 Flash on DeepSWE v1.1 long-horizon software engineering, Vals Finance Agent V2 and Harvey's legal agent benchmark, and claims it beats most larger frontier models on long-horizon software engineering (Google). On Real-SWE, a benchmark of private enterprise code, it resolves 31.2% of tasks, third behind Claude Fable 5.1 (38.8%) and GPT-6 Astra (33.8%), with overlapping 95% confidence intervals ([25%, 38%], [32%, 45%], [27%, 40%]) (DEV Community).

3.8 Flash Cyber. The same model tuned for vulnerability detection and remediation, distributed only through Fairwind: 47.2% pass@1 on CWE-Bench against 47.8% for the leading frontier model, and Chrome's security team got 2.6 times more correct vulnerability patches (Google).

3.8 Live and Live Extended Thinking (15 September 2026): a tier, not a flagship. Production voice-agent models doing near real-time speech with visual grounding, detecting and switching between 97 languages mid-conversation. Extended Thinking is the one with an idea in it: it reasons and speaks at the same time, filling with verbal cues ("Let me check that") while tool and API calls run in the background instead of going silent. Every other way of spending a test-time budget makes the caller wait; this one covers the latency with speech, a product answer to a systems constraint and the first shipped one. Extended Thinking scored 82.6 on Artificial Analysis' speech-to-speech quality index at launch, first on it, with 68.6% on τ-Voice, 35.1% on Sierra's τ-Voice-banking and 97.7% on Big Bench Audio; all audio output carries a SynthID watermark. Both are in the Gemini API and AI Studio, in private preview in Gemini Enterprise, and behind Search Live, Gmail and Keep. Google publishes no millisecond latency figure (Google). The audio side of voice models is on Topic: generative-and-multimodal.

Gemini 4 Argon (30 September and 13 October 2026). Google reports 77.9% on DeepSWE v1.1, first place on AutomationBench at 51.3%, 91.7% on LVBench video understanding, a tie for first on CWE-bench v1 at 68%, and the lead on the Vals Index. Google names monitoring of the model's internal activations among its safeguards (Google). Argon reached its defenders first without cyber guardrails for them, and became generally available on 13 October 2026 on the paid Gemini API, AI Studio, Antigravity and Gemini Enterprise, and in the Gemini app for AI Pro and Ultra subscribers; it is not on the free tier (VentureBeat). Independent readings put it in the frontier band but not alone at the top. Vals AI ranked it first on the Vals Index at general availability, at 68.90%, ahead of Claude Sonnet 5.5 (67.04%) and Opus 5.5 (66.97%) (VentureBeat). On the Artificial Analysis Intelligence Index v4.3 (methodology v4.3.2) it scores 53 at high (52.6 to one decimal, at $1.99 per task at the introductory price), tied with GPT-6 Astra and Claude Fable 5.1 and behind Opus 5.5 (58), Sonnet 5.5 and Meta's Muse Wonder Full (56) (Artificial Analysis, read 19 October 2026); Epoch AI's early estimate on its Capabilities Index is 165, against 167 for Opus 5.5 and 166 for Astra (Epoch AI). It trails on terminal work: Terminal-Bench 4.0 57.4% against Opus 5.5's 66.4% in Google's own table, and 57.58% on Vals AI's fixed mini-swe-agent harness (Vals AI). On ARC-AGI-3 (semi-private set, verified by ARC Prize) it shows how far the harness moves a score: 97.5% through the Provider Adapter, 49.8% through the standard harness at low effort, the best standard-harness score outside OpenAI (ARC Prize).

Argon in the API (gemini-4-argon). Input, thinking and output share one 1,048,576-token context. A response defaults to 65,536 output tokens; longer ones, up to the 1M limit minus the input, run as background execution in 64K hops. Thinking levels are low, medium (the default) and high; explicit caching is not supported, and temperature, top_p and top_k are ignored (API docs).

Gemini 4 Carbon (28 October 2026). Google calls it its strongest model, with cyber and long-horizon work as the selling points, and released it the way Argon started: a subset of vetted cyber defenders first, other partners added through the Fairwind Program. On 10 November it opened to paying developers in the Gemini API, AI Studio and Gemini for business, and began rolling out to Google AI Ultra subscribers in the Gemini app, AI Mode in Search and Antigravity; Google still recommends Argon as the default for most coding and office work (Google). The price is Argon's, $2 / $10 per million tokens introductory through November 2026, list $4 / $20, cached input 95% off; no architecture is disclosed (Google). Google's own cyber scores, evaluated without guardrails: 88.2% on SEC-bench Pro (finding vulnerabilities), 71.0% on CWE-bench (patching) and 54.8% on ExploitGym (exploitation) (Google). Independently, it opened at 59 on the Artificial Analysis Intelligence Index v5, a new scale introduced on 27 October 2026 that does not compare with v4.3 numbers, first ahead of Claude Opus 5.5 (58), with a 1M-token context; the same measurement shows its hallucination rate on AA-Omniscience rising from Argon's 4% to 11% (Artificial Analysis). Vals AI put it second on the Vals Index at 70.45%, behind Claude Sonnet 5.5 (70.85%) (Vals AI, read 30 October 2026). Read 23 November 2026: 60 at high on Intelligence Index v5.0.1, fourth behind Claude Fable 5.2 (65), GPT-6.2 Astra (62) and Gemini 4 Neon (61) (Artificial Analysis); fourth on the Vals Index at the same 70.45% (board updated 19 November, Vals AI); ARC-AGI-3 65.1% with the standard harness and 99.1% through the provider adapter (entry dated 10 November, ARC Prize). Google's own claims at general availability: first on CursorBench 4.0, Perplexity's WANDR and Zapier's AutomationBench at less than half the cost per task of the next best external model (vendor-reported, Google).

Gemini 4 Hydrogen (12 November 2026). Google's "daily driver for agentic workflows" and the recommended upgrade from 3.8 Flash, in the Gemini API, AI Studio, Android Studio, Gemini for business, the Gemini app (free users through automatic selection) and Search; gemini-4-hydrogen is generally available on Google Cloud. It costs $1.50 / $7.50 per million tokens, flat across the context ($0.075 cached), which is 3.8 Flash's scheduled list price and twice its introductory one (VentureBeat); Batch and Flex are half price. About 1M tokens are shared by input and output; thinking defaults to high (3.8 Flash defaulted to medium), adds xhigh, and rejects thinking_budget and minimal; caching is automatic from 4,096 tokens (Google). Vendor-reported: Terminal-Bench 4.1 57% against 18.2% for 3.8 Flash. Independently, read 16 November 2026: Artificial Analysis Intelligence Index v5.0.1 54 at xhigh and 51 at high (Argon: 50), 41 at medium and 27 at low, at $3.16, $1.87 and $0.80 per index task for the top three (Artificial Analysis); Vals Index 68.49%, sixth (seventh on the board of 19 November, below Neon) (Vals AI).

Gemini 4 Neon (18 November 2026). The middle of the Gemini 4 line, between Hydrogen and Carbon. Its model card says it is "adapted from Gemini 4 Carbon" and defers architecture to Carbon's card; knowledge cutoff March 2026, a 1M-token context shared by input and output, text, image, audio and video in (model card). It costs $3 / $15 per million tokens, cached input $0.15, twice Hydrogen; four thinking levels, low, medium, high (the default) and xhigh; Google reports 32% lower cost per task than Carbon at high (Google). In the Gemini app it replaced Argon, and the picker became Auto, Hydrogen, Neon and Carbon (9to5Google); Tasks in Gemini can run on it, and Fairwind defenders get a Neon for Cyber. Vendor-reported: Terminal-Bench 4.1 65.2%. Independently, read 23 November 2026: the public Terminal-Bench 4.1 board has 61.2% ±2.8 (xhigh, Antigravity CLI), eighth, below Google's own figure, with the harness or settings possibly different (Terminal-Bench); Artificial Analysis Intelligence Index v5.0.1 61 at xhigh, third, at $6.44 per index task, and 60 at high, with a very verbose 283M output tokens on the index at xhigh (Artificial Analysis); Vals Index 70.87%, second behind Claude Fable 5.2 (71.31%) (board updated 19 November, Vals AI). No ARC-AGI-3 entry was listed.

Gemini Decision 1 and the Decisions API (11 November 2026). A model that scores instead of generating: it answers up to 1,000 closed-set questions against one shared multimodal input in one pass, in 150 to 250 ms, for routing, policy checks and rubric scoring, at $0.10 per million input tokens and no output charge (Google).

How thinking is controlled

Gemini models think dynamically by default: the model decides per request how much reasoning a prompt needs. The caller steers it with one parameter, thinking_level, in the generation config: minimal, low, medium or high, plus xhigh on Gemini 4 Hydrogen, the Flash line's successor. Google's guidance is minimal or low for fact retrieval and classification, the default for comparisons and creative reasoning, and high for advanced coding, mathematics and multi-step planning (thinking guide). Four details are Google-specific and are where code breaks:

  • Levels and defaults vary by model, so a request written for one model is not portable to the next. Try it below.
  • The token budget is gone. The 2.5 models were steered by thinking_budget, a token count. The current guide describes only thinking_level, including for 2.5 Pro, 2.5 Flash and 2.5 Flash-Lite (the last ships with thinking off by default), and Hydrogen rejects a thinking_budget outright (Google). Code that still sends a budget was written against an API that has moved.
  • You pay for thinking you do not see. Thinking tokens are billed as output, and the bill counts every thought token generated even when only a summary returns: "Pricing is based on the full thought tokens the model needs to generate". Summaries are controlled by thinking_summaries; by default only the final answer returns.
  • Thought signatures must go back. Each response carries encrypted thought signatures, a representation of the model's reasoning state, present even after minimal reasoning. If you manage history yourself, every thought block must be resent exactly as received, or multi-turn tool use loses the reasoning that led to the call. With server-side state (previous_interaction_id) Google handles them.

The two outer designs this sits between (a caller-set token budget, and a hidden router that decides for you) and the research behind them are on Test-time compute and reasoning, section 6; Anthropic's equivalent, adaptive thinking with an effort setting, is on Anthropic: Claude family.

One request is not portable: levels and defaults differ by model

Predict, then try: will minimal work on the newest Flash? Pick the level your code sends. Models that reject it are struck out; the ringed cell is each model's default. minimal fails on Hydrogen, 3.8 Flash, 3.7 Flash and 3.1 Pro, and only Hydrogen takes xhigh.

From the per-model table in the thinking guide; Hydrogen's levels from its launch post (Google). The guide lists the 2.5 Pro and 2.5 Flash defaults only as "on", with no level, and still lists gemini-3-pro-preview, which was shut down on 9 March 2026.

How media is counted against the window

Native multimodality makes media a token cost like any other, so "will this fit, and what will it cost" is arithmetic. On the Gemini 3 models a video frame costs 70 tokens at the default, low and medium media resolution and 280 at high; frames are sampled at 1 per second; audio costs 25 tokens per second at every resolution; an image costs 1,120 tokens at the default (280 low, 560 medium, 2,240 ultra high, set per item); a PDF page 560 at the default (media resolution). Fig. 3 lays one hour of video out on the window, drawn as 32 × 32 tiles of 1,024 tokens (1,048,576 tokens on every 3.x model, models). How a vision encoder turns pixels into tokens in general is on Vision-language models; this section is about Google's rates.

  1. One second of video is 95 tokens. One frame sampled per second costs 70 tokens at the default resolution (blue) and its second of soundtrack 25 more (green). The camera is on one tile: 1,024 tokens, so a tile holds about 10.8 seconds of video with sound (1,024 / 95).
  2. An hour is a third of the window. Default resolution: 3,600 × (1 × 70 + 25) = 3,600 × 95 = 342,000 tokens, 32.6% of the window: 252,000 for the frames and 90,000 for the sound, 334 of the 1,024 tiles. On 3.8 Flash that input costs 342,000 / 106 × $0.75 = $0.2565 (about 51 cents from 2027).
  3. At high resolution the same hour does not fit. At high: 3,600 × 305 = 1,098,000 tokens, over the window by 49,424 (the red tiles past the edge) before a question is typed. The longest video that fits is 1,048,576 / 95 ≈ 11,038 seconds (3 h 4 min) at default and 1,048,576 / 305 ≈ 3,438 seconds (57 min) at high.
  4. What the rest of the window holds. After the default hour 706,576 tokens are left (1,048,576 − 342,000): room for 630 images at the default 1,120 tokens each (gold), or 1,261 PDF pages at 560. One image costs as much as 16 frames.
  5. Gemini 2.5's rates filled the window with the hour. 258 tokens per frame by default and 32 per second of audio: 3,600 × (258 + 32) = 1,044,000 tokens, 99.6% of the window. The 2.5 report made the same point with its own figures: dropping from 258 to 66 tokens per frame took the window from about 1 hour of video to about 3 (Gemini 2.5 report); at 66 the window holds 1,048,576 / 98 ≈ 10,700 seconds, 2.97 hours.
  6. Agentic video loads only what it needs. On 1 September 2026 Google added agentic video understanding for 3.7 Flash, 3.6 Flash and 3.5 Flash-Lite (release notes): instead of every frame at 1 per second, the model loads only the transcript, frames or audio it needs, so "a 1-hour lecture that would use ~1.08M tokens in static mode might use ~108K tokens", depending on prompt and content (tokens page). Outlined: the static count; solid: the agentic one.

So "an hour of video" is a third of the window at the default and does not fit at high. The static count is the ceiling: agentic loading can only spend less.

Your own media, priced

For a video with its soundtrack:

N=t(f·r+a)C=N106·pin

N input tokens; t seconds; f frames sampled per second (1 by default); r tokens per frame (70 at default or low resolution, 280 at high); a audio tokens per second (25, or 0 for a silent video); C input cost in dollars at pin dollars per million tokens.

The calculator beside works this for any mix of video, images and PDF pages, and prices it on any Gemini model.

An hour of video is a third of the window at the default resolution, and does not fit at high

Try: the defaults are the worked example, one hour on 3.8 Flash. Switch to high resolution and the hour overflows the window before you have typed a question; switch the rates to Gemini 2.5's to see the report's "1 hour versus 3 hours". Add images or PDF pages to fill the rest of the window.

Window 1,048,576 tokens for every 3.x model (models). Prices from pricing; 3.1 Pro's rate for the whole prompt doubles above 200K tokens. The 2.5 rates: 258 tokens per frame by default, 66 at low (Gemini 2.5 report), audio 32 tokens per second (the generic tokens page, which also still quotes 263 video tokens per second for older models).

What "works harder" costs

Cost per task is tokens per task times price per token, and a release can move either factor:

Ctask=Tinpin+Toutpout106

Tin, Tout: input and output tokens the task consumes, summed over every turn and tool call, thinking tokens counted in Tout; pin, pout: prices per million tokens (cached input is billed at its own, lower, price).

Worked example: 3.7 Flash to 3.8 Flash. The per-token prices are identical ($0.75 and $3.75 introductory), so the whole change is in T.

  1. On the Intelligence Index v4.3, both at high thinking, 3.8 Flash costs $1.24 per task and 3.7 Flash $0.93 (3.8 Flash, 3.7 Flash): 1.24 / 0.93 ≈ 1.34, about a third more, for 40.9 on the index against 39.1.
  2. With identical prices the cost ratio is a token ratio, but a price-weighted one. Over the whole index run 3.8 Flash used 45% more input tokens (5.97B against 4.12B), 65% more output tokens (172M against 104M) and 2.3 times the reasoning tokens (136M against 60M). "Works harder" means more turns, and every turn re-reads the context.
  3. On 1 January 2027 both prices double, so the same task costs about 1.24 × 2 = $2.48 on 3.8 Flash ($2.49 from AA's unrounded $1.2428), with no change to the model.
  4. Even then it is well under Claude Fable 5.1's $7.63 per task at maximum effort, which is about 6.2 times the introductory figure.
Same price, a third more per task: 3.8 Flash spends more tokens on every axis

The lesson travels: compare models on cost per task, not on the price list, and expect a newer "cheap" tier to spend more tokens than its predecessor. The caller holds two levers: a lower thinking_level cuts Tout, and context caching, a tenth of the input price, cuts what the repeated input costs. The widget below moves both on one index task.

One task taken apart: most of 3.8 Flash's bill is input, and caching is what keeps it small

Predict, then try: which lever moves 3.8 Flash's bill more, removing the cache or halving the output? Drag the cached share to 0: the task costs three times as much. Halve the output tokens (roughly what a lower thinking level does, by an amount Google does not publish): it falls by a fifth.

Run totals and prices from Artificial Analysis (3.8 Flash, 3.7 Flash, 3.1 Pro, Argon, leaderboard). Cache prices: a tenth of input on the Flash models and 3.1 Pro, 95% off on Argon. The batch option halves every Google price (pricing) and leaves Fable 5.1 at its standard price. The defaults reproduce AA's cost per task by construction (see below).

How the widget is fitted: the cached share is back-solved

Writing in the cached share h of input tokens, billed at the cache price pc:

Ctask=Tin(1−h)pin+Tinhpc+Toutpout106

AA publishes each model's total tokens over the whole index run and the run's total cost, but neither the cached share nor how tasks are weighted. So h is back-solved from the run's total, and tokens per task are the run totals scaled by AA's cost per task over the run's total cost. The defaults therefore reproduce AA's cost per task by construction; what the view adds is where the money goes, and what each lever moves.

Across providers, index score against cost per task for every model with a published price (AA v4.3, read 1 October 2026) is on the Topic: llm-landscape root's Capability vs price tab. Google's 3.6 to 3.8 Flash prices double on 1 January 2027 and Argon's on 1 December 2026, so their cost per task doubles with no change to the models; each model is shown there at the effort AA benchmarks (3.8 Flash and Argon at high).

Gemma: the open end of the pipeline, built to fit one machine

Every Gemma generation is distilled from Gemini research and spends its architectural effort on one question: what fits in the memory of one card or one phone. Gemma 1 (21 February 2024, 2B and 7B) started the line; Gemma 2 (27 June 2024; 2B, 9B, 27B) trained its 2B and 9B by knowledge distillation from a larger teacher rather than plain next-token prediction, and interleaved local and global attention layers one to one, which is why its small models competed with models two to three times their size (Wikipedia, Gemma 2 report). Gemma 3 (12 March 2025; 1B, 4B, 12B and 27B; 32K context on the 1B and 128K on the rest; image input through a 400M-parameter SigLIP encoder that turns an 896 by 896 image into 256 tokens) moved to the 5:1 layout below; Gemma 3n (full release 26 June 2025) added the phone tricks; Gemma 4 (2 April 2026) added a mixture of experts and Apache 2.0 (Gemma 3 report).

Gemma 4 came in four sizes, E2B, E4B, 26B A4B (a mixture of experts) and a dense 31B, joined on 3 June 2026 by a dense 12B Unified (Wikipedia). It is the first Gemma under Apache 2.0; earlier generations used Google's own Gemma terms, so this is the release that made Gemma unrestricted for commercial use. Google reports over 400 million Gemma downloads since the first generation; at launch the 31B ranked third among open models on the Arena text leaderboard and the 26B sixth (Google). From the model card and report (model card, Gemma 4 report):

ModelParametersLayersWindowContextInput
E2B2.3B effective (5.1B with embeddings)35512128Ktext, image, audio
E4B4.5B effective (8B with embeddings)42512128Ktext, image, audio
12B Unified11.95B481,024256Ktext, image, audio
26B A4B25.2B total, 3.8B active301,024256Ktext, image
31B30.7B601,024256Ktext, image
  • Vocabulary 262K tokens on every size. Thinking: a <|think|> token switches on a reasoning channel in the output.
  • 12B Unified is encoder-free. Instead of a separate vision encoder (550M parameters on the 26B and 31B, 150M on E2B and E4B), it projects raw 48 by 48 pixel patches straight into the embedding space with one 35M-parameter matrix, and audio the same way: native multimodality carried to the open family by dropping the encoder altogether.
  • A built-in draft model. Each model ships a separate 4-layer multi-token prediction (MTP) drafter for speculative decoding (76M parameters on E2B to 500M on the 31B). What it buys depends on an acceptance rate Google does not publish: Gemma on one machine works it through; the mechanism is on Speculative decoding.

Gemma attention: why memory stops growing

A sliding-window ("local") layer only ever looks back W tokens, so its share of the KV cache stops growing at the window; a global layer keeps every token. Gemma's choice is the ratio: Gemma 2 alternated one to one with a 4,096-token window; Gemma 3 uses five local layers per global layer with a 1,024-token window, and Gemma 4 keeps 5:1 on every size except E2B (4:1), the final layer always global. The global layers use RoPE base 1,000,000 against 10,000 on the local ones, since only they see long distances (Gemma 3 report; RoPE bases on Positional encodings).

Gemma 3's report puts the cache's share of inference memory at about 60% for a global-only model against under 15% with sliding windows of 1,024, measured with a 32K-token prefill (Gemma 3 report). The cost is that most layers cannot see distant tokens directly and depend on the global layers to carry them. Sizing a cache for any model, Gemma presets included, is the Long context calculator's job; the same three contexts drawn in 3D, Gemma 3 27B's 62 layers each holding what one request keeps at 1,024, 8,192 and 131,072 tokens, are Fig. 8 of the LLM Architecture Gallery page, section 6.

The cache formula behind the strip

For one sequence of T tokens:

KV=(LgTeg+Llmin(T,W)el)×bel=2Hkvdh
Lg, Ll
number of global and local layers
eg, el
elements stored per token in one global or local layer: keys plus values, 2 × KV heads × head dimension (one copy instead of two where keys are reused as values)
W
the sliding window, 1,024 tokens on Gemma 3 and the larger Gemma 4 models
b
bytes per element: 2 for bf16, 1 for int8

Past T = W only the global term grows, so long-context memory is set almost entirely by the global layers.

Past the window only the dark (global) layers keep growing

Predict, then try: at 128K tokens, how much of Gemma 3 27B's cache do the 52 local layers hold? Each cell is one layer of the chosen model; global layers are dark. The default reproduces about 10.4 GiB of cache against 62 GiB if every layer were global. Move the context below 1,024 tokens: the two layouts cost the same. Switch to Gemma 4 31B to see wider global heads paid for by reusing keys as values.

Gemma 3 27B: 62 layers (52 local, 10 global), 16 KV heads of dimension 128, so 8 KiB per layer per token in bf16, the gallery's 496 KiB per token if no window were credited (gallery; LLM Architecture Gallery page). The middle option is illustrative: Gemma 3 27B's dimensions under Gemma 2's one-to-one layout with a 4,096 window. Gemma 4 31B from its config: 50 local layers with 16 KV heads of 256, 10 global layers with 4 KV heads of 512 and keys reused as values. GiB is 230 bytes.

Gemma 4's two global-layer savings

Keys reused as values (on all but E2B and E4B) stores one vector per global head instead of two. p-RoPE applies rotary position to only a fraction p = 0.25 of each global head's dimensions (config: partial_rotary_factor 0.25, base 1,000,000 against 10,000 on local layers). The report says these, "combined with KV cache sharing and the reuse of keys as values in global layers ... reduce the global KV cache footprint by up to 37.5%" (Gemma 4 report), and does not show the arithmetic.

One accounting lands exactly on the report's 37.5%

Our reconstruction (not Google's): if the rotated part of each key must be stored separately from the unrotated value, a global head stores the value (d) plus the rotated fraction of the key (p d) instead of key and value (2d), a saving of (1 − p) / 2. Move p: at 0.25 it lands on the report's figure; at 1 (ordinary RoPE) sharing saves nothing; at 0 it saves half.

The report's own memory table, and the gallery's 840 KiB per token for the 31B, count one stored vector per global head, a 50% cut; recomputed from the config that reproduces the table's 1.10 GB cache at 32K (see Gemma on one machine). So the two figures in the report imply slightly different accounting.

The edge models: an 8B checkpoint that runs like a 4B one

Gemma 3n introduced two ideas that make a large checkpoint behave like a small one on a phone (Gemma 3n docs, developer guide), and Gemma 4's E2B and E4B keep the naming. The first, Per-Layer Embeddings (PLE), is a choice about where parameters live, which Fig. 4 draws as two memory plates; heights are parameters to scale (E2B, E4B: model card).

  1. Standard execution: the whole checkpoint on the accelerator. Gemma 4 E4B is 8B parameters with its embeddings: its 42 decoder layers (blue, one slab per layer) and its embedding parameters (gold), all loaded into accelerator memory, as an ordinary model would be.
  2. Per-layer embeddings leave the accelerator. Each decoder layer gets its own small embedding table per token; those tables can be computed outside accelerator memory, cached to fast storage and added as each layer runs. The 3.5B embedding parameters (8 − 4.5) move to the second plate and 4.5B stay: the effective count the name gives.
  3. Each layer takes its row as it runs. A token climbs the stack (blue dots); at each layer the row of that layer's table for this token comes up from storage (gold dots) and is added in. The accelerator holds the layers, not the tables.
  4. E2B: the same split, smaller. Gemma 4 E2B has 35 layers: 2.3B effective, 5.1B with embeddings, so 2.8B (5.1 − 2.3) stay off the accelerator.
  5. What the name counts. The three edge checkpoints to scale: Gemma 3n E2B, which loads over 5B parameters in standard execution, can run with just under 2B (1.91B) resident; Gemma 4 E2B 5.1B and 2.3B; E4B 8B and 4.5B. The outline is the checkpoint, the solid block what must sit in accelerator memory.

Two more ideas make the small checkpoints smaller still:

  • MatFormer (a Matryoshka transformer) nests a smaller model inside the larger: E2B is a sub-model of E4B trained with it, so layers can be mixed to fit a memory budget between the two sizes.
  • KV caches shared across layers. In Gemma 4 E2B the last 20 of 35 layers, and in E4B the last 18 of 42, reuse earlier layers' caches (Gemma 4 report; num_kv_shared_layers in the configs). The shared layers keep no cache of their own, which is why E2B's 35 layers hold 15 caches; the stack is drawn layer by layer in Fig. 14 of the LLM Architecture Gallery page, section 10.

Gemma 4 on one machine: sparse against dense

Gemma 4 offers one quality band two ways, the 26B A4B mixture of experts (each token routed to 8 of 128 experts plus 1 shared) and the 31B dense model, and the choice is memory against compute: compute per token scales with the active parameters, F ≈ 2Nactive, while memory must hold every parameter. In Fig. 5 a tower's height is its weights in memory, from the Gemma 4 report's memory table (text only, KV cache in int8 at a 32K context, Gemma 4 report), and the glass plane is one card's memory.

  1. 31B dense in bf16: 64.0 GB, all of it read for every token. Both models fit one 80 GB H100 unquantized (Google), the plane here. Decode reads every weight for each token and does F ≈ 2 × 30.7 × 109 = 61.4 GFLOP.
  2. 26B A4B in bf16: 52.0 GB resident, 7.6 GB read. A shared part (teal) plus 128 expert columns, each one expert's weights across all 30 layers: 120 Pexpert = 52.0 − 7.6, so Pexpert = 0.37 GB and Pshared = 7.6 − 8 × 0.37 = 4.64 GB (back-solved from the report's two figures). A token reads the shared part and 8 experts in each layer, 7.6 GB, and does 2 × 3.8 × 109 = 7.6 GFLOP: about 8 times less arithmetic per token. Weights in bf16: 52.0 GB against 64.0 GB, only about 20% less (52 / 64 = 0.81), because every expert has to be resident. Which 8 columns light is illustrative; each layer routes on its own.
  3. At 4 bits both fit a 24 GB card. At 4 bits (Q4_0): 16.2 GB against 19.2 GB, so both fit a 24 GB card, the MoE with more room to spare. On top sits a 32K-token int8 KV cache (gold): 0.28 GB against 1.10 GB; the MoE has 30 layers against the dense model's 60, and fewer, narrower KV heads. Decode reads the MoE's active weights, 2.8 GB at 4 bits (7.6 GB in bf16), against all 19.2 GB for the dense 31B, about 7 times less to read per token.
  4. On a 16 GB card neither fits; the 12B Unified does. 16.2 + 0.28 and 19.2 + 1.10 GB both pass the plane. The dense 12B Unified (24.0 GB in bf16, 7.65 GB at 4 bits) fits, with a cache of 0.28 GB at 32K in the same table.
  5. A batch erodes the MoE's lead. Back in bf16 on the H100: a server decoding a batch of 32 reads the weights once per step, but its tokens touch more experts. Under uniform routing 32 tokens each picking 8 of 128 touch 112 experts per layer (87%; the touched-experts model is derived on Mixture of experts, section 8), so the MoE reads 4.64 + 112 × 0.37 ≈ 46 GB per step, not 7.6, against the dense model's 64. Uniform routing is illustrative: real routers are skewed, which touches fewer.

So with memory to spare, the MoE generates far faster at a similar footprint: a bet that the memory-versus-compute trade favours sparsity even on one workstation. Gemma on one machine sets memory, context, precision, batch and chip; the routing mechanism and the general trade are on Mixture of experts.

The encoder-decoder branch: T5Gemma and EmbeddingGemma

T5Gemma (April 2025) and T5Gemma 2 (December 2025) are a research line rather than a product tier, and the only open encoder-decoder LLMs a frontier lab currently ships. The method is adaptation: copy a pretrained decoder-only Gemma checkpoint into an encoder-decoder shell (the encoder's self-attention switched from causal to bidirectional, the decoder gaining cross-attention over the encoder output) and continue pretraining, which is cheaper than pretraining from scratch and, above roughly 100M parameters, better. Two results carry beyond Gemma: asymmetric sizing (a 9B encoder with a 2B decoder runs at Gemma 2 2B's latency and scores clearly above it, the right shape for long-input, short-output work and impossible in a decoder-only model) and long context (T5Gemma 2 4B-4B scores 81.7 on RULER 32K against Gemma 3 4B's 66.8, despite pretraining at only 16K). The method, ablations and every number are on Encoder-Decoder Gemma and T5Gemma 2.

EmbeddingGemma and EmbeddingGemma 2

The first EmbeddingGemma is built on T5Gemma 2 checkpoints. EmbeddingGemma 2 (6 October 2026, 740M parameters, Apache 2.0) is described instead as built on the Gemma 4 architecture, and it embeds text, image, audio, video and code into one space: a 270M text path, with optional 170M vision and 300M audio encoders, 768 dimensions with Matryoshka truncation to 512, 256 or 128, and 8K tokens of context, four times the first version's. Google reports MTEB Code rising from 68.76 to 78.68 (Google).

How Google trains

Everything on TPUs

Google's model cards name only its own hardware and software. Gemini 3 Pro was trained on TPUs with JAX (Python traced into XLA programs, sharding written as annotations on arrays) and ML Pathways (the orchestration layer that lets one program drive many TPU pods asynchronously) (model card). Gemini 2.5 trained with synchronous data parallelism across multiple 8,960-chip TPU v5p pods in several datacenters, and its slice-granularity elasticity kept about 97% of throughput through local failures by continuing on fewer slices (Gemini 2.5 report). Gemma 4 trained on TPU v6e (4,096 chips for E2B up to 10,240 for the 31B), the 12B on 12,288 TPU v4 chips (Gemma 4 report).

It buys freedom from GPU supply, pricing and allocation politics, and a pod interconnect built for exactly this collective pattern. It costs transferability: essentially none of the stack carries to an outside practitioner the way PyTorch, FSDP and NCCL do, and the work is correspondingly hard to reproduce. Since 2026 the dependency also runs outward: Ironwood, the seventh TPU generation, is the first Google sells for other companies' workloads, and Anthropic's deal for up to a million TPUs runs on it (TPUs: systolic arrays and pod-scale machines); Alphabet's Q2 2026 results say Google Cloud "generates product revenues primarily from the sale of TPU systems" (Alphabet Q2 2026). The software is on Topic: jax-and-tpu.

Eight tall server racks side by side, each packed with TPU v4 boards and yellow and blue optical cabling, in a Google datacenter

Eight of the 64 racks (64 chips each) of one 4,096-chip TPU v4 machine. Gemma 4 12B's 12,288 TPU v4 chips are three such machines, 192 racks (12,288 / 64). Photo: Norman P. Jouppi et al. (Google), "TPU v4", ISCA 2023, Figure 3, CC BY 4.0, arXiv:2304.01433. Chips and pods as hardware are on TPUs and other accelerators.

Native multimodality from pretraining

Trained in from the start rather than added as an adapter, since 1.0: text, images, audio and video become tokens in one sequence, trained jointly, rather than a separately trained vision encoder projected into a finished text model; images come out through integrated generation (the Nano Banana image models), all through one context window. Gemma 4's 12B Unified carries the idea to the open family. Where this sits among shallow, modular and unified designs is on Multimodal LLM Architectures.

One distillation pipeline, many products

The student matches the teacher's whole next-token distribution, not just the correct token (the method is on Distillation and small language models). Storing a full distribution over a vocabulary of about 262,000 tokens for every training token is too expensive, so Google keeps part of it: Gemini 2.5 approximates the teacher "using a k-sparse distribution over the vocabulary" (only the most likely tokens) (Gemini 2.5 report), and Gemma 3 samples 256 logits per token weighted by the teacher's probabilities, pretraining from 2T tokens for the 1B to 14T for the 27B (Gemma 3 report). Flash and below have been distilled this way since Gemini 1.5, and Gemma is the open end of the same pipeline, which is why the open models track the closed ones so closely in behaviour.

Why only k entries per token: the full distribution would not fit any store

Try: how much teacher output one student run would have to store. The default is Gemma 3 27B's 14T tokens with 256 entries kept per token.

Vocabulary 262,144 entries. Bytes per entry are illustrative: 4 bytes per probability for the full distribution, 4 for the probability plus 4 for the token id when only k entries are kept. Google does not publish how it stores them.

Distribution is the strategic asset

Search (AI Overviews and AI Mode), Workspace, Android and Vertex all ship Gemini by default, and since September 2026 so does a rival's flagship surface: Apple's rebuilt Siri. Google supplies the assistant model on the phones it competes with: distribution bought rather than owned, and evidence that the training stack rather than the app is the durable asset.

Usage numbers and the Siri deal (volatile)

The Gemini app had 950 million monthly active users, and Gemini models process 22 billion API tokens a minute, in Alphabet's Q2 2026 results (Alphabet Q2 2026). Earlier reporting gave 750 million at the end of 2025; that figure is not in the Q2 release and its source is not confirmed here. Apple's rebuilt Siri entered public beta on 14 September 2026 running on models "custom-built in collaboration with Google and its Gemini models", split between the device and Apple's Private Cloud Compute, with the EU excluded at launch and China awaiting regulatory approval (AI Weekly, citing Apple).

Lineup (volatile: prices and status as of 23 November 2026)

Standard paid-tier dollars per million tokens (pricing); thinking levels and defaults from the thinking guide. Batch costs half the standard rate on every model here, and Priority 1.8 times on most (3.8 Flash: $1.35 / $6.75 against $0.75 / $3.75). Output prices include thinking tokens.

ModelRoleStatusInput / outputThinking levels (default)
Gemini 4 CarbonGoogle's strongest model: cyber defence, long-horizon workGenerally available to paying API and Gemini for business customers (since 10 November); Gemini app for AI Ultra; Fairwind for cyber defenders$2 / $10 introductory through November, list $4 / $20; cached input 95% off; 1M context (Google, Artificial Analysis)Not stated
Gemini 4 NeonBetween Hydrogen and Carbon, adapted from Carbon; Argon's replacement in the Gemini appGenerally available on the paid tier (since 18 November); Gemini app for AI Pro and Ultra; Neon for Cyber through Fairwind$3 / $15; cached $0.15; 1M context (Google, model card)low, medium, high, xhigh (high)
Gemini 4 ArgonFrontier: long-horizon coding, legal, finance, cyber defenceGenerally available (paid tier only)$2 / $10 introductory through November, list $4 / $20; cached $0.10, list $0.20 (API docs)low, medium, high (medium)
Gemini 4 HydrogenThe volume model for agentic work; Flash's successorGenerally available (since 12 November)$1.50 / $7.50 at any context length; cached $0.075; Batch and Flex half (Google)low, medium, high, xhigh (high)
Gemini 3.8 FlashThe previous volume model; more test-time compute per task by defaultStable$0.75 / $3.75 introductory through 2026, list $1.50 / $7.50low, medium, high (medium)
Gemini 3.8 Flash CyberVulnerability detection and remediationFairwind onlyNot sold openlyNot stated
Gemini 3.7 Flash, 3.6 FlashPrevious Flash generationsStableSame as 3.8 Flash (3.6 launched at $1.50 / $7.50, Google)3.7: low, medium, high (medium); 3.6 adds minimal (medium)
Gemini 3.5 FlashLegacy Flash for routine high-throughput workStable$1.50 / $9.00minimal, low, medium, high (medium)
Gemini 3.1 ProThe Pro tier: complex problems and agentic workPreview$2 / $12 up to 200K-token prompts, $4 / $18 abovelow, medium, high (high)
Gemini 3.5 Flash-LiteFastest 3.5-class modelStable$0.30 / $2.50minimal, low, medium, high (minimal)
Gemini 3.1 Flash-LiteCheapest model open to new projectsStable$0.25 / $1.50 (audio input $0.50)Not stated
Gemini 3.8 Live, Live Extended ThinkingVoice agents; Extended Thinking reasons and speaks at onceStableText $0.75 / $4.50; audio $3.00 / $12.00Not stated
Gemini Decision 1Scores closed-set questions about one input, no text generationDecisions API$0.10 input, no output charge (Google)Not applicable
Deep ThinkParallel test-time compute for the hardest problemsGemini app mode, not an API modelNot statedNot applicable
Gemma 4 (E2B, E4B, 12B, 26B A4B, 31B)Open weights, Apache 2.0Downloadable; 26B and 31B also in the APIFree weights<|think|> token switches it on

The 3.x Flash, Flash-Lite and 3.1 Pro models take text, images, video, audio and PDF in a 1,048,576-token window and return up to 65,536 tokens. Cached input is a tenth of the input price on the Flash models ($0.075 on 3.8 Flash). The 2.5 models are still served but, since 18 September 2026, only to projects that already used them; new projects are pointed to 3.5 Flash-Lite or 3.8 Flash (release notes). The Flash list price rose more than threefold from 2.5 Flash ($0.30 / $2.50) to 3.5 Flash ($1.50 / $9.00) and has been discounted since only by the introductory rate: "cheap tier" is a position on the price list, not a price (pricing). Older models still on the pricing page: 2.5 Pro $1.25 / $10, 2.5 Flash-Lite $0.10 / $0.40, 3 Flash Preview $0.50 / $3.00.

Model codes, stable and preview

Every API model has a code such as gemini-3.8-flash. Stable codes are pinned; preview codes can change and are deprecated with at least two weeks' notice (models page): gemini-3-pro-preview was shut down on 9 March 2026 and now points to gemini-3.1-pro-preview (release notes). The latest aliases (gemini-flash-latest, gemini-pro-latest) follow the newest release and may break with two weeks' notice.

Which model when (volatile, read 23 November 2026)
NeedUse
Most production traffic, agents and coding on a budgetGemini 4 Hydrogen, Google's recommended upgrade from 3.8 Flash, at its default high level; lower levels for extraction and classification. 3.8 Flash at medium stays cheaper per token while its introductory price lasts. Measure cost per task, not per token, and cache repeated context.
Highest volume, latency-bound (routing, tagging, short extraction)3.1 Flash-Lite, the cheapest, or 3.5 Flash-Lite where you want the minimal level and faster output.
The hardest reasoning through the open APIGemini 4 Neon at xhigh (61 on Intelligence Index v5.0.1 at $6.44 per index task) or Carbon (60 at high, $7.76); Argon, which Google recommended at Carbon's launch as the default for most coding and office work, scores 50 at high, below Hydrogen's 51 at the same level; read 23 November 2026 (Artificial Analysis). Neon is the most verbose of the three on the index, so compare cost per task, not per token. On the older v4.3 scale 3.1 Pro's 29.7 sat below 3.8 Flash at high (40.9): the Pro tier by name is still a preview (3.1 Pro).
Long video, long audio or a stack of PDFsAny 3.x model's 1M window; work out the token count first and keep media resolution at the default unless fine detail matters.
Voice agents3.8 Live, or Live Extended Thinking when the agent must reason and call tools mid-conversation.
Vulnerability workGemini 4 Carbon or 3.8 Flash Cyber, both through the Fairwind Program.
Open weights on your own hardwareGemma 4 26B A4B for speed when memory allows, 31B dense for the strongest single model, 12B Unified for a 16 GB laptop, E2B or E4B on a phone.
Long input, short output, open weightsA T5Gemma 2 encoder-decoder.

Common mistakes

Ten mistakes, each with the fact that prevents it
  • Comparing Flash generations on the per-token price. 3.6, 3.7 and 3.8 Flash have the same price list; 3.8 Flash costs about a third more per task ($1.24 against $0.93 on the Intelligence Index v4.3) because it spends more tokens.
  • Sending one thinking configuration to every model. Minimal is not supported on 3.8 Flash, 3.7 Flash or 3.1 Pro, defaults differ (medium, high or minimal), and thinking_budget belongs to an API that has moved.
  • Assuming you pay only for the summary. Thinking tokens are billed in full as output even when only a summary returns.
  • Dropping thought signatures. Rebuilding history without the thought blocks breaks multi-turn tool use.
  • Taking "1M tokens" as "an hour of anything". An hour of video is 342,000 tokens at the default resolution and over the limit at high.
  • Planning around a preview model as if it were stable. 3 Pro Preview (18 November 2025) was shut down and redirected on 9 March 2026, within four months of launch.
  • Taking the Pro tier for the strongest open-API model. On the Intelligence Index v4.3 3.1 Pro (29.7) sat below 3.8 Flash at high (40.9); tier names track size and price, not this year's scores.
  • Reading E4B as a 4B checkpoint. It is an 8B checkpoint with 4.5B effective parameters; the saving depends on running PLE outside accelerator memory.
  • Choosing the MoE when memory is the constraint. 26B A4B is about 8 times cheaper in compute per token than 31B but only about 20% smaller in memory.
  • Assuming Gemma carries its old licence. Gemma 4 is Apache 2.0; Gemma 3 and earlier are under Google's Gemma terms.