AI Benchmarking & Algorithms36 min read

Gemini 4 Hydrogen vs. Gemini 4 Argon vs. Gemini 4 Carbon: Architecture, Token Economics, Benchmarks, and Production Workload Guide

An exhaustive engineering comparison of Google DeepMind’s Gemini 4 model triad—Hydrogen (gemini-4-hydrogen), Argon (gemini-4-argon), and Carbon (gemini-4-carbon): sparse-MoE lineage, internal thinking-token billing, introductory vs. December 2026 standard API pricing, 16 verified benchmark evaluations, exact workload routing rules, and a multi-model Orchestrator implementation.

Scope of this analysis

Scope & Primary Sources Note: All architectural dependencies, benchmark scores, context-window bounds, thinking-level configurations, and pricing schedules in this analysis are sourced directly from Google DeepMind’s official October–November 2026 Model Cards and launch announcements for Gemini 4 Argon (Oct 13, 2026), Gemini 4 Carbon (Nov 10, 2026), and Gemini 4 Hydrogen (Nov 12, 2026), alongside Artificial Analysis v5.0 and Gemini Developer API pricing documentation.

Explore the idea in 3D

Loading interactive 3D…

The ideas at a glance

  • One Sparse-MoE Lineage, Three Deliberation Profiles: Official DeepMind Model Cards confirm that Gemini 4 Argon (GA Oct 13, 2026) is a clean-sheet Sparse Mixture-of-Experts (MoE) Transformer trained on TPU Pods with JAX and ML Pathways; Gemini 4 Carbon (GA Nov 10, 2026) is built directly on Argon with deep RL hypothesis-verification loops; and Gemini 4 Hydrogen (GA Nov 12, 2026) is adapted directly from Carbon—inheriting Carbon’s coding discipline and alignment at ~200 tokens/sec.
  • Shared 1,048,576-Token Multimodal Context & March 2026 Cutoff: All three models share a native 1M-token unified context window across text, code, images, audio, video, and PDFs. Argon and Carbon support up to 1M combined input/output tokens in a single trajectory, while Hydrogen outputs up to 64K tokens synchronously and up to 1M tokens via background long decode.
  • Pricing Schedule & The December 1, 2026 Rate Step-Up: Gemini 4 Hydrogen is priced flat across its entire 1M window at $1.50/1M input and $7.50/1M output ($0.075/1M cached input; Free tier eligible). Both Argon and Carbon share introductory pricing of $2.00/1M input and $10.00/1M output through November 30, 2026, stepping up to $4.00/1M input and $20.00/1M output on December 1, 2026 (with 95% off cached input: $0.10 intro / $0.20 standard).
  • Hidden Thinking Tokens Drive Real Per-Turn Cost: Every internal reasoning token is billed at the model’s Output Token rate. Even though Argon and Carbon share the exact same list price per million tokens, Carbon intentionally expends 2× to 4× more thinking tokens per turn on hard logic—making Argon far more predictable for steady enterprise synthesis while Carbon saves 2×–6× per completed task on frontier dead-end problems by eliminating failed retries.
  • Counter-Intuitive Benchmark Crossovers: Because Hydrogen was distilled/adapted two weeks after Carbon, Hydrogen’s default high tier (51) and new xhigh tier (54) actually beat Argon (50) on the Artificial Analysis Intelligence Index v5.0 and lead SWE-sweep (13.5% vs. Carbon’s 9.6% and Argon’s 4.3%). Meanwhile, Carbon dominates global reasoning (#1 AA Index: 59), 256K–1M long-context GraphWalks (96.2% vs. Argon’s 84.2%), and cybersecurity (88.2% SEC-bench Pro, 54.8% ExploitGym, 0.0% prompt-injection breach), while Argon leads DeepSWE v1.1 migrations (77.9%) and LVBench long-video perception (91.7%).
  • Multi-Model Orchestration Wins Production Economics: Rather than running a single model end-to-end, pairing Carbon as the architectural/security coordinator with parallel Hydrogen builder and verifier subagents (as implemented in Google Antigravity’s Orchestrator and /swarm) reaches near-Carbon Terminal-Bench 4.0 pass rates while consuming 24% less token quota and finishing 19% faster.

1. Inside Google DeepMind’s Periodic Table Lineage: How Argon, Carbon, and Hydrogen Share One 1M-Token Foundation

Between September 30 and November 12, 2026, Google DeepMind retired the legacy Flash / Pro / Ultra naming hierarchy for its fourth-generation foundation models and replaced it with three chemical elements from the periodic table: Gemini 4 Argon (Z = 18), Gemini 4 Carbon (Z = 6), and Gemini 4 Hydrogen (Z = 1). At a glance, many engineering teams assume these three models are completely separate parameter-count families—similar to how legacy 8B, 70B, and 405B dense checkpoints differed in older generations. A close reading of the three official Google DeepMind Model Cards reveals a far more interesting architectural story: Argon, Carbon, and Hydrogen form a single, sequential post-training and test-time compute lineage built over a unified 1,048,576-token native multimodal foundation.

First came Gemini 4 Argon (gemini-4-argon), announced on September 30, 2026 via Google’s Fairwind cybersecurity defense program and released to general availability on October 13, 2026. According to the Gemini 4 Argon Model Card, Argon is a brand-new, clean-sheet large-scale sparse Mixture-of-Experts (MoE) Transformer—explicitly not a fine-tune or modification of Gemini 3.1 Pro—trained on Google TPU Pods using JAX and ML Pathways. Argon established the generation’s core invariants: native multimodal ingestion across text, code, images, audio, video, and PDFs; a March 2026 knowledge cutoff; reinforcement learning post-training over multi-step theorem-proving and engineering trajectories; and a 16× expansion of the single-run output ceiling from 64,000 tokens to a full 1,000,000 tokens.

Just four weeks later—announced October 28 and made generally available on November 10, 2026—DeepMind shipped Gemini 4 Carbon (gemini-4-carbon). The Carbon Model Card explicitly documents that Carbon’s architecture, pre-training dataset, and TPU/JAX stack are based directly on Gemini 4 Argon. Where Carbon diverges radically from Argon is in reinforcement learning deliberation depth and alignment: Carbon is trained to expend substantially larger budgets of internal thinking tokens per turn so it can persist for hours or days through engineering dead ends, verify subtle low-level systems invariants, chain multi-stage vulnerability proofs, and resist adversarial prompt injections.

Two days after Carbon’s general release, on November 12, 2026, Google launched Gemini 4 Hydrogen (gemini-4-hydrogen) across every consumer, developer, and enterprise surface—including the Free tier of Google AI Studio, Google Search, Google Sheets, the Gemini app, and Google Antigravity. Crucially, the Hydrogen Model Card reveals that Hydrogen is adapted directly from Gemini 4 Carbon, rather than from Gemini 3.8 Flash or Argon. Because Hydrogen inherits Carbon’s late-stage post-training, instruction-following rigor, and parallel tool-calling policies while being optimized for ~200 tokens/second generation speed, Hydrogen exhibits a remarkable generational leap: it finishes tasks 2.5× to 2.8× faster than Gemini 3.8 Flash, cuts fabricated claims by more than 5×, and introduces four explicit thinking dials—low, medium, high (default), and an exclusive new xhigh tier.

Primary sourcesS1 ↗S2 ↗S6 ↗S8 ↗

Argon (Z = 18): The Clean-Sheet Sparse-MoE Base

Trained from scratch on TPU Pods (JAX + ML Pathways); introduces native 1M input + 1M single-trajectory output and balanced medium-default reasoning.

Carbon (Z = 6): The Deep-Verification Frontier

Built on Argon with heavy RL post-training; burns deep internal thinking budgets to rank #1 globally on Artificial Analysis v5.0 (59) and cybersecurity benchmarks.

Hydrogen (Z = 1): Carbon-Adapted High-Velocity Engine

Adapted directly from Carbon (not a legacy small model); runs at ~200 tok/s with 64K synchronous / 1M background long-decode output and low/medium/high/xhigh dials.

Unified Multimodal & Context Contract

All three models share the exact same 1,048,576-token context limit and March 2026 cutoff, allowing zero-rewrite prompt switching inside multi-model routers.

Table 1 — Official architectural specifications across Gemini 4 Hydrogen, Gemini 4 Argon, and Gemini 4 Carbon (verified from DeepMind Model Cards, Oct–Nov 2026).
SpecificationGemini 4 Hydrogen (gemini-4-hydrogen)Gemini 4 Argon (gemini-4-argon) & Carbon (gemini-4-carbon)
Release TimelineGA: November 12, 2026 (all tiers + Free AI Studio & Search)Argon: Sep 30 (Fairwind) / Oct 13 GA · Carbon: Oct 28 (Fairwind) / Nov 10 GA
Architectural LineageAdapted directly from Gemini 4 Carbon for high-speed agentic executionArgon: Clean-sheet Sparse MoE Transformer · Carbon: Built directly on Argon
Unified Context & Cutoff1,048,576 tokens (shared input + thinking + output) · March 2026 cutoff1,048,576 tokens (shared input + thinking + output) · March 2026 cutoff
Maximum Output TokensUp to 64K default synchronous / up to 1M via background long decodeUp to 1,000,000 tokens (1M input + output via long-decode continuation)
Configurable Thinking Levels4 tiers: low, medium, high (default), and xhigh3 tiers: low, medium (default on Argon/Carbon API), and high
Output Generation Throughput~200 tokens/sec (completes workflows 2.5×–2.8× faster than 3.8 Flash)Carbon: ~87.7 tokens/sec (prioritizes deep hypothesis verification over raw speed)

2. Empirical Benchmark Analysis: Coding, 1M Long-Context Graph Traversal, Cybersecurity, and Multimodal Knowledge Work

Comparing benchmarks across the Gemini 4 trio uncovers a crucial insight that surprises developers accustomed to strict linear model tiers: Hydrogen does not sit uniformly below Argon. Because Hydrogen was distilled and post-trained directly from Carbon a full month after Argon’s launch, Hydrogen at its default high setting (51) and extended xhigh setting (54) actually outperforms Argon (50) on the Artificial Analysis Intelligence Index v5.0, while Carbon claims the #1 overall global ranking at 59 (ahead of Claude Opus 5.5 at 58 and GPT-6 Astra at 57).

We see this exact generational post-training effect in repository bug-fixing benchmarks. On SWE-sweep—which evaluates an agent’s ability to autonomously discover and patch subtle repository bugs without breaking surrounding modules—Hydrogen achieves 13.5%, beating both Carbon (9.6%) and Argon (4.3%), as well as GPT-6.1 Terra (5.8%) and Claude Sonnet 5.5 (3.1%). Why? Hydrogen was specifically post-trained to batch parallel file-read and search tool calls and apply tight, surgical diffs without rewriting unrelated files. Similarly, on long-horizon economic and computer-use tasks, Hydrogen scores 71.6% on Agents’ Last Exam v1.1, 77.6% on OSWorld-2.1, and $14,549 on Vending-Bench 2—edging past Argon’s October baselines (69.0%, 74.7%, and $13,718) while trailing Carbon’s frontier peaks (77.4%, 81.5%, and $16,484).

However, as soon as task complexity shifts from localized execution to deep long-context graph reasoning, multi-stage vulnerability chaining, or graduate-level scientific discovery, Carbon pulls decisively ahead of both siblings. The single most revealing number in the Carbon Model Card is GraphWalks (256K to 1M tokens, Breadth-First Search F1): Carbon scores an extraordinary 96.2% compared to Argon’s 84.2% (and 71.8% on GPT-6 Astra / 66.8% on Claude Opus 5.5). That +12.0 percentage-point leap proves that Carbon’s extra thinking budget keeps cross-file pointer chains intact across nearly a million tokens where lighter thinking budgets lose track of transitive dependencies.

In defensive cybersecurity (evaluated without public cyber guardrails via Google’s Fairwind Program), Carbon establishes state-of-the-art marks across every stage of the vulnerability lifecycle: 88.2% on SEC-bench Pro for autonomous vulnerability discovery (vs. Argon’s 83.4%), 54.8% on ExploitGym for exploitability validation (a massive +12.8pp jump over Argon’s 42.0%), and 71.0% on Collinear’s CWE-bench for root-cause patching (vs. Argon’s 68.0%). Meanwhile, Argon retains impressive domain strongholds of its own: 77.9% on DeepSWE v1.1 for sustained codebase migrations, 91.7% on LVBench for long-video understanding, 65.4% on Vals Finance Agent v2, and 19.6% on Harvey’s Legal Agent Benchmark (more than 3× competing frontier models).

Primary sourcesS1 ↗S2 ↗S4 ↗S6 ↗S8 ↗S10 ↗
Table 2 — Verified 16-benchmark evaluation matrix across Gemini 4 Hydrogen, Gemini 4 Argon, and Gemini 4 Carbon (compiled from official DeepMind Model Cards & Google launch reports; '—' indicates benchmark variant not reported on that card).
Evaluation Benchmark (Domain)Gemini 4 HydrogenGemini 4 Argon vs. Gemini 4 Carbon
Artificial Analysis Intelligence Index v5.051 (high default) · 54 (xhigh) · ~27 (low)Argon: 50 · Carbon: 59 (#1 Global Frontier Rank)
Terminal-Bench 4.0 / 4.1 (CLI Agent Execution)57.0% (TB 4.1 cheating-adjusted; 3.1× 3.8 Flash)Argon: 57.1% (TB 4.0 AA) · Carbon: 65.2% (TB 4.0 AA, 0.0% cheating)
SWE-sweep (Surgical Bug Discovery & Repair)13.5% (Leads Gemini 4 lineup on localized sweeps)Argon: 4.3% · Carbon: 9.6%
FrontierSWE v2 & DeepSWE v1.1 (Long-Horizon SWE)— (Optimized for fast iterative sweeps)FrontierSWE v2: Argon 55.0% vs. Carbon 61.2% · DeepSWE v1.1: Argon 77.9%
GraphWalks 256K–1M BFS F1 (Extreme Long Context)—Argon: 84.2% (99.7% ≤128K) · Carbon: 96.2% (+12.0pp at 1M scale)
Agents' Last Exam v1.1 (End-to-End Workflows)71.6%Argon: 69.0% · Carbon: 77.4%
OSWorld-2.1 Offline Subset (Computer Use)77.6%Argon: 74.7% · Carbon: 81.5%
Vending-Bench 2 (Long-Horizon Agent Economics)$14,549 net bank balanceArgon: $13,718 · Carbon: $16,484
HLE-Diamond (Humanity's Last Exam Hardest Set)58.8% (Leads speed/efficiency class)Argon: — · Carbon: 69.1% (#1 Overall)
Terminal-Bench-Science 0.1 & RiemannBenchTB-Science: 51.4%TB-Science: Argon 52.9% vs. Carbon 64.8% · RiemannBench: Argon 76.0% vs. Carbon 80.0%
SEC-bench Pro (Cyber Vulnerability Discovery)Below Cyber CCL (reaches CCL alert threshold)Argon: 83.4% · Carbon: 88.2% (Fairwind Program)
ExploitGym & CWE-bench v1 (Exploit & Patching)Defensive guardrails activeExploitGym: Argon 42.0% vs. Carbon 54.8% · CWE-bench: Argon 68.0% vs. Carbon 71.0%
Chartography & Multimodal Knowledge Agent (MKA)Chartography: 66.6% · MKA: 53.4%Chartography: Argon 71.6% vs. Carbon 72.5% · Carbon #2 MKA (6× lower cost)
LVBench (Long Video Understanding)—Argon: 91.7% (State-of-the-art long-video perception)
Enterprise Tax, Finance & Legal Benchmarks#1 Vals Tax (52.3%) · Tied #1 Vals Legal (55.8%)Argon: Vals Finance v2 (65.4%), Harvey Legal (19.6%) · Carbon: #1 BAM Financial
Gray Swan Indirect Prompt Injection (Attack Rate)>2.3× more resilient than 3.8 Flash · 99.9% CoT legibilityArgon: 0.7% attack success · Carbon: 0.0% attack success (first 0% milestone)

3. Token Consumption Mechanics, Hidden Thinking Budgets, and Complete API Pricing Economics

To forecast cloud AI spend accurately on Gemini 4, engineering leaders must separate list price per million tokens from effective token consumption per turn. Across Google AI Studio and Vertex AI, every Gemini 4 model bills internal reasoning tokens (thoughts_token_count) and structured tool-invocation tokens at the exact same rate as visible completion tokens. Furthermore, input, thinking, and output tokens all draw from the same 1,048,576-token unified window.

On list pricing, Google established two distinct tiers—plus a time-bounded introductory window for the frontier models. Gemini 4 Hydrogen carries permanent, flat standard pricing across its entire 1-million-token context window: $1.50 per million input tokens and $7.50 per million output tokens, with no long-context surcharge above 200,000 tokens, a 95% implicit/explicit context-caching discount ($0.075 per million cached input tokens), a 50% Batch/Flex API discount ($0.75 input / $3.75 output), and Free-tier access in Google AI Studio. By contrast, both Gemini 4 Argon and Gemini 4 Carbon launched at an identical introductory API rate of $2.00 per million input tokens and $10.00 per million output tokens ($0.10/1M cached input) valid through November 30, 2026, before stepping up on December 1, 2026 to their permanent standard rate of $4.00 per million input tokens and $20.00 per million output tokens ($0.20/1M cached input), with no Free API tier.

Here is the critical FinOps trap: because Argon and Carbon share the exact same per-token price ($2/$10 introductory; $4/$20 standard), teams often assume switching an API call from gemini-4-argon to gemini-4-carbon is cost-neutral. In practice, Carbon’s single-turn bill on hard problems is routinely 1.8× to 3.4× higher than Argon’s! Why? As documented in the Carbon Model Card, Carbon defaults to deeper hypothesis exploration and extended verification loops—generating 20,000 to 45,000+ internal thinking tokens billed at $10–$20/1M where Argon’s medium default might expend only 5,000 to 9,000 thinking tokens. Paradoxically, however, on genuinely hard multi-step tasks (such as CursorBench 4.0, Perplexity WANDR, Zapier AutomationBench, and MKA), Carbon achieves 2× to 6× lower total cost per resolved task than external frontier rivals because solving a race condition on turn 1 eliminates five failed human-in-the-loop retry turns.

Hydrogen introduces a second major token-saving mechanism beyond its 62.5% lower standard per-token price: native parallel tool-call batching. When exploring a large codebase or enterprise SQL schema, legacy models inspect one file per turn—re-billing the entire growing conversation prefix on every sequential tool round-trip. Hydrogen natively batches 8 to 15 parallel file-read and grep calls into a single turn, cutting end-to-end workflow token consumption by 12% to 23% while running 2× to 2.8× faster.

Primary sourcesS1 ↗S4 ↗S7 ↗S9 ↗S10 ↗
Table 3 — Real-world API cost simulation for a 1,000-task repository engineering workload (120K input context per task with 80% cache hit rate + 2,500 visible output tokens + empirical model thinking-token distributions).
Model & Thinking ConfigurationAvg Thinking Tokens / Task (Billed as Output)Cost per 1,000 Tasks (Intro Thru Nov 30 vs. Dec 1+ Standard)
Gemini 4 Hydrogen (low — routing / fast chat)~1,200 thinking tokens (~5.5s TTFT)$70.95 per 1,000 tasks (80% cached input: $43.20 + output: $27.75; uncached: $207.75)
Gemini 4 Hydrogen (high default — repo coding)~5,500 thinking tokens (51 AA Index)$103.20 per 1,000 tasks (80% cached input: $43.20 + output: $60.00; uncached: $240.00)
Gemini 4 Hydrogen (xhigh — deep burst debug)~14,000 thinking tokens (54 AA Index)$166.95 per 1,000 tasks (80% cached input: $43.20 + output: $123.75; uncached: $303.75)
Gemini 4 Argon (medium default — balanced SWE)~6,500 thinking tokens (50 AA Index)$147.60 Intro → $295.20 Standard (80% cached input: $115.20 std + output: $180.00 std)
Gemini 4 Carbon (high — frontier root-cause)~28,000 thinking tokens (59 AA Index #1)$362.60 Intro → $725.20 Standard (80% cached input: $115.20 std + output: $610.00 std)
Antigravity Orchestrator (15% Carbon + 85% Hydrogen)Blended ~8,900 thinking tokens (Near-Carbon pass rate)$142.11 Intro → $196.50 Standard (-73% cheaper than pure Carbon Standard!)
Turn_Cost($) = (I_uncached / 10^6) · P_in + (I_cached / 10^6) · (0.05 · P_in) + ((O_visible + O_thinking + O_tool_args) / 10^6) · P_out | Dec 1, 2026+ Standard P_in/P_out: Hydrogen ($1.50/$7.50) vs. Argon & Carbon ($4.00/$20.00)

4. When to Use Gemini 4 Hydrogen: High-Velocity Agentic Execution, Everyday Coding, and Elastic low–xhigh Scaling

Gemini 4 Hydrogen should be your default production workhorse for 80% to 85% of daily software engineering, interactive product surfaces, and high-concurrency agentic tool loops. Because it combines Carbon-derived post-training with ~200 tokens/second output throughput and flat $1.50 / $7.50 pricing across all 1,048,576 context tokens, Hydrogen eliminates the historical quality penalty of routing tasks to a speed-tier model.

First, choose Hydrogen for iterative repository coding, localized bug sweeps, and automated CI/CD verification. Its class-leading 13.5% SWE-sweep score and 57.0% cheating-adjusted Terminal-Bench 4.1 score reflect a very specific behavioral trait: Hydrogen reads files in parallel batches, follows formatting and architectural style rules strictly, and edits only the lines required to fix the issue without opportunistically refactoring untouched modules (cutting agent overreach by up to 81% and shortcutting by 12× compared to Gemini 3.8 Flash). When paired as the worker and adversarial test-runner inside multi-agent pipelines, Hydrogen can spin up 5 to 10 isolated workspace builders concurrently for less than the token cost of a single Carbon trajectory.

Second, choose Hydrogen for interactive frontend/WebGL development, live spreadsheet/slide generation, and multimodal business document pipelines. In Google’s launch evaluations, Hydrogen generated single-shot Three.js/WebGL2 storefronts with custom shaders, accelerated Gemini in Google Sheets financial modeling by over 30%, ranked #1 overall on Vals Tax Agent Bench (52.3%), tied for #1 on Vals Legal Research Bench (55.8%), and led its class on the Multimodal Knowledge Agent (MKA) benchmark (53.4%) with under 0.4% false refusals on HealthBench Pro.

Third, exploit Hydrogen’s unique four-level thinking_level parameter within a single deployment endpoint rather than maintaining separate microservice models: use low (~5.5s TTFT) for intent classification, query fan-out, and live autocomplete; medium for standard CRUD endpoints, unit test generation, and document summarization; high (the out-of-the-box default, scoring 51 on AA Index) for multi-file feature implementation and repository Q&A; and xhigh (scoring 54 on AA Index) whenever a worker agent hits a non-trivial concurrency bug or complex SQL/graph join before escalating to Carbon.

Primary sourcesS1 ↗S2 ↗S3 ↗

Everyday Repository Coding & CI Fix Loops

Best-in-family 13.5% SWE-sweep accuracy with native parallel file-read batching (-12% to -23% total workflow tokens) and surgical diffs.

Parallel Subagent Workers & Test Verifiers

At $1.50/$7.50 ($0.75/$3.75 Batch) and ~200 tok/s, Hydrogen powers parallel isolated builders and CI verifiers downstream of a Carbon planner.

High-Volume Tax, Legal & Multimodal Extraction

Ranks #1 overall on Vals Tax Agent Bench (52.3%), ties #1 on Vals Legal Research (55.8%), and scores 53.4% on MKA across dense PDFs and charts.

Dynamic 4-Rung Latency Control (low → xhigh)

Scale test-time compute per request from sub-6-second TTFT (low) up to 54 AA Index frontier-grade debugging (xhigh) on one model ID.

5. When to Use Gemini 4 Carbon: Multi-Day Architecture, Defensive Cybersecurity, 1M Graph Synthesis, and Formal Science

Gemini 4 Carbon is your apex escalation tier—engineered for problems where shallow or moderate test-time compute hits a reasoning wall, and where spending an extra $0.40 to $1.50 in thinking tokens saves days of Principal Engineer or research scientist time. You should route to Carbon whenever a task exhibits high branching uncertainty, deceptive local optima, adversarial untrusted inputs, or cross-repository invariants spanning hundreds of thousands of tokens.

First, use Carbon as the lead system architect, /swarm coordinator, and deep root-cause debugger on complex distributed systems. Internally at Google, engineering teams run Carbon across multi-day trajectories where the model persists through dead ends—formulating a hypothesis, instrumenting a build-and-verify loop, falsifying its own assumption when a kernel or memory test fails, and backtracking cleanly without fabricating success (passing 92% on Google’s 375-task agentic honesty benchmark vs. 70% on Argon, with 0.0% cheating on Terminal-Bench 4.0). Whenever your prompt loads 256,000 to 1,000,000 tokens of monorepo source code, architectural RFCs, or municipal/CAD blueprints, Carbon’s 96.2% GraphWalks BFS F1 score (+12.0pp above Argon) makes it uniquely reliable at tracing long-range transitive dependencies.

Second, use Carbon for defensive cybersecurity auditing, vulnerability triage, patch synthesis, and untrusted-input agent gateways. Carbon achieves more than 2× uplift over Argon in generating secure code, performed >10× better than a rival frontier model on Chrome security patch generation, hit 100% scanning recall and 95% triage precision inside Google’s Project Fortify, and enabled Wiz’s Scan for Good team to uncover live SaaS zero-day vulnerabilities in under two hours. Equally important for enterprise production: Carbon is the first frontier model to achieve a 0.0% attack success rate on the Gray Swan Indirect Prompt Injection (IPI) benchmark—making it the safest choice when an agent must reason over untrusted external emails, web pages, or third-party tickets.

Third, use Carbon for formal mathematical verification, quantitative financial research, and wet-lab scientific discovery. Google researchers used Carbon inside AlphaProof Code to generate millions of lines of formal Lean proofs verifying the production cryptographic implementation of the Signal protocol in weeks rather than years; wet-lab biologists used Carbon to diagnose incomplete deep-well mixing and chromatography sample carryover directly from raw assay telemetry; and structural biology agents used Carbon to expand AlphaFold 3 remote protein homolog retrieval by 40-fold across CASP17 low-homolog targets.

Primary sourcesS4 ↗S5 ↗S6 ↗

Multi-Day Root-Cause Debugging & /swarm Coordination

Ranks #1 on AA Index v5.0 (59), CursorBench 4.0, and Perplexity WANDR; persists across dead-end hypotheses with 92% agentic honesty.

256K–1M Extreme Long-Context Graph Reasoning

Delivers 96.2% F1 on 256K–1M GraphWalks (+12.0pp over Argon), preventing lost-in-the-middle pointer failures across massive monorepos.

Cybersecurity Defense & Zero-Breach IPI Gateways

Leads SEC-bench Pro (88.2%), ExploitGym (54.8%), and CWE-bench (71.0%), while achieving 0.0% Gray Swan Indirect Prompt Injection attack success.

Formal Verification (Lean 4) & Scientific Discovery

Scores 80.0% on RiemannBench and 64.8% on Terminal-Bench-Science; proven on Signal Lean cryptographic proofs and 40× AlphaFold MSA homolog search.

6. When to Use Gemini 4 Argon: 1M Single-Trajectory Codebase Migrations, Long-Video Perception, and Predictable Frontier Spend

Given Hydrogen’s speed and Carbon’s #1 intelligence ranking, architects naturally ask: where does Gemini 4 Argon fit in a late-2026 production stack? As Google DeepMind explicitly notes in its Carbon general-availability guidance, Argon remains the balanced frontier choice for sustained, large-artifact software engineering migrations and domain-heavy enterprise synthesis where Hydrogen’s 64K default synchronous output cap is restrictive and Carbon’s exhaustive thinking-token burn is unnecessary overhead.

First, choose Argon for large-scale, mechanical-yet-intricate codebase migrations and profile-guided compiler optimizations. Argon sets a 77.9% mark on DeepSWE v1.1 and was the exact model Google’s internal systems teams used to migrate C and C++ libraries to memory-safe Rust—scaling from tens of thousands of lines in re2 and libgav1 up to 800,000+ lines in the Fuchsia Zircon kernel. In the libgav1 video decoder port, Argon agents ran iterative profile-guided compiler vectorization experiments to replace 32,000 lines of hand-tuned SIMD assembly with safe auto-vectorized Rust that ran 2.7× faster than the baseline Rust port. Google teams similarly used Argon agents to analyze fleet-wide datacenter telemetry—freeing over 300 TiB of production RAM (with 500 TiB–1 PiB projected)—and to cut quantum circuit spacetime (qubits × gates) by 40%.

Second, choose Argon when a single synchronous trajectory must emit more than 64,000 continuous output tokens—such as generating complete multi-module language translations, exhaustive regulatory filings, or full-schema database conversion suites in one uninterrupted pass—leveraging Argon’s native 1-million-token output ceiling without stitching segmented background buffers.

Third, choose Argon for long-video multimodal understanding and predictable-budget financial/legal synthesis. Argon achieves a state-of-the-art 91.7% on LVBench for long-video comprehension (ideal for auditing multi-hour incident recordings, surgical/industrial video feeds, or earnings-call archives), scores 65.4% on Vals Finance Agent v2, and hits 19.6% on Harvey’s Legal Agent Benchmark. Because Argon’s Sparse-MoE policy defaults to medium thinking effort, enterprises get frontier multimodal and prose depth at 40% to 65% lower per-turn output token spend than Carbon.

Primary sourcesS7 ↗S8 ↗S4 ↗

Large-Scale C/C++ → Rust & Kernel Migrations

77.9% DeepSWE v1.1; proven at Google across 800K+ LoC Fuchsia Zircon migrations, 2.7× libgav1 SIMD Rust speedups, and 300+ TiB RAM fleet savings.

Uninterrupted >64K to 1M Single-Trajectory Output

Natively generates hundreds of thousands of output tokens in one continuous trajectory without hitting Hydrogen’s 64K default synchronous segment cap.

Multi-Hour Video & Visual Audit Perception

State-of-the-art 91.7% on LVBench and 71.6% on Chartography for analyzing dense multi-hour video streams, depositions, and engineering recordings.

Predictable Frontier FinOps in Finance & Law

Delivers 65.4% on Vals Finance Agent v2 and 19.6% on Harvey Legal while avoiding Carbon’s 2×–4× extended thinking-token spikes on routine turns.

7. Production Multi-Model Orchestration: Implementing an Antigravity-Style Carbon + Argon + Hydrogen Router & Cost Estimator

The highest-leverage architectural pattern introduced alongside Gemini 4 is not picking one model for your entire company—it is dynamic intra-session orchestration across all three elements. In Google Antigravity’s newly launched Orchestrator and /swarm runtimes, a session never burns Carbon tokens on routine file edits, boilerplate test generation, or lint fixes. Instead, Carbon acts as the high-precision coordinator and security auditor, Argon handles massive single-pass module translations or long-video context ingestion, and parallel Hydrogen workers execute code changes and verification suites across isolated workspaces. On Terminal-Bench 4.0, Google DeepMind demonstrated that dynamic Carbon + Hydrogen orchestration reaches near-Carbon task success rates while consuming 24% less token quota and completing tasks 19% faster.

Below is a complete, production-ready Python reference implementation (gemini4_orchestrator_and_finops.py) built on the official google-genai SDK. It implements: (1) a deterministic WorkloadClassifier & ModelRouter encoding all architectural, context-length, output-length, security, and latency thresholds across Hydrogen (low/medium/high/xhigh), Argon (medium/high), and Carbon (medium/high); (2) exact ThinkingConfig invocation via client.models.generate_content; and (3) a real-time FinOps ledger that inspects usage_metadata (including thoughts_token_count and cached_content_token_count) to compute exact turn costs under both the November 2026 Introductory schedule and the December 1, 2026+ Standard schedule.

Primary sourcesS1 ↗S3 ↗S4 ↗S9 ↗
gemini4_orchestrator_and_finops.py — Production Multi-Model Router, ThinkingConfig Executor, and Exact Thinking-Token FinOps Ledger for Gemini 4 Hydrogen, Argon, and Carbon. · python
#!/usr/bin/env python3
"""
Production Multi-Model Orchestrator & FinOps Cost Ledger for Google Gemini 4
Supports:
  - gemini-4-hydrogen (thinking_level: low | medium | high | xhigh)
  - gemini-4-argon    (thinking_level: low | medium | high)
  - gemini-4-carbon   (thinking_level: low | medium | high)
Tracks visible output tokens, internal thinking tokens (thoughts_token_count),
and 95%-discounted cached input tokens across Introductory & Dec 1, 2026+ pricing.
"""

from __future__ import annotations
from dataclasses import dataclass
from datetime import date
from typing import Literal

# Official Google Gen AI SDK: pip install google-genai
try:
    from google import genai
    from google.genai import types
except ImportError:
    genai = None  # Allows standalone dry-run routing & FinOps simulation without API key

Gemini4ModelId = Literal["gemini-4-hydrogen", "gemini-4-argon", "gemini-4-carbon"]
ThinkingTier = Literal["low", "medium", "high", "xhigh"]


@dataclass(frozen=True)
class ModelRateCard:
    input_per_1m: float
    output_per_1m: float          # Applies to visible output + thinking tokens + tool calls
    cached_input_per_1m: float    # 95% discount off input rate
    batch_input_per_1m: float     # 50% discount for async Batch/Flex API
    batch_output_per_1m: float


def get_rate_card(model: Gemini4ModelId, as_of: date | None = None) -> ModelRateCard:
    """Returns exact Gemini API pricing (Introductory thru Nov 30, 2026 vs. Dec 1, 2026+ Standard)."""
    effective_date = as_of or date.today()
    is_intro_window = effective_date <= date(2026, 11, 30)

    if model == "gemini-4-hydrogen":
        # Flat permanent pricing across the entire 1,048,576-token window
        return ModelRateCard(
            input_per_1m=1.50,
            output_per_1m=7.50,
            cached_input_per_1m=0.075,
            batch_input_per_1m=0.75,
            batch_output_per_1m=3.75,
        )

    # Both gemini-4-argon and gemini-4-carbon share list token rates (differing in thinking token volume)
    if is_intro_window:
        return ModelRateCard(
            input_per_1m=2.00,
            output_per_1m=10.00,
            cached_input_per_1m=0.10,
            batch_input_per_1m=1.00,
            batch_output_per_1m=5.00,
        )
    return ModelRateCard(
        input_per_1m=4.00,
        output_per_1m=20.00,
        cached_input_per_1m=0.20,
        batch_input_per_1m=2.00,
        batch_output_per_1m=10.00,
    )


@dataclass(frozen=True)
class TaskProfile:
    description: str
    estimated_input_tokens: int
    expected_sync_output_tokens: int
    untrusted_external_input: bool = False
    security_or_formal_proof: bool = False
    deep_cross_repo_architecture: bool = False
    long_video_or_bulk_migration: bool = False
    latency_critical_interactive: bool = False
    retry_attempt: int = 0


@dataclass(frozen=True)
class RoutingDecision:
    model: Gemini4ModelId
    thinking_level: ThinkingTier
    rationale: str


class Gemini4Orchestrator:
    """Implements Antigravity-style dynamic routing across Carbon, Argon, and Hydrogen."""

    def select_route(self, task: TaskProfile) -> RoutingDecision:
        # 1. Security-critical, untrusted IPI surfaces (0.0% Gray Swan), formal proofs, or >256K deep graph walks
        if task.security_or_formal_proof or task.untrusted_external_input:
            return RoutingDecision(
                model="gemini-4-carbon",
                thinking_level="high",
                rationale="Carbon selected: SOTA cyber/formal verification (88.2% SEC-bench, 0.0% Gray Swan IPI breach).",
            )

        if task.deep_cross_repo_architecture or (
            task.estimated_input_tokens >= 256_000 and not task.long_video_or_bulk_migration
        ):
            return RoutingDecision(
                model="gemini-4-carbon",
                thinking_level="high",
                rationale="Carbon selected: 96.2% F1 on 256K-1M GraphWalks (+12pp over Argon) for deep architecture.",
            )

        # 2. Continuous >64K synchronous output trajectories, C/C++->Rust bulk migrations, or multi-hour video
        if task.expected_sync_output_tokens > 64_000 or task.long_video_or_bulk_migration:
            return RoutingDecision(
                model="gemini-4-argon",
                thinking_level="medium",
                rationale="Argon selected: 1M single-trajectory output, 77.9% DeepSWE migrations & 91.7% LVBench video.",
            )

        # 3. Escalate Hydrogen to xhigh (54 AA Index) on first retry before escalating to Carbon on second retry
        if task.retry_attempt == 1:
            return RoutingDecision(
                model="gemini-4-hydrogen",
                thinking_level="xhigh",
                rationale="Hydrogen (xhigh) selected: 54 AA Index burst debugging at $1.50/$7.50 before frontier escalation.",
            )
        if task.retry_attempt >= 2:
            return RoutingDecision(
                model="gemini-4-carbon",
                thinking_level="high",
                rationale="Carbon (high) escalation: dead-end recovery after worker retry.",
            )

        # 4. Ultra-low-latency UI / Search / routing vs. default high-speed repo coding & worker execution
        if task.latency_critical_interactive:
            return RoutingDecision(
                model="gemini-4-hydrogen",
                thinking_level="low",
                rationale="Hydrogen (low) selected: ~5.5s TTFT & ~200 tok/s for interactive UX.",
            )

        return RoutingDecision(
            model="gemini-4-hydrogen",
            thinking_level="high",
            rationale="Hydrogen (high default) selected: 51 AA Index & 13.5% SWE-sweep at 62.5% lower standard cost.",
        )

    @staticmethod
    def calculate_turn_cost(
        model: Gemini4ModelId,
        prompt_tokens: int,
        cached_tokens: int,
        visible_output_tokens: int,
        thinking_tokens: int,
        as_of: date | None = None,
        is_batch: bool = False,
    ) -> dict[str, float]:
        rates = get_rate_card(model, as_of=as_of)
        uncached_in = max(0, prompt_tokens - cached_tokens)
        total_billed_out = visible_output_tokens + thinking_tokens

        if is_batch:
            in_cost = (uncached_in / 1_000_000) * rates.batch_input_per_1m
            cache_cost = (cached_tokens / 1_000_000) * rates.cached_input_per_1m
            out_cost = (total_billed_out / 1_000_000) * rates.batch_output_per_1m
        else:
            in_cost = (uncached_in / 1_000_000) * rates.input_per_1m
            cache_cost = (cached_tokens / 1_000_000) * rates.cached_input_per_1m
            out_cost = (total_billed_out / 1_000_000) * rates.output_per_1m

        thinking_share_pct = (
            (thinking_tokens / total_billed_out) * 100.0 if total_billed_out > 0 else 0.0
        )
        return {
            "input_usd": round(in_cost + cache_cost, 6),
            "output_and_thinking_usd": round(out_cost, 6),
            "total_usd": round(in_cost + cache_cost + out_cost, 6),
            "thinking_share_of_output_pct": round(thinking_share_pct, 1),
        }

    def execute_live(self, prompt: str, route: RoutingDecision) -> str:
        """Executes request via official google-genai SDK with explicit ThinkingConfig."""
        if genai is None:
            raise RuntimeError("Install google-genai ('pip install google-genai') and set GEMINI_API_KEY.")
        client = genai.Client()
        response = client.models.generate_content(
            model=route.model,
            contents=prompt,
            config=types.GenerateContentConfig(
                thinking_config=types.ThinkingConfig(
                    thinking_level=route.thinking_level,
                )
            ),
        )
        usage = response.usage_metadata
        cost = self.calculate_turn_cost(
            model=route.model,
            prompt_tokens=getattr(usage, "prompt_token_count", 0) or 0,
            cached_tokens=getattr(usage, "cached_content_token_count", 0) or 0,
            visible_output_tokens=getattr(usage, "candidates_token_count", 0) or 0,
            thinking_tokens=getattr(usage, "thoughts_token_count", 0) or 0,
        )
        print(f"[{route.model} | thinking={route.thinking_level}] FinOps Telemetry: {cost}")
        return response.text or ""


if __name__ == "__main__":
    orchestrator = Gemini4Orchestrator()
    sample_workloads = [
        TaskProfile("Surgical PR bug fix & Vitest run", 85_000, 1_800),
        TaskProfile("Retry #1 on subtle async deadlock", 85_000, 2_200, retry_attempt=1),
        TaskProfile("Port 95K-token C++ SIMD codec to safe Rust", 180_000, 92_000, long_video_or_bulk_migration=True),
        TaskProfile("Audit 420K-token monorepo auth graph & CWE risks", 420_000, 4_500, security_or_formal_proof=True),
    ]

    print("=== Gemini 4 Dynamic Routing & Dec 1, 2026+ Standard Cost Simulation ===")
    for wf in sample_workloads:
        decision = orchestrator.select_route(wf)
        est_thinking = {"low": 1200, "medium": 6500, "high": 24000 if decision.model == "gemini-4-carbon" else 5500, "xhigh": 14000}[decision.thinking_level]
        bill = orchestrator.calculate_turn_cost(
            model=decision.model,
            prompt_tokens=wf.estimated_input_tokens,
            cached_tokens=int(wf.estimated_input_tokens * 0.8),
            visible_output_tokens=wf.expected_sync_output_tokens,
            thinking_tokens=est_thinking,
            as_of=date(2026, 12, 15),
        )
        print(f"Task: {wf.description}")
        print(f"  -> Route : {decision.model} (thinking_level={decision.thinking_level})")
        print(f"  -> Reason: {decision.rationale}")
        print(f"  -> Cost  : ${bill['total_usd']:.4f} (thinking = {bill['thinking_share_of_output_pct']}% of output tokens)\n")

Primary sources & further reading

Last-checked dates are listed below. Service documentation can change; recheck the linked support and pricing information before implementation.

  1. Introducing Gemini 4 Hydrogen: Speed and Efficiency for Everyday Coding and Agentic Workflows ↗Google / Google DeepMind (Koray Kavukcuoglu) · Checked
  2. Gemini 4 Hydrogen — Official Model Card (Published 12 November 2026) ↗Google DeepMind · Checked
  3. Gemini 4 Hydrogen: Everyday Coding and Agentic Workflows for Developers ↗Google Developer Tools Blog · Checked
  4. Gemini 4 Carbon Is Now Available: Frontier Performance in Cybersecurity, Engineering, and Science ↗Google / Google DeepMind (Koray Kavukcuoglu) · Checked
  5. Gemini 4 Carbon: Our Next Frontier Model ↗Google / Google DeepMind · Checked
  6. Gemini 4 Carbon — Official Model Card (Published 10 November 2026) ↗Google DeepMind · Checked
  7. Gemini 4 Argon: Our Next Era of Frontier Intelligence ↗Google / Google DeepMind (Koray Kavukcuoglu) · Checked
  8. Gemini 4 Argon — Official Model Card (Published 13 October 2026) ↗Google DeepMind · Checked
  9. Gemini Developer API Pricing & Token Billing Specification ↗Google AI for Developers · Checked
  10. Artificial Analysis Intelligence Index v5.0 — Model Throughput, Latency & Reasoning Token Leaderboards ↗Artificial Analysis · Checked

Experiment captures

Gemini 4 periodic table lineage and architectural dependency diagram across Argon, Carbon, and Hydrogen.
Figure 1 · Lineage & Architecture (4K) · Figure 1: Official Google DeepMind architectural lineage—Gemini 4 Argon (Z=18, Oct 13 clean-sheet Sparse MoE) forms the foundation for Gemini 4 Carbon (Z=6, Nov 10 deep-RL frontier), from which Gemini 4 Hydrogen (Z=1, Nov 12 ~200 tok/s workhorse) is directly adapted.
Head-to-head benchmark comparison across Gemini 4 Carbon, Argon, and Hydrogen on 12 engineering, security, and enterprise benchmarks.
Figure 2 · 12-Benchmark Matrix (4K) · Figure 2: Verified DeepMind Model Card and Artificial Analysis v5.0 scores comparing Carbon (#1 AA Index: 59, 96.2% 1M GraphWalks, 88.2% SEC-bench Pro), Hydrogen (51 high / 54 xhigh AA Index, 13.5% SWE-sweep), and Argon (77.9% DeepSWE v1.1, 91.7% LVBench).
Gemini 4 API pricing table and single-turn thinking token consumption simulation across Hydrogen, Argon, and Carbon.
Figure 3 · Token & Pricing FinOps (4K) · Figure 3: Complete API pricing schedule (Introductory vs. Dec 1, 2026 Standard, 95% Cached Input, 50% Batch) and per-turn token billing simulation showing why Carbon’s deep verification loops cost 1.8×–3.4× more per turn than Argon despite identical per-token list rates.
Production workload routing guide for when to use Gemini 4 Hydrogen, Argon, and Carbon, plus the Antigravity Orchestrator topology.
Figure 4 · Workload Router & /swarm (4K) · Figure 4: Production workload routing boundaries for Hydrogen, Argon, and Carbon paired with Google Antigravity’s Orchestrator & /swarm pattern, which achieves near-Carbon Terminal-Bench 4.0 accuracy while consuming 24% less quota and completing 19% faster.

Practical guide & interpretation

This architectural and FinOps comparison analyzes Google DeepMind’s Gemini 4 Hydrogen, Gemini 4 Argon, and Gemini 4 Carbon across their shared 1,048,576-token sparse-MoE lineage, empirical thinking-token multipliers, November 2026 introductory vs. December 1, 2026+ standard API pricing, 16 verified benchmarks, explicit workload routing boundaries, and dynamic Carbon + Argon + Hydrogen multi-model orchestration.

Benchmark both thinking-token volume and retry rate on your own repository

List price per million tokens only captures half of a Gemini 4 invoice. Because internal reasoning tokens (thoughts_token_count) are billed at the output token rate, always log prompt_token_count, cached_content_token_count, candidates_token_count, and thoughts_token_count separately when comparing gemini-4-hydrogen, gemini-4-argon, and gemini-4-carbon.

Start 80%–85% of iterative repository coding, PR sweeps, and parallel CI verification on Gemini 4 Hydrogen (high default, escalating to xhigh on retry #1), route >64K continuous synchronous generation and long-video audits to Gemini 4 Argon (medium), and reserve Gemini 4 Carbon (high) for 256K–1M cross-repo architecture, security/IPI gateways, and multi-day root-cause debugging.

Primary referencesGoogle DeepMind — Gemini 4 Hydrogen Model Card (Nov 2026) ↗Google DeepMind — Gemini 4 Carbon Model Card (Nov 2026) ↗Google DeepMind — Gemini 4 Argon Model Card (Oct 2026) ↗Gemini Developer API Pricing Schedule ↗

Questions & answers

Why does Gemini 4 Hydrogen beat Gemini 4 Argon on SWE-sweep and Artificial Analysis v5.0?

According to the official Google DeepMind Model Cards, Gemini 4 Hydrogen (released November 12, 2026) was adapted directly from Gemini 4 Carbon rather than from Gemini 3.8 Flash or Argon. It inherits Carbon’s late-stage RL post-training and parallel tool-call batching, scoring 51 (high) and 54 (xhigh) on AA Intelligence Index v5.0 and 13.5% on SWE-sweep compared to Argon’s 50 and 4.3%.

Why do Gemini 4 Argon and Gemini 4 Carbon cost different amounts per turn despite identical per-token API rates?

Both Argon and Carbon share the same per-token API schedule ($2/$10 introductory through November 30, 2026; $4/$20 standard starting December 1, 2026, with 95% off cached input). However, Carbon’s RL policy expends 2× to 4× more internal thinking tokens per turn (billed as output tokens) to verify hypotheses and avoid dead ends—making Carbon costlier on routine turns while often cheaper end-to-end on hard bugs that otherwise require multiple failed retries.

When should an engineering team still choose Gemini 4 Argon over Hydrogen or Carbon?

Choose Gemini 4 Argon when a single synchronous trajectory must emit more than 64,000 continuous output tokens (up to 1,000,000 tokens in one pass), when running large-scale mechanical codebase migrations such as C/C++ to Rust (77.9% DeepSWE v1.1), or when processing multi-hour video streams (91.7% LVBench) and institutional finance/legal synthesis with restrained medium-default thinking token spend.

About this work

Written by , an AI platform engineer and independent AI and quantum researcher. This article includes a compact interactive explanation; the text describes its assumptions and practical limits.

First published . Explanation updated .

All blogGemini 4 Hydrogen · Gemini 4 Argon · Gemini 4 Carbon · Google DeepMind · LLM Token Economics · AI Pricing & FinOps · Mixture of Experts · Multi-Agent Orchestration