Early-bird pricing (ends Dec 25), locked in while you stay subscribed: Go $10/mo (normally $20), Plus with Opus 5.5 just $30/mo (normally $50)Subscribe →
Text chat1M context

Gemini 4 Argon

Try Gemini 4 Argon, Google's first Gemini 4 model, in the browser or through an OpenAI-compatible API. Up to 1M output tokens and #1 on the Vals Index.

Price / 1M tokensSave 70%
OfficialAIReiter
Input$2.00$0.60
Output$10.00$3.00
Cache read$0.10$0.03
Cache creation$0.00
Readme
Input
Caps the reply length. Reasoning models count their thinking toward it too.
gemini-4-argon
Output

A codebase you don't know is a risk, not a hurdle. The plan should burn down that risk in order: understand, run, trace, spike, then make the change small enough that "production-ready" is a property you can demonstrate, not a hope.

Here are the first five steps, with the evidence you collect at each.

Step 1 — Get it building and the baseline green (half day)
Read the README, the manifest(s), the CI config, and any architecture docs. Boot the app locally, run the full test suite, run the linter/typechecker.
Evidence: The exact commands that reproduce a clean build and a passing test suite from a fresh checkout (recorded output, not memory of it). A one-page map you wrote yourself: where the entry points are, the layers, the build/test toolchain, and the main risks to your feature (e.g. "this touches cron jobs and payments").

Step 2 — Trace the smallest end-to-end slice that resembles your feature (half day)
Don't start with your feature. Pick a neighboring one that already works and follow it from entry to persistence. Note the conventions along the way: how errors surface, how config is injected, how logging is done, how tests are written.
Evidence: An annotated trace — file → function → what it does — for that slice. A written list of "conventions I must follow" (not intuitions; things you observed in real code). A named shortlist of the 3–5 files you will actually touch. If you can't produce this trace, you're not ready to write code.

Step 3 — Spike the core path (day 2)
Build the ugly version: hardcoded values, no error handling, no tests. The purpose is to confirm the path you traced in step 2 is real and to surface what you didn't know you didn't know.
Evidence: A working spike demonstrating the feature's central data path, alongside a list of every assumption the spike broke and what you corrected. That correction list is the most valuable document in this whole plan.

Step 4 — Write the contract before the code (half of day 2 / day 3)
Once the spike proves the path, pin down what production needs: the inputs/outputs, the error cases, where it sits in the conventions from step 2. Then write the tests — they'll be red, but they're the specification.
Evidence: A one-to-two-page design doc, an agreed interface/API shape (with the team if there is one), and a red test suite that encodes intended behavior. If you can't write the contract without consulting the code, you haven't finished step 2.

Step 5 — Implement in small, verified increments (days 3–4)
Replace the spike with the real thing in small commits, each one keeping the suite green, leaning on the existing patterns. Run lint/tests/typecheck per commit — CI, not just locally — and exercise the actual path against a real instance (staging or a local environment that isn't stubbed).
Evidence: A branch with progressive commits, each green in CI; coverage on the new code; something that proves it works against reality (a test result, a log trace, a screenshot); and a review by at least one person who knows the codebase. The review counts as evidence — an unfamiliar codebase has tribal knowledge you cannot extract from the files alone.

Steps 6+ would be the things that actually make it "shipped": a migration plan and its rollback, feature flagging, observability, the release and post-release verification. But the first five get you to a reviewed, green, working slice in staging — which is the point at which you can say "this will work in production" with evidence behind it, instead of a guess.

Generated in42.7s
Input tokens134
Output tokens2,354
Tokens / sec55.13
TTFT-

Runs in this page. Sign-in and credits are required.

Model details

Use the same model key in Playground, API requests, and internal workflows.

Model ID
gemini-4-argon
Provider
Google
Protocol
OpenAI Chat Completions
Context window
1,048,576 tokens
Max output
-
Input tokens
60 credits / 1M tokens
Output tokens
300 credits / 1M tokens
Cache read
3 credits / 1M tokens
Cache write
0 credits / 1M tokens

What Gemini 4 Argon is good at

Google built Argon for long, multi-step professional work. Figures below are reported by Google unless an independent leaderboard is named.

Long-horizon software engineering

Argon scores 77.9% on DeepSWE v1.1, a benchmark of real engineering tasks that take many steps to finish, and Google reports it as the state of the art. Use it for debugging across a large repository, refactors and code migrations.

Finance, legal and business work

Argon is #1 on the Vals Index, an independent leaderboard that weights finance, coding, legal and tax tasks by their share of U.S. GDP. It also ranks first on Zapier's AutomationBench with 51.3%.

Finding and fixing vulnerabilities

Google trained Argon to find, validate and patch software vulnerabilities. It ties for first on CWE-bench v1 with 68%. Point it at code you own and ask it to locate a flaw, explain how it is reached and write the fix.

Charts, documents and long video

Argon reads professional charts, works across a set of documents and picks out details from long videos. It scores 91.7% on LVBench, a long-video understanding benchmark, the highest published result.

One response can run to a million tokens

Earlier Gemini models stopped at 64K output tokens. Argon raises the limit to 1M, so a single response can hold a full report, a long translation or a multi-file change.

Finish long jobs in one pass

Generate a complete document, a whole module or a book-length translation without stitching several responses together and losing context at the seams.

Room to think

With hundreds of thousands of tokens of headroom, Argon can reason through a hard problem and write the answer in a single trajectory instead of stopping half way.

Set max_tokens on purpose

Argon writes long. On the Artificial Analysis index it produced about 62K output tokens per task, against about 27K for GPT-6 Astra. Keep max_tokens low for chat and short answers, and raise it only for jobs that need the room.

What Argon has already done at Google

Manage API keys →

Google ran Argon on its own engineering work before release. These are the results Google has published.

01Rewriting C and C++ in Rust

Argon agents are migrating Google codebases to Rust, from libraries such as re2 up to the 800K-line Fuchsia Zircon kernel. In the libgav1 video decoder they replaced 32K lines of SIMD code, and the result runs 2.7x faster than the earlier Rust port with identical output.

02Saving data-center memory

A team of Argon agents read fleet-wide profiling data and applied memory optimizations across Google's data centers, freeing more than 300 TiB.

03Quantum algorithm design

Argon helped Google's quantum researchers reduce the qubit and gate cost of key subroutines, beating a published baseline by 40% within minutes.

04A vulnerability others missed

Wiz used Argon to uncover a critical flaw in healthcare software used by hospitals worldwide that exposed personal data, a risk earlier frontier models had not found.

Try Gemini 4 Argon in 3 steps

  1. 01

    Repoint the client

    Set the base URL to https://aireiter.com/api/v1 and use your AIReiter API key. The official OpenAI SDKs work once the base URL is changed.

  2. 02

    Send the request

    POST https://aireiter.com/api/v1/chat/completions { "model": "gemini-4-argon", "max_tokens": 4096, "messages": [{"role": "user", "content": "Hello"}] }

  3. 03

    Size the output

    Keep max_tokens modest for chat. Raise it for long reports, migrations and translations, where the 1M output limit is the reason to choose Argon.

FAQ

01Which model id do I send?

gemini-4-argon, the same id Google uses in the Gemini API.

02How is Argon different from Gemini 3.x?

Argon is the first Gemini 4 model and the first Gemini model named with a codename instead of a Pro or Flash tier. The biggest practical change is output length: up to 1M tokens per response, up from 64K.

03Do I need a Google account or a Gemini API key?

No. Use your AIReiter key with the AIReiter endpoint. To try the model before writing any code, use the playground on this page.

04Are the benchmark numbers independent?

The Vals Index is an independent leaderboard. DeepSWE, LVBench, CWE-bench and AutomationBench results are reported by Google. Run Argon on your own tasks before you switch a production workload.

05Should I pick Argon or Claude Opus 5.5?

Pick Argon when a job needs very long output, or understanding of charts and long video. For other work, both models run on one AIReiter key, so send the same real task to each and keep the one that does it better.