Gemini 4 is Google DeepMind's Fall 2026 generation of multimodal and reasoning foundation models. Instead of legacy tier labels such as Pro, Flash, or Ultra, the Gemini 4 lineup adopts chemical element names (Hydrogen, Neon, Carbon, and Argon)—each tuned for a distinct operating point on the intelligence-speed-cost Pareto frontier.
💡 Shared Architecture: All four Gemini 4 models share a unified 1M-token (1,048,576) multimodal context window (covering input, internal thinking tokens, and output combined), native support for text, image, audio, video, and PDF inputs, 65,536-token synchronous output (scaling up to 1M tokens via Long Decode), and built-in Google Search Grounding, code execution, Computer Use, and structured outputs across Google AI Studio, Gemini API, Vertex AI, and Google Antigravity.
🔗 Related Cheat Sheets: Claude Fable 5.2 Specifications, Pricing & Migration Cheat Sheet · Antigravity CLI (agy) Cheat Sheet · Terminal AI Coding CLIs Comparison Cheat Sheet · AI Agent Harness Engineering Cheat Sheet · LLM & Agent Technical Concepts Cheat Sheet
1. Gemini 4 Model Lineup Specifications
| Dimension | Gemini 4 Hydrogen | Gemini 4 Neon | Gemini 4 Carbon | Gemini 4 Argon |
|---|---|---|---|---|
| API Model ID | gemini-4-hydrogen |
gemini-4-neon |
gemini-4-carbon |
gemini-4-argon |
| Release / GA Date | Nov 12, 2026 | Nov 18, 2026 | Oct 28, 2026 | Announced Sep 30 / GA Oct 13, 2026 |
| Primary Role | High-efficiency workhorse (Flash successor) | Balanced mid-tier frontier (adapted from Carbon) | Heavyweight flagship deep reasoner | Early sparse MoE frontier baseline |
| Unified Context Window | 1,048,576 tokens | 1,048,576 tokens | 1,048,576 tokens | 1,048,576 tokens |
| Max Output | 65,536 sync / 1M Long Decode | 65,536 sync / 1M Long Decode | 65,536 sync / 1M Long Decode | 65,536 sync / 1M Long Decode |
Supported thinking_level |
low · medium · high · xhigh |
low · medium · high · xhigh |
low · medium · high |
low · medium · high |
| Default Thinking Level | high |
high |
medium |
medium |
| API Free Tier | Available (only Gemini 4 model) | Paid Tier only | Paid Tier only | Paid Tier only |
| Special Notes | Top choice for parallel subagents | ~110 tokens/s; concise output | Hardened prompt-injection defense | Restricted gemini-4-argon-cyber-permissive variant |
2. API Pricing & Cost Comparison (USD per Million Tokens)
Gemini 4 uses flat pricing across the full 1M context window. Thinking tokens are billed as output tokens, Batch API provides a 50% discount, and shared prefixes of 4,096+ tokens automatically trigger implicit durable caching:
| Model | Input | Output (incl. thinking) | Implicit Cache Read | Batch API (Input / Output) | Pricing Tier Notes |
|---|---|---|---|---|---|
| Gemini 4 Hydrogen | $1.50 | $7.50 | $0.075 | $0.75 / $3.75 | Only model offered on the Gemini API Free Tier |
| Gemini 4 Neon | $3.00 | $15.00 | $0.15 | $1.50 / $7.50 | Paid Tier; best speed-adjusted coding intelligence |
| Gemini 4 Carbon | $2.00 → $4.00 | $10.00 → $20.00 | $0.10 → $0.20 | $1.00 / $5.00 → $2.00 / $10.00 | Intro rate through Nov 30, 2026; standard rate starts Dec 1, 2026 |
| Gemini 4 Argon | $2.00 → $4.00 | $10.00 → $20.00 | $0.10 → $0.20 | $1.00 / $5.00 → $2.00 / $10.00 | Intro rate through Nov 30, 2026; standard rate starts Dec 1, 2026 |
⚡ Cost Optimization Tip: Because thinking tokens count toward output billing and Hydrogen/Neon default to
high, explicitly setthinking_level="low"or"medium"for routine tool calls or deterministic routing, and keep static system prompts and tool definitions at the prefix (≥ 4,096 tokens) to capture $0.075–$0.20/MTok cache reads.
3. Model Positioning & Benchmark Highlights
| Model | Positioning & Core Strengths | Verified Benchmark Highlights | Best-Fit Workloads |
|---|---|---|---|
| Gemini 4 Hydrogen | High-speed, low-cost execution engine replacing legacy Flash tiers while keeping strong multimodal reasoning and optional xhigh escalation |
Terminal-Bench 4.1 ~57.0%; matches Neon on select GPQA Diamond endpoints at significantly lower latency | Daily coding, interactive web apps, high-volume extraction, and parallel subagent loops |
| Gemini 4 Neon | Adapted from Carbon to finish complex engineering tasks faster (~110 tokens/s) with fewer output tokens while retaining frontier reasoning | Terminal-Bench 4.1 65.2% · FrontierCode 2.0 46.2% (High) · CWE-bench v2 70.7% · HLE Diamond ~71.3% · AA Coding Agent 58.6 | Complex software engineering, interactive coding agents, deep analytics, and scientific workflows |
| Gemini 4 Carbon | Flagship long-horizon reasoning engine built for maximum thoroughness, minimal shortcut/cheating behavior, and strong prompt-injection resilience | SEC-bench Pro 88.2% · GPQA Diamond 95%+; near-zero shortcut behavior in terminal evaluations | Multi-day autonomous loops, core architecture design, deep debugging, and cybersecurity patching |
| Gemini 4 Argon | First Gemini 4 sparse MoE frontier model released; faster turns and fewer tokens than Carbon for structured enterprise pipelines | Peaked at #1 on Vals Index (~68.9%) at launch; strong GPQA Diamond baseline; cyber allowlist variant available | Existing enterprise legal/financial document pipelines (new interactive builds favor Neon) |
4. thinking_level Tuning & Routing Decision Flow
4.1 Four-Tier thinking_level Reference
thinking_level |
Supported Models | Platform Default | Latency & Cost Profile | Recommended Scenarios |
|---|---|---|---|---|
low |
All 4 models | — | Minimal thinking tokens and fastest response | High-throughput classification, simple extraction, deterministic routing |
medium |
All 4 models | Carbon & Argon Default | Balanced speed and reasoning rigor | Routine coding help, interactive chat, structured document parsing |
high |
All 4 models | Hydrogen & Neon Default | Deep multi-step reasoning stability | Production coding agents, multi-tool orchestration, cross-file debugging |
xhigh |
Hydrogen & Neon only | — | Maximum thinking budget for peak accuracy | Hardest algorithms, HLE/research-grade deduction, complex refactoring |
4.2 Practical Model Selection Flow
Workload Incoming
├── High-volume calls, interactive UI, parallel subagents, or Free Tier?
│ └── YES ➔ Gemini 4 Hydrogen (use low/medium for speed; xhigh when needed)
└── NO
├── Multi-day autonomous loops, cyber defense, or hardest architecture/math?
│ ├── YES ➔ Gemini 4 Carbon (strongest injection defense & deep rigor)
│ └── NO ➔ Gemini 4 Neon (default coding agent & analytics workhorse, ~110 tok/s)
└── Legacy enterprise legal/finance integration or allowlisted cyber research?
└── Gemini 4 Argon (migrate new interactive projects to Neon)
5. Developer Migration & Integration Checklist (4 Key Changes)
Audit these four platform changes when upgrading from Gemini 2.x / 3.x to Gemini 4:
| Check Item | Breaking Change / Behavior | Common Error / Symptom | Migration Fix |
|---|---|---|---|
1. thinking_budget Deprecated( Thinking Config) |
Explicit token counts via thinking_budget are deprecated in favor of thinking_level; minimal is unsupported |
Passing thinking_level="minimal" returns HTTP 400 INVALID_ARGUMENT; leaving default high on Hydrogen/Neon raises token bills |
Migrate to thinking_level (low / medium / high / xhigh); set low or medium explicitly for routine calls |
| 2. Sampling Controls Tightened ( Sampling Params) |
temperature, top_p, and top_k may be silently ignored or rejected outside narrow bounds depending on endpoint |
Relying on temperature=0 for deterministic formatting stops working or triggers HTTP 400 |
Drop brittle temperature assumptions; enforce format determinism via Structured Outputs (JSON Schema) |
| 3. Unified 1M Window & Long Decode ( Long Decode) |
Inputs, internal thinking blocks, and final output share one 1,048,576-token budget; synchronous output caps at 65,536 tokens | Long generations truncate or time out, or heavy thinking leaves insufficient headroom for output | Use SDK continuation_token handling or pass background=true in the Interactions API for async long decodes |
| 4. Explicit to Implicit Caching ( Context Caching) |
Legacy explicit cached_content calls are replaced by default-on implicit durable caching |
Explicit cache creation endpoints fail or add unnecessary complexity | Remove explicit cache setup; keep stable system prompts, tools, and static docs at the front (≥ 4,096 tokens) |
Google Gen AI Python SDK Example
from google import genai
from google.genai import types
client = genai.Client() # Uses GEMINI_API_KEY from environment
# Choose: gemini-4-hydrogen | gemini-4-neon | gemini-4-carbon | gemini-4-argon
response = client.models.generate_content(
model="gemini-4-neon",
contents=(
"Audit this event-driven microservice gateway for idempotency gaps "
"and output a production-ready Python fix."
),
config=types.GenerateContentConfig(
# Hydrogen / Neon: "low" | "medium" | "high" | "xhigh"
# Carbon / Argon: "low" | "medium" | "high" ("minimal" is invalid)
thinking_config=types.ThinkingConfig(
thinking_level="xhigh"
),
max_output_tokens=16384,
),
)
print(response.text)