Gemini 4 Carbon vs Claude Fable 5.2 vs Opus 5.5: Pricing, API and Benchmarks

Gemini 4 Carbon vs Claude Fable 5.2 vs Opus 5.5: benchmarks, API pricing and which model to pick for your task.
Large glass Gemini logo on a stand labelled Gemini 4 Carbon, next to the AI/ML API robot testing a black hole page at a desk, with the Claude logo on the desk

We compared Gemini 4 Carbon, Google's strongest model, with Claude Fable 5.2 and Claude Opus 5.5 on published benchmarks and on three coding tasks of our own. Gemini 4 Argon, a cheaper model from the same family, ran the same tasks. One AI/ML API key runs all four.

Carbon is cheaper per token than both Claude models: $2.33 per million input tokens on AI/ML API, against $4 for Opus 5.5 and $8 for Fable 5.2. In our Python test, all four models passed the 22 checks, but Carbon's request took five minutes and cost the most. On benchmarks, Fable 5.2 scores higher than Carbon on six of the seven tests published for both, and Carbon scores higher than Opus 5.5 on 14 of 16.

What is Gemini 4 Carbon?

Gemini 4 Carbon is the top model in Google's Gemini 4 family, built on Gemini 4 Argon. Google says it's made for hard tasks with many steps, like finding the cause of a bug in a large codebase or checking code for security holes. Google's own teams saw Carbon work on a single task for days and try another way each time it hit a dead end.

What is Gemini 4 Carbon?
SpecificationGemini 4 Carbon
DeveloperGoogle DeepMind
InputText, images, audio and video
OutputText
Context window1M tokens, shared by input, thinking and output
Max output65,536 tokens in a normal response, up to 1M minus your input in the Gemini API's background mode
Thinking levelslow, medium and high
Default thinking levelmedium
Knowledge cutoffMarch 2026
Free tier in the Gemini APINo

All three thinking levels cost the same per token. Google advises testing your tasks at each level and keeping the lowest one that does the job.

What is the Gemini 4 Carbon price?

Google sells Gemini 4 Carbon at an early price until November 30, 2026, and from December 1 every token type costs twice as much.

Price per 1M tokens at Google
Price per 1M tokens at GoogleUntil Nov 30From Dec 1
Input$2$4
Cached input$0.10$0.20
Output, thinking included$10$20

Google's pricing notes add one more cost: if you let Carbon search Google, each search query is billed on top of the tokens.

On AI/ML API, you pay for Carbon, Argon, Claude Fable 5.2 and Claude Opus 5.5 from one balance. AI/ML API hasn't announced its Carbon price after November 30 yet.

Price per 1M tokens on AI/ML API
Price per 1M tokens on AI/ML APIGemini 4 CarbonGemini 4 ArgonClaude Fable 5.2Claude Opus 5.5
Input$2.33$2$8$4
Cached input$0.12$0.10$0.20$0.20
Output, thinking included$11.64$10$40$20

The Claude models also charge for writing to the cache: $10 per million tokens on Fable 5.2 and $5 on Opus 5.5 for a 5-minute cache. We checked all prices on November 10, 2026, and our test costs below are counted at these AI/ML API prices.

How did Gemini 4 Carbon do in our tests?

We ran three coding tasks on Carbon, Fable 5.2, Opus 5.5 and Argon through AI/ML API on November 10, 2026. Every model got the same prompt for each task. Each table shows the thinking level, the output limit and the number of tries for every model. We ran each task once and ran Carbon again when it returned no answer. Time is the length of the whole request. Cost is the token count from the API response times the AI/ML API prices above.

The same word doesn't mean the same amount of work at different companies: high thinking on Gemini and high effort on Claude are separate scales. Our time and cost results hold only for the settings in each row.

Bug fix in Python

The first task was to fix a Python file with three small functions. Among other bugs, it counted a day as 12 hours and merged time intervals wrong. We ran 22 checks on each fix.

Bug fix in Python
ModelThinking or effortOutput limitResultTimeCost
Gemini 4 Carbon, first tryhigh32,000No code: thinking used the whole limit327 s$0.37
Gemini 4 Carbon, second tryhigh64,000Passed 22 of 22307 s$0.29
Claude Fable 5.2high32,000Passed 22 of 2226 s$0.11
Claude Opus 5.5high32,000Passed 22 of 2217 s$0.04
Gemini 4 Argonhigh32,000Passed 22 of 2242 s$0.03

Opus finished fastest, and Argon had the lowest charge. Carbon needed both tries to return working code, which took 634 seconds and $0.66 in total.

3D ship scene

The second task was a 3D scene in one HTML file with three.js: a pirate ship sailing on an animated ocean at sunset.

3D ship scene
ModelThinking or effortOutput limitResultTimeCost
Gemini 4 Carbonmedium64,000Full scene314 s$0.26
Gemini 4 Argonhigh32,000Full scene362 s$0.28
Claude Fable 5.2high64,000Didn't finish within the limit683 s$2.56
Claude Opus 5.5high64,000Didn't finish within the limit655 s$1.28
Gemini 4 Carbon and Gemini 4 Argon side by side: two 3D pages of a pirate ship sailing on an animated ocean at sunset, built from the same prompt

Both Gemini models built a rocking ship on moving waves under a low sun. Carbon added small details, like a skull flag and lit cabin windows, while Argon drew a bigger ship with white foam at the bow. Fable 5.2 and Opus 5.5 spent all 64,000 output tokens before they wrote the page. With a higher limit they might finish, but we didn't test that.

3D black hole page

The third task was also code: a 3D black hole page in three.js, based on the example prompt in Google's Carbon docs.

Write a single self-contained HTML file with a full-window 3D scene. Use three.js loaded only from https://unpkg.com/three@0.170.0/build/three.module.js (an import map is fine). No other libraries, images, fonts or network requests. Render a realistic black hole with gravitational lensing: a glowing accretion disk that bends over and under the black hole, a bright photon ring, and a star field that is visibly distorted near it. The disk rotates and the camera slowly moves around the black hole. Add a slider in the top-left corner that changes the camera's tilt. Return only the HTML in one code block.

The prompt asks for many things. We compared one detail on every page: the center, which on a real black hole is a dark shadow.

3D black hole page
ModelThinking or effortOutput limitCenter of the black holeTimeCost
Claude Fable 5.2high64,000Black shadow with a thin bright ring343 s$1.39
Claude Opus 5.5high64,000Gold sphere with a dark middle211 s$0.45
Gemini 4 Argonhigh32,000Bright ball211 s$0.16
Gemini 4 Carbonmedium64,000Bright ball95 s$0.08
Gemini 4 Carbon and Claude Fable 5.2 side by side: two 3D black hole pages from the same prompt, Fable 5.2 with a dark center and Carbon with a bright one

Fable 5.2 drew the only dark center of the four. Carbon at medium thinking finished first and cost the least, but its center is bright, like Argon's.

Gemini 4 Carbon and Claude Opus 5.5 side by side: two 3D black hole pages from the same prompt, Opus 5.5 with a gold sphere and a dark middle, Carbon with a bright center

The center of Opus 5.5's page is dark in the middle, and Carbon's is bright all the way through. Opus cost about five times as much as Carbon here.

What are the Gemini 4 Carbon benchmark results?

Carbon has scores from three sources: the independent Artificial Analysis index, Google's own table and Anthropic's table for Fable 5.2. Each source uses its own tests and settings, so we show them one by one.

Artificial Analysis Intelligence Index

The Artificial Analysis Intelligence Index combines many reasoning, coding and agent tests into one score. Carbon at high thinking, its top level, scores 60 and is second only to Fable 5.2.

Artificial Analysis Intelligence Index chart: Claude Fable 5.2 at max effort scores 65, Gemini 4 Carbon at high thinking 60, Claude Opus 5.5 at max effort 59, Gemini 4 Argon at high thinking 50

Google's first post about Carbon calls it first on this index with 59, but that score came before the index update and before Fable 5.2 came out.

Artificial Analysis also reports what one index task cost each model at each setting. For Carbon, it counts Google's standard price of $4 and $20 per million tokens, not the early price.

Artificial Analysis Intelligence Index
Model and settingIndex scoreCost per index task
Claude Fable 5.2, max effort65$26.54
Claude Fable 5.2, high effort62$9.08
Gemini 4 Carbon, high thinking60$7.76
Claude Opus 5.5, max effort59$10.04
Gemini 4 Carbon, medium thinking58$6.59
Claude Opus 5.5, xhigh effort57$6.05

These costs describe the index tasks at these settings, and a task of yours can cost more or less.

Google's benchmark table

Google's table compares Carbon with Argon and Opus 5.5. The three security tests at the bottom ran on the version of Carbon for approved security teams in Google's Fairwind program, without safety filters. They don't show what the public API model scores.

Google's benchmark table
BenchmarkWhat it checksGemini 4 CarbonGemini 4 ArgonClaude Opus 5.5
Terminal-Bench 4.0Coding tasks in a terminal65.2%57.1%59.6%
FrontierSWE v2Agentic coding61.2%55.0%62.3%
Agents' Last Exam v1.1Computer use tasks77.4%69.0%71.6%
OSWorld 2.1Computer use, offline set81.5%74.7%87.2%
AutomationBenchBusiness workflows53.9%51.3%42.5%
Vending-Bench 2Running a simulated vending business, final bank balance$16,484$13,718$9,235
GraphWalksFollowing links through a graph written out as 256K to 1M tokens of text96.2%84.2%66.8%
RiemannBenchMath72.0%76.0%69.6%
CWE-bench, security versionPatching security flaws71.0%68.0%67.0%
ExploitGym, security versionUsing flaws in code54.8%42.0%34.5%
SEC-bench Pro, security versionFinding flaws in code88.2%83.4%Not listed

In the full table, Carbon scores higher than Opus 5.5 on 14 of the 16 tests both models have, and higher than Argon on 15 of 16. Opus 5.5 leads on FrontierSWE v2 and OSWorld 2.1, and Argon leads only on RiemannBench.

Google also ranks Carbon first on CursorBench 4.0, WANDR and AutomationBench. It says Carbon finishes a task on these tests for less than half the cost of the next best model from another company. On Google's honesty test of 375 agent tasks, Carbon passed 92% and Argon 70%.

Anthropic's benchmark table

Anthropic's launch table for Fable 5.2 lists Carbon next to it. Scores are at each model's best setting unless the table says otherwise.

Anthropic's benchmark table
BenchmarkWhat it checksGemini 4 CarbonClaude Fable 5.2
FrontierSWE v2Agentic coding61.2%69.9%
FrontierCode 2.0Code changes that open-source maintainers would merge41.1% (medium)49.1% (xhigh)
AutomationBenchBusiness workflows53.9%51.4%
OSWorld 2.1Computer use, offline set81.5%89.3%
Terminal-Bench-Science 0.1Science tasks in a terminal64.8%74.6%
AA-Briefcase v1.1Knowledge work, rubric score61.8%66.1%
Chartography, no toolsReading charts72.5%73.4%

In Anthropic's table, Fable scored higher on six of the seven shared benchmarks. Carbon led AutomationBench. The table has no CursorBench score, so there's no Fable 5.2 number to set against Carbon's first place there.

Gemini 4 Carbon vs Fable 5.2, Opus 5.5 and Argon: which to pick?

Gemini 4 Carbon vs Fable 5.2

Fable 5.2 scored higher in Anthropic's table and on the Artificial Analysis index, and it drew the only dark center in our black hole test. Carbon's tokens cost less than a third of Fable's on AI/ML API. Even so, our bug fix cost more on Carbon, because it thought for over 23,000 tokens before it answered. Try Fable on a task where the cheaper model fails your checks, then compare the result and total charge.

Gemini 4 Carbon vs Opus 5.5

Carbon leads Opus 5.5 on most tests in Google's table and costs less per token on AI/ML API today. Opus 5.5 is ahead on OSWorld 2.1, so it's the better first try for an agent that works in desktop apps. On our small bug fix, Opus was also faster and cheaper.

Gemini 4 Carbon vs Argon

Carbon and Argon have the same context window and tools. Carbon spends more tokens on each turn to check its work, so it answers more slowly. Google still calls Argon the right pick for most coding and knowledge work. On our bug fix, the one task where both ran at high thinking, Argon cost about a tenth of Carbon's successful try. Start with Argon and move a task to Carbon when Argon fails it.

How to use the Gemini 4 Carbon API

You can try Gemini 4 Carbon in the browser first and then call it from code. Both ways use one AI/ML API account. Sign up on AI/ML API and add funds to your balance, because Carbon requests are paid.

Option 1: Test Gemini 4 Carbon in the Playground

Open the AI/ML API Playground with Gemini 4 Carbon and Fable 5.2 side by side. Type one prompt and compare the two answers before you write any code.

Option 2: Call Gemini 4 Carbon through the API

Create a Gemini 4 Carbon API key in your AI/ML API account. AI/ML API works with the OpenAI SDK, so you only need a different base URL and model name. The code needs Python 3.10 or newer and the openai package (pip install openai).

from openai import OpenAI

client = OpenAI(
    base_url="https://api.aimlapi.com/v1",
    api_key="YOUR_AIMLAPI_KEY",
    timeout=900,
)

response = client.chat.completions.create(
    model="google/gemini-4-carbon",  # or google/gemini-4-argon, anthropic/claude-fable-5-2, anthropic/claude-opus-5-5
    reasoning_effort="medium",
    max_tokens=65536,
    messages=[{"role": "user", "content": "Find the cause of this bug and fix it: ..."}],
)

print(response.choices[0].message.content)

reasoning_effort picks the thinking level: low, medium or high. Start with medium and switch to high only for the tasks medium fails. The Gemini 4 Carbon API docs list every other setting.

FAQ

Why does Gemini 4 Carbon return an empty response?

Usually because thinking used the whole output limit, so no tokens were left for the answer. The response then ends with finish_reason set to length and has no text. In our first bug fix try at high thinking, Carbon spent 31,997 of 32,000 tokens on thinking. Raise max_tokens or pick a lower thinking level.

How many output tokens does Gemini 4 Carbon need?

Thinking and the answer share one output limit, up to 65,536 tokens in a normal response. Google advises setting at least 32,768, because Carbon spends more of the limit on thinking than earlier Gemini models. On our bug fix at high thinking, Carbon used 24,480 output tokens, and 23,734 of them were thinking.

How long does a Gemini 4 Carbon request take?

In our tests, from 95 seconds to over five minutes, because Carbon thinks before it answers. Set a long timeout in your client: the code above waits up to 900 seconds.

‍

Share with friends

Ready to get started? Get Your API Key Now!

Get API Key