Gemini 4 Carbon: the AI that finds, exploits and patches security holes (and the scoreboard)
The short version
On 28 Oct 2026 Google DeepMind announced Gemini 4 Carbon, "our strongest model with state-of-the-art cybersecurity and long horizon capabilities". It is built for long, agentic engineering work: finding a vulnerability, proving it (exploiting it) and writing the fix. Google's Chrome team says its patches were more than 10x better than another lab's large frontier model.
Most people think code that runs is safe. It isn't. Three things changed: the price, the honesty on coding tests, and how long it keeps going.
The catch: only a subset of cyber defenders get it now, trusted partners next through the Fairwind Program, and everyone else "as soon as possible", with no public date.
| Number | What it means |
|---|---|
| 88.2% | SEC-bench Pro: finding vulnerabilities |
| 54.8% | ExploitGym: exploiting them |
| 71.0% | CWE-bench: patching them |
| 10×+ | Chrome team: patch quality vs another lab's large frontier model |
| 0.0% | Terminal-Bench 4.0: successful cheating (attempts 0.4%) |
| USD 2 / 10 | introductory price per million input / output tokens; cached input 95% off |
Source: Google, "Introducing Gemini 4 Carbon", 28 Oct 2026
The scoreboard
Every number below is Google's own or a partner's, not independently verified. External cybersecurity benchmarks were run without guardrails.
| Test | What it measures | Gemini 4 Carbon |
|---|---|---|
| SEC-bench Pro | finding vulnerabilities | 88.2% (Google: state of the art) |
| ExploitGym | exploiting them | 54.8% (Google: new state of the art) |
| CWE-bench (Collinear) | patching them | 71.0% |
| Chrome team test | patch quality vs another lab's large frontier model | more than 10× better |
| Terminal-Bench 4.0 | successful cheating | 0.0% (cheating attempts 0.4%) |
| Gray Swan indirect prompt injection | attack success | 0.0% (Argon 0.7%) |
| Artificial Analysis Intelligence Index v5.0 | overall | #1, score 59 |
| WebDev Arena | web development | 1768 Elo (+89), #4 |
| Internal | secure-code success rate | more than 2× Argon |
Price
| Input per 1M tokens | Output per 1M tokens | |
|---|---|---|
| Introductory | USD 2 | USD 10 |
| After the introductory period | USD 4 | USD 20 |
Cached input tokens are 95% off the input price (USD 0.10 per million at the introductory price).
The catch
- Available now only to a subset of cyber defenders.
- Wider access comes gradually to trusted partners through the Fairwind Program.
- Developers, businesses and consumers: "as soon as possible", no date.
- The page does not state the context window.
Copy these prompts
Use your current model until Carbon opens up.
List every place in this repo where user input reaches a database query, a shell command, a file path or HTML without validation. For each one: the file and line, the CWE class, a request that would exploit it, and a minimal patch. Do not change anything yet.
For the patch you just proposed, write a failing test that reproduces the exploit first, then apply the patch and show the test passing. If the test can pass without the patch, say so.
Review this diff as a security reviewer. Did the change weaken any check, skip a test, or special-case a test input to make it pass? Answer yes or no for each, with the line.
If you are building with AI-written code
- Keep a security gate you control in CI on every PR: dependency audit, secret scan and a SAST step.
- Treat "the tests pass" as weak evidence. Google cut test-cheating to 0.0% because agents gaming checks is a known failure; your current agent may still do it.
- When an audit model opens up, point it at your own repo first: find, validate, patch, then read the diff yourself before merging.
Run this on your codebase
- Run the first prompt above on your main service.
- Pick the top three findings and run the second prompt on each.
- Run the third prompt on the final diff, then merge only what you read.