Loading KingLand…

Gemini 4 Argon: what a million-output-token window changes

Gemini 4 Argon opens a one-million-token output window in a single inference, enabling end-to-end automation of legacy codebase rewrites.

Large-scale refactoring moves to a new dimension. Google announces general availability of Gemini 4 Argon, its flagship reasoning model. Its most striking innovation is not an isolated one-million-token “raw output”: Argon has a unified 1,048,576-token window shared between input, reflection, and output, with a long-decode mechanism that can extend generation well beyond usual limits.

Exploring the foundations of Gemini 4 Understanding the new paradigms of artificial intelligence.

Gemini 4 Argon: a unified one-million-token window and long decode

Why it matters now: Google isn’t just enlarging context. Argon combines a unified 1,048,576-token window, adjustable reasoning levels, and a continuation protocol designed for long code, science, and agent tasks.

The key takeaway

On October 13, 2026, Google made Gemini 4 Argon generally available on the Gemini API. The model scores 77.9% on DeepSWE v1.1 and 68.0% on CWE-bench v1. Its long generation can exceed 65,536 tokens via successive continuations, within a unified 1,048,576-token window shared across input, reflection, and output.

Contents

Why this matters now

The foundation model market is no longer only about how much context a model can ingest. With Gemini 4 Argon, Google introduces a unified 1,048,576-token window: input, reflection, and output tokens share the same budget. A standard generation step goes up to 65,536 tokens in SDKs and streaming calls; some non-streaming direct HTTP GenerateContent requests are limited to 32,768 tokens. Long decode then allows continuing the same generation through continuations.

This change matters for long tasks, but it doesn’t magically remove the need to split, test, and validate a software project. Long decode is especially suited to hard problems in math, science, formal research, coding, and agents. Google notes most code tasks remain under 65,536 tokens and that very long outputs can take several minutes. The public version also keeps cyber safeguards; access to the permissive cyber variant remains restricted to approved organizations via Fairwind.

In light of this announcement, comparisons with other frontier models become more nuanced. Claude Opus 5.5 scores 74.2% on DeepSWE v1.1, 62.3% on FrontierSWE v2, and 66.4% on Terminal-bench 4.0, while GPT-6 Astra scores 74.1% on DeepSWE v1.1, 65.5% on FrontierSWE v2, and 58.2% on Terminal-bench 4.0. Argon leads on DeepSWE v1.1 with 77.9% but trails on some system benchmarks: 55.0% on FrontierSWE v2 and 57.4% on Terminal-bench 4.0. So this is leadership on certain axes, not universal dominance.

What it is

Gemini 4 Argon is the first model in the Gemini 4 family and Google’s flagship reasoning model. It accepts text, images, video, audio, and PDFs as input and produces text. Its context window is unified at 1,048,576 tokens: input, reflection tokens, and output share that capacity. For long generations, the model can use long decode up to the remaining limit of that window.

Technology in brief

A frontier native multimodal model based on a sparse Mixture-of-Experts (MoE) Transformer architecture, with a unified 1,048,576-token window, three reflection levels (low, medium, high), and a long decode aimed at the hardest reasoning and engineering tasks.

The official model sheet describes Gemini 4 Argon as a large-scale sparse Mixture-of-Experts (MoE) Transformer, natively multimodal. Google does not document a “next-generation sparse attention” that guarantees no drift at one million tokens. Evaluations show length still matters: on GraphWalks Argon scores 99.7% up to 128k tokens and 84.2% on the 256k–1M range. The API also exposes precise mechanisms: adjustable reflection, continuation for long decodes, and implicit caching; explicit caching is not supported on Argon.

What you can use it for

Major software migrations are difficult because they combine dependencies, interfaces, tests, historical behaviors, and production constraints. Converting C/C++ to Rust, for example, isn’t just translating files: it must preserve functional invariants, performance, and compatibility with the existing ecosystem.

Gemini 4 Argon is aimed specifically at these long projects. Google says Argon agents are working on C/C++→Rust migrations ranging from tens of thousands of lines for libraries like re2 and libgav1 to over 800,000 lines for the Zircon kernel of Fuchsia. These migrations should not be presented as finished: Google says these rewrites are still subject to audits, emulation tests, and reviews before production. On libgav1, Argon reworked 32,000 lines of SIMD from an existing Rust port and Google reports a decoder 2.7× faster than that port. Outside software, Google documents results in quantum computing, rare disease research, and robotics: Argon nearly doubled inference throughput of an internal AlphaQubit version, a formally generated-and-verified arcsin implementation reduced space-time cost by over 100× versus a baseline quantum CORDIC, and Gamow Labs reports 57% on RareBench and 52.2% on LabBench. In robotics, Argon scores 87% on ERQA and was used in an internal Video-to-Sim-to-Real pipeline transferred to Apptronik’s Apollo robot.

Operational impact and ROI

Argon’s economic interest is measured mainly on tasks that are engineering-time intensive, but no universal ROI can be derived from benchmarks. Google does report internal signals: in Antigravity teams increased agentic code submissions by more than 35% while reducing rollbacks by nearly a third; on Chrome, an architectural refactor covering hundreds of files was reduced from months to weeks. In professional evaluations, Argon also scores 68.9% on the Vals Index, 51.3% on AutomationBench, and 91.7% on LVBench.

For software architects & lead developers

  • Gain: Potential reduction in assembly and coordination work on multi-file migrations, provided tests, reviews, and integration checks are kept.
  • Usage: Planning migrations, multi-file refactoring, dependency audits, and assisted conversions to memory-safe languages, with human validation and CI.

For CTOs & R&D directors

  • Gain: Google says an Argon agent team freed over 300 TiB of memory in its datacenters after deploying optimizations, with total estimated savings of 500 TiB to 1 PiB. On the API side, implicit cache hits receive a 95% discount on cached input tokens; this rate does not imply an automatic 95% reduction in total workflow cost.
  • Usage: Technical debt modernization, vulnerability analysis, remediation assistance, and controlled automation of DevSecOps workflows. CWE-bench is a vulnerability-discovery benchmark, not a compliance audit.

Comparative table of leading software-engineering performance (2026)

ModelDeepSWE v1.1 scoreCWE-bench v1 (Security)Gray Swan IPI (k=15)Max output capacity
Gemini 4 Argon77,9 %68,0 %0,7 %65,536 per request; long decode up to 1,048,576 shared
Claude Opus 5.574,2 %67,0 %n.a.128,000 tokens
GPT-6 Astra74,1 %68,0 %n.a.128,000 tokens

How to use it

Gemini 4 Argon is accessible through several Google surfaces, but access rights differ between the consumer app, the API, and developer tools. So distinguish Gemini subscription from API billing. The model supports code execution, function calling, file search, grounded Search and Maps, structured outputs, and URL context; workstation use is announced as preview.

  1. API and Cloud access: Enable the model gemini-4-argon on the paid tier of the Gemini API, Google AI Studio, and compatible Google Cloud surfaces, including Gemini Enterprise Agent Platform. For consumer use, Argon is offered in the Gemini app and AI Mode of Search to Google AI Pro and Google AI Ultra subscribers. Developer access is not included in Google AI Pro: the API is billed separately, while Google AI Ultra also opens Argon access in Antigravity and AI Studio under Google’s published terms.
  2. Antigravity session configuration: Pair the API with Google Antigravity on macOS when your plan includes it. Antigravity’s agentic interface is also integrated into the Gemini app on macOS; it orchestrates coding tasks and multi-agent loops, but produced changes must remain subject to compilation, tests, and review.
  3. Context injection and caching: Load only useful context: the 1,048,576-token window is shared with reflection and output. Implicit caching is enabled automatically for eligible prefixes and cached tokens actually served are billed with a 95% discount. Explicit caching is not supported by Gemini 4 Argon.
  4. Starting a long trajectory: Define a global directive and explicit validation criteria (for example: “Convert module X from C++20 to stable Rust, preserve public APIs and provide unit tests”). To go beyond 65,536 tokens, use long decode: recent Google GenAI SDKs handle continuations automatically, while a custom REST integration must handle the continuation_token.

Pricing and business model

Introductory pricing positions Argon competitively for a frontier model, but actual cost depends on context size, reflection level, output tokens, cache hits, tools, and number of continuations.

  • Promotional launch pricing (Gemini API / Google Cloud):
    • Input tokens: $2.00 / million
    • Cached input tokens: $0.10 / million (95% discount)
    • Output tokens: $10.00 / million
  • Standard pricing starting December 1, 2026:
    • Input tokens: $4.00 / million
    • Output tokens: $20.00 / million
  • Subscription offers: The Gemini app gives Argon access to Google AI Pro and Google AI Ultra subscribers. This is not an API credit: the paid tier of the Gemini API is still billed by usage. Google also says Google AI Ultra gives Argon access in Antigravity and AI Studio.

At list price, one million output tokens would cost $10.00 during the promotional period, then $20.00 from December 1, 2026. In practice, the 1,048,576-token window is shared with input and reflection: a request with a large existing context won’t have a full million tokens of final text, and reflection tokens are also counted in the billable output budget.

Alternatives to consider

Gemini 4 Argon is not automatically the best choice. Official benchmarks show different profiles depending on task type, cost, speed, agentic autonomy, and deployment constraints.

  • Claude Opus 5.5: Remains a credible competitor for migrations and long-lived code agents. In Google’s model sheet, Opus 5.5 outperforms Argon on FrontierSWE v2 (62.3% vs. 55.0%) and Terminal-bench 4.0 (66.4% vs. 57.4%), while trailing on DeepSWE v1.1 (74.2% vs. 77.9%).
  • GPT-6 Astra: Remains very competitive on system, science, and compute-heavy tasks. In Google’s published evaluations, Astra scores 65.5% on FrontierSWE v2 vs. Argon’s 55.0%, while Argon leads on DeepSWE v1.1. Astra also documents a maximum output of 128,000 tokens per API call.
  • DeepSeek-V4-Pro: Is officially available on the web, app, and API. It may be relevant for organizations prioritizing DeepSeek’s cost and ecosystem; hosting, licensing, privacy, and compliance choices should still be checked separately. See our analysis of DeepSeek-V4-Pro.

A practical example

To illustrate long decode’s interest without inventing a KingLand benchmark, consider a hypothetical scenario: rewriting a legacy banking transaction system in COBOL to a Go microservice architecture. The following describes an evaluation protocol, not a test actually run by KingLand.

The prompt / the action

Provide 450,000 tokens of COBOL (business logic, VSAM indexed file structures, exception handling) with the directive: “Generate the entire equivalent Go project: folder architecture, data structures, gRPC services, PostgreSQL database handlers, integration test suites, and SQL migration scripts.”

Expected result and validation criteria

With such a large context, the goal shouldn’t be to produce 820,000 tokens “in one go,” but to check whether Argon can maintain coherence across a long migration using the continuation protocol. Relevant criteria would be: reproducible compilation, functional parity, interface compliance, test pass rate, measured coverage, absence of regressions, and total token cost. Until this scenario is executed and instrumented, no compilation-on-first-try or 91% coverage figures should be presented as results.

What can go wrong

A long decode can take several minutes and consume large volumes of reflection and output tokens. A poorly scoped initial directive can therefore be costly. For long calls, Google recommends recent SDKs, the appropriate execution mode, and sufficiently high timeouts; set spending limits and stop criteria as well.

Implementation guide

Deploying Argon on long workflows requires a rigorous method: minimal useful context, budgets, measurable success criteria, execution sandbox, human review, and rollback strategy.

Phase 1: configuration

Enable access to the paid tier of the Gemini API or to the corresponding Google Cloud surface for your architecture. Configure budgets and, when available for your service and project, a spend cap; Google notes enforcement is not instantaneous and small overruns remain possible. Also check rate limits and use a recent Google GenAI SDK if you rely on automatic continuation.

Phase 2: first pilot

Isolate a representative but noncritical module with a reliable test suite. Submit it to Argon via Google Antigravity to perform a refactor or assisted migration. Measure compilation, tests, coverage, regressions, token cost, compute time, and code-review quality. Don’t move to a critical repo until you have reproducible results.

Phase 3: deployment

Integrate Argon into your CI/CD pipeline only with safeguards: dedicated branches, sandboxes, automated tests, static analysis, isolated secrets, cost thresholds, and human validation. For vulnerability remediation, distinguish the public Argon model from the permissive cyber variant reserved for approved organizations in the Fairwind program. You can supplement PR review with CodeRabbit to keep strict human control over branch merges.

Risks and limitations

Using such a powerful model involves technical and economic risks that should be formalized.

DimensionIdeal for...WatchoutsAvoid if...
Inference costMigration projects with high ROI (legacy → cloud).Public pricing rises from $10 to $20 per million output tokens after November 30, 2026; reflection tokens are included in output billing.Small code tweaks, latency-sensitive workloads, or very high-volume tasks (prefer a cheaper, faster model, e.g. Gemini 3.8 Flash).
System performanceLong-form software engineering, multimodal reasoning, and defensive cybersecurity (68% on CWE-bench v1).Argon is not top everywhere: 55.0% on FrontierSWE v2 vs. 65.5% for GPT-6 Astra and 62.3% for Claude Opus 5.5; 57.4% on Terminal-bench 4.0 vs. 66.4% for Opus 5.5.Tasks requiring low-level real-time interaction under strict I/O constraints.
SecurityMeasured good resistance to indirect prompt injection: Google reports 0.7% attack success at k=15 on Gray Swan IPI.Human validation required before production deployment.Automatic execution of non-isolated code in privileged environments without a sandbox.

Questions to ask before you decide

[CTO] What does the unified 1-million-token limit concretely change for a developer?

It greatly increases the available headroom for long tasks, but it isn’t a guaranteed million tokens of final text in a single physical call. Input, reflection, and output share 1,048,576 tokens. A generation step reaches up to 65,536 tokens in SDKs and streaming, with a 32,768-token limit for some non-streaming HTTP GenerateContent requests. Beyond that, Argon uses long decode and continuations that recent SDKs can aggregate into a combined response.

[Decision-maker] What are Gemini 4 Argon’s exact API prices?

Through November 30, 2026 inclusive, the announced public price is $2.00 per million input tokens and $10.00 per million output tokens, reflection included. Implicit cache hits are discounted 95%, i.e. $0.10/M at launch pricing. From December 1, 2026, Google announces $4.00/M input, $0.20/M cached input, and $20.00/M output.

[Ops / Product] How to access Gemini 4 Argon without using the API?

Without the API, Argon is available in the Gemini app and AI Mode of Search for Google AI Pro and Google AI Ultra subscribers. Google AI Ultra also provides Argon access in Antigravity; the Antigravity interface is integrated into the Gemini app on macOS. API access remains a separate, usage-billed offering.

[DevSecOps] How resistant is Argon to prompt injection attacks?

Google reports 0.7% attack success at k=15 on Gray Swan Indirect Prompt Injection and 68.0% on CWE-bench v1. These scores show strong performance on published evaluations, but they don’t prove a deployment is “safe” by default: sandboxing, secret management, permission control, and human review remain necessary.

The KingLand verdict

KingLand rating: 4.8 / 5

Verdict: recommended for demanding use cases. Gemini 4 Argon marks a significant advance for long reasoning and engineering tasks thanks to its unified 1,048,576-token window and long decode. It’s particularly valuable for multi-file migrations, scientific research, multimodal analysis, and some agentic workflows. However, adoption shouldn’t be presented as an obvious financial trade-off: cost, latency, validation, and result quality still depend on the use case.

An AI explorer’s perspective

Analyst’s reflection

The most structurally important novelty isn’t “letting a million tokens flow,” but being able to extend a complex generation within a unified window, with an explicit continuation protocol. That shifts effort toward evaluation: tests, observability, cost control, security, and validation become even more important.

Gemini 4 Argon’s arrival mainly changes how we approach long tasks. Instead of repeatedly re-sending prompts to get around an output ceiling, you can entrust more continuity to the model and the long-decode protocol. That still doesn’t obviate clear prompt architecture, checkpoints, or tests: the longer the generation, the farther a mis-specified directive can propagate.

Seeing a model maintain reasoning or code production across hundreds of thousands of tokens opens new use cases, but the developer’s role doesn’t disappear: it shifts toward system design, constraint definition, tool orchestration, and—above all—verification. The real break is therefore not only the amount of code produced, but teams’ ability to evaluate, secure, and integrate it without losing control.

Mastering Argon’s innovation potential Integrate the technical capabilities to transform your workflows.