Home › Guides › Gemini 4 Carbon vs Hydrogen for coding

Gemini 4 Carbon vs Hydrogen for coding

TL;DR · 🧠 Models

Hydrogen for daily work

Hydrogen for edits, tests and loops. Carbon for big refactors. Carbon doubles on Dec 1.

$1.50 / $7.50Hydrogen per M tokens
$2 / $10Carbon today
$4 / $20Carbon from Dec 1
Models guide illustration: abstract glowing code editor windows
Read the full short answer

Short answer: use Hydrogen for everyday edits, tests, debugging and agent loops. It is the cheap, fast one ($1.50 in / $7.50 out per million tokens on the API, with a free tier). Save Carbon for the hard jobs: big refactors, migrations, root-cause hunts and architecture. And plan for December 1, 2026: that is when Carbon and Argon go from $2 / $10 to $4 / $20 per million tokens, which is exactly what Claude Opus 5.5 costs per token.

Checked Nov 16, 2026 against Google's Carbon and Hydrogen announcements, the Gemini API pricing page, the Antigravity blog, models docs and CLI releases, GitHub's changelog and Copilot pricing docs, and Cursor's model docs. Benchmark numbers below are Google's own claims, not our tests. Re-checked Nov 26, 2026: Antigravity now lists Carbon on paid Google AI Pro (not just Ultra) and Hydrogen on every plan, including Free. Argon and Gemini 3.8 Flash leave Antigravity on Nov 30, 2026.

Carbon vs Hydrogen vs Argon at a glance

Table
Gemini 4 HydrogenGemini 4 ArgonGemini 4 Carbon
What Google says it is forFast everyday coding, debugging, web dev and agent loops. Released Nov 12, 2026."The ideal choice for the majority of software engineering and knowledge work," per Google's Carbon post.The hardest work: long multi-step coding and debugging, migrations, architecture. Google says it uses more tokens than Argon to reason and verify. Released Nov 10, 2026.
API price now (per 1M tokens)$1.50 in / $7.50 out / $0.075 cached$2 in / $10 out / $0.10 cached$2 in / $10 out / $0.10 cached
API price from Dec 1, 2026No change announced$4 in / $20 out / $0.20 cached$4 in / $20 out / $0.20 cached
Batch and Flex (API)$0.75 / $3.75$1 / $5, then $2 / $10 from Dec 1$1 / $5, then $2 / $10 from Dec 1
API free tierYes (Google may use free-tier data to improve its products)NoNo
Thinking levelsLow, medium, high (default), xhighLow, medium, highLow, medium, high (API default: medium)
Context window (API)1M tokens1M tokens1M tokens
Google's benchmark claims51 on the Artificial Analysis Intelligence Index (54 at its highest setting) vs Argon's 50; 57% on Terminal-Bench 4.1 vs 18.2% for Gemini 3.8 FlashBaseline for the other two#1 on CursorBench 4.0, Perplexity WANDR and Zapier AutomationBench "at more than 2X lower cost per task" than the next best external model. Google did not publish the raw scores in the post.

Sources: Gemini API pricing, Google: Gemini 4 Carbon is now available (Nov 10), Carbon developer guide, Google: Gemini 4 Hydrogen (Nov 12), Antigravity blog: Hydrogen and Orchestrator. Prices are standard tier; Priority tier costs more.

What changes in December (and why Copilot users should care)

  • Dec 1, 2026: Carbon and Argon double per token on the API. $2 / $10 becomes $4 / $20, and cached input goes from $0.10 to $0.20. Google calls the current price "introductory." Cursor's docs and GitHub's Copilot pricing docs both say they follow it: Carbon moves to $4 / $20 on Dec 1 in Cursor and Copilot too.
  • From Dec 1, Carbon costs the same per token as Claude Opus 5.5 ($4 in, $20 out, $0.20 cached). Claude Fable 5.2 stays at twice that ($8 / $40). So "Gemini is the cheap frontier option" is true for two more weeks at the token level. After that it comes down to how many tokens each model burns on your tasks.
  • Dec 14, 2026: Copilot drops Gemini 4 Argon and Gemini 3.8 Flash. GitHub's suggested replacements are Carbon (for Argon) and Hydrogen (for 3.8 Flash). Claude Fable 5, Claude Haiku 4.5 (except individual annual plans), Grok 4.6 and Kimi K3 go the same day.
  • What that means in Copilot credits: Copilot bills these models at provider list price. Argon users who switch to Carbon pay the same per token after Dec 1, but Google says Carbon uses more tokens than Argon, so expect each task to cost more. Gemini 3.8 Flash users moving to Hydrogen go from $0.75 / $3.75 to $1.50 / $7.50 per million tokens in Copilot's price table, double per token.
  • Hydrogen: no price change announced.

Sources: Gemini API pricing, Cursor docs: Gemini 4 Carbon, GitHub: Copilot models and pricing, GitHub changelog: model deprecations Dec 14. Copilot's footnote says Argon's promo price ends Dec 1 but does not restate Argon's new Copilot price; the Gemini API lists $4 / $20.

Where you can use each one

Table
WhereHydrogenCarbonHow it is billed
Google Antigravity (app, CLI, IDE extensions)Every plan, including Free (as of Nov 26, 2026)Paid Google AI Pro ($19.99) and Ultra (Ultra only at launch; Pro added by Nov 26, 2026)Your plan's quota. Orchestrator on Pro and Ultra, with a Neon, Carbon or Argon planner.
Antigravity CLI with a GEMINI_API_KEYYes (since CLI 1.5.8, Nov 13)Yes (since CLI 1.5.8)Gemini API per-token prices above
GitHub CopilotPro ($10) and upPro+ ($39), Max, Business, EnterpriseAI credits at provider list price ($0.01 per credit). Rollout is gradual. Business and Enterprise admins can turn models off.
CursorPremium ($30) and upPremium ($30) and upPrepaid credit at API rates, outside the included pool. Plus and Free do not include third-party models.
Gemini API / AI StudioFree and paid tiersPaid tier only (Ultra subscribers can also try it in AI Studio)Per token
Gemini CLINow aimed at Gemini Code Assist Standard / Enterprise. Its README says it is not tuned for Gemini 4 models, and points Google AI Pro / Ultra users to Antigravity CLI.Code Assist license or legacy API key

Sources: Antigravity blog: Carbon and /swarm, Antigravity blog: Hydrogen and Orchestrator, Antigravity CLI 1.5.8 release, GitHub: Carbon in Copilot, GitHub: Hydrogen in Copilot, Cursor models and pricing, Gemini CLI README. Plan prices from our pricing guide.

What does one coding task cost? (calculator)

Interactive

Enter a task size, and see what it costs on each model at API list prices, today and after Dec 1. Runs in your browser; nothing is sent anywhere. The starting numbers are an example of a mid-size agent task, not a measurement. Check a real one in your tool's usage page and paste it in.

Same token counts are used for every model, which flatters Carbon: Google says Carbon spends more tokens than Argon on the same work, and thinking tokens are billed as output. Claude prices are Anthropic list prices as shown in Cursor's docs; Claude also bills cache writes, which this ignores. Copilot credits are $0.01 each. Subscription quotas in Antigravity are not per-token, so they are not shown here.

Which one should I pick?

Interactive

Our opinion, based on vendor docs and prices checked Nov 16, 2026.

How to use them without overpaying

  • Default to Hydrogen, escalate to Carbon. Google itself built Antigravity's Orchestrator on this idea: Carbon plans, Hydrogen edits and runs tests, and Carbon comes back when Hydrogen gets stuck. Google says that reached near-Carbon success on Terminal-Bench 4.1 with 24% less quota and 19% faster runs on average.
  • Turn thinking down for small jobs. Thinking tokens bill as output. Hydrogen's xhigh and Carbon's high are for hard problems, not renaming a variable.
  • Run big Carbon jobs before Dec 1 if you pay per token. A migration or audit you were going to do anyway costs half as much per token on the API, in Cursor and in Copilot until Nov 30.
  • Copilot teams on Argon: test Carbon before Dec 14, on a real task, and watch credit use. The replacement is pricier per task, not just different.
  • Keep the cache warm. Cached input is 95% off on Carbon and Hydrogen. Long sessions in one repo cost less than starting fresh each time.
  • Use Batch or Flex for non-urgent API work. Both are half price on the Gemini API.
  • Mind free-tier privacy. Hydrogen's free API tier is free because Google can use that data to improve its products. Use the paid tier for client or company code.

What we could not confirm

  • Whether Antigravity's subscription quotas will burn faster for Carbon or Argon after Dec 1. Google has not said; quotas are not published as token numbers.
  • Whether Carbon will come to Google AI Pro. Google has not said when or if.
  • Carbon's raw CursorBench 4.0 score. Google's post claims the #1 rank and "more than 2X lower cost per task" but gives no numbers.
  • Copilot's exact post-Dec 1 Argon price. GitHub's docs say Argon's promo ends Dec 1 without restating the new rate. Argon leaves Copilot Dec 14 anyway.
  • All benchmark figures on this page come from Google. We have not run our own tests.

Ready to try one?

Every tool here can be cancelled monthly and has a free tier, so the fastest way to decide is a real task on each.

GitHub Copilot

Start on: Pro $10. The best value for most individuals: 1,500 AI credits and a choice of models including Claude and GPT. Verified teachers and popular open-source maintainers may get it free.

Google Antigravity

Start on: Google AI Pro $19.99. Most individuals: quota refreshes every five hours up to a weekly limit, with Gemini 4 Neon, Carbon and Hydrogen plus Claude Opus/Sonnet 5.5. Claude 5.5 needs a paid plan, not the free trial; Neon and Carbon work on paid Pro or a trial from an eligible premium device. Gemini 4 Argon leaves on Nov 30, 2026.

Cursor

Start on: Premium $30. Cursor's pick for new AI users. Needed for cloud agents (including Live Apps, which build and host web apps), Bugbot code reviews, and any Claude or GPT use (billed extra).

FAQ

8 questions

What is the difference between Gemini 4 Carbon and Gemini 4 Hydrogen?

Carbon is Google's strongest Gemini 4 model, built for hard, long, multi-step work such as large refactors, migrations and root-cause hunts. Google says it uses more tokens than Gemini 4 Argon to reason and verify. Hydrogen is the fast, cheaper model for everyday coding, debugging and agent loops, with four thinking levels (low, medium, high and xhigh). Google still calls Argon the ideal choice for most software engineering work.

How much does Gemini 4 Carbon cost?

On the Gemini API, Carbon is $2 per million input tokens and $10 per million output tokens through November 30, 2026, with cached input at $0.10. From December 1, 2026 it is $4 input, $20 output and $0.20 cached. Gemini 4 Argon has the same prices and the same December 1 change. Carbon is not on the API free tier.

How much does Gemini 4 Hydrogen cost?

On the Gemini API, Hydrogen is $1.50 per million input tokens and $7.50 per million output tokens on the paid tier, with cached input at $0.075. It also has a free tier, but Google's pricing page says free-tier data is used to improve its products. No price change is announced for Hydrogen.

Is Gemini 4 Carbon cheaper than Claude Opus 5.5?

Per token, only until November 30. From December 1, Carbon's API price ($4 in, $20 out, $0.20 cached) matches Claude Opus 5.5 ($4 in, $20 out, $0.20 cache read). Claude Fable 5.2 is $8 in and $40 out. Cost per task also depends on how many tokens a model uses, and Google says Carbon uses more tokens than Argon.

Where can I use Gemini 4 Carbon for coding?

In Google Antigravity on Google AI Ultra (app, CLI and IDE extensions), in GitHub Copilot on Pro+, Max, Business and Enterprise, in Cursor on Premium and up (billed from prepaid credit at API rates), and through the paid Gemini API, including Antigravity CLI with a GEMINI_API_KEY. Google AI Pro does not get Carbon in Antigravity as of Nov 16, 2026.

Where can I use Gemini 4 Hydrogen?

In Antigravity on paid Google AI Pro and Ultra, in GitHub Copilot on Pro and up, in Cursor on Premium and up, and on the Gemini API (free and paid tiers). Gemini CLI is now aimed at Gemini Code Assist enterprise customers and its README says it is not tuned for Gemini 4 models.

Is GitHub Copilot removing Gemini 4 Argon?

Yes. GitHub's Nov 13 changelog says Gemini 4 Argon and Gemini 3.8 Flash, along with Claude Fable 5, Claude Haiku 4.5, Grok 4.6 and Kimi K3, will be deprecated across Copilot on December 14, 2026. The suggested replacement for Argon is Gemini 4 Carbon and for Gemini 3.8 Flash it is Gemini 4 Hydrogen.

What is Orchestrator in Antigravity?

A model option that lets Carbon (or Argon) plan and Hydrogen do the edits and tests, handing back when Hydrogen gets stuck. Google says it reached near-Carbon success on Terminal-Bench 4.1 while using 24% less quota and finishing 19% faster on average. Orchestrator (Carbon) is for Google AI Ultra; Google AI Pro gets Orchestrator (Argon).

Ship your app: the rest of the stack

Picked your AI coding tool? These are the usual next costs. Free tiers first, and prices checked Oct 20, 2026 on each vendor's pricing page.

Code review

AI writes code fast; something should read it before it ships.

  • CodeRabbitAI review on every pull request, in GitHub or GitLabFree for public repos; Essentials $24/user/mo billed annually ($30 monthly)

Already paying for Copilot or Codex Plus? Both include AI pull request review, so try that first.

Hosting

Where your app lives once it works on your machine.

  • VercelNext.js and front-end appsHobby free (personal, non-commercial); Pro $20/mo per developer seat
  • Netlify referralStatic sites and front ends, unlimited Pro membersFree; Personal $9/mo; Pro $20/mo with unlimited members
  • RailwayBack ends, workers and databases with no server setupFree trial $5 credit; Hobby $5/mo incl. $5 usage; Pro $20/mo
  • RenderHeroku-style web services, cron jobs and PostgresHobby $0 + compute; Pro $25/mo + compute

Database and auth

Most AI-built apps need a Postgres database and logins.

  • SupabasePostgres + auth + storage in one; Lovable and Bolt connect to itFree (2 projects, pause after 1 week idle); Pro from $25/mo
  • NeonServerless Postgres with branching, pay for what you useFree (100 projects); paid plans usage-based

Domain name

A real domain for your app.

  • Cloudflare RegistrarDomains at cost with no markupWholesale price per TLD
  • PorkbunCheap domains with free WHOIS privacyVaries by TLD
  • NamecheapPopular registrar with hosting and email add-onsVaries by TLD

Referral link: we may earn a commission at no extra cost to you. It never changes our picks.

Editorial disclosure

Rankings are not for sale. Sponsored placements and affiliate links are always labeled, and they never change our recommendations, quiz results, prices, or comparison data. Links marked "referral" are affiliate links (Netlify): if you buy through them, we may earn a commission at no extra cost to you. Every other link is a plain link that pays us nothing, and pricing source links are never affiliate links. Editorial policy.