Summary note: This is a summary of Google for Developers’ (@googledevs, by Geneviève Huskens and Jack Wotherspoon) long X post from 11 November 2026, “Gemini 4 Carbon: Developer Guide”, not a reprint of the original. Original link: https://x.com/googledevs/status/2120261599500161276
Note: published 11 November; at the time of checking (around 09:05 on 12 November) it had about 44.8K views, 487 likes, 50 reposts and 257 bookmarks. Prices and features follow Google’s official announcement.
Gemini 4 Carbon is here. First announced two weeks ago and released to cybersecurity defenders via the Fairwind Program, it is now available to developers, enterprises, scientists, and consumers — on the paid tier of the Gemini API in Google AI Studio, and for Google AI Ultra subscribers in AI Studio and Google Antigravity.
Its positioning is clear: explore thoroughly, reason deeply, and run extended verification loops across sustained agentic workflows. From multi-step software engineering and full-stack web apps to open-ended questions, scientific discovery, and root-cause vulnerability patching, Carbon is built to carry the hardest tasks from start to finish.
1. The model at a glance: pricing and key specs
- Model: Gemini 4 Carbon, model ID
gemini-4-carbon, default thinking level medium; - Pricing (per 1M tokens): introductory $2 input / $10 output through November 30 (95% off cached input); from December 1, $4 input / $20 output;
- Context: a unified 1M-token input-output window.
2. Carbon vs Argon: how to split the work
Carbon joins Gemini 4 Argon in the Gemini 4 family of frontier models, at the same introductory token price, sharing the unified 1M-token context window, thinking_level controls, and built-in tool support — switching or routing between them is a single model-string change.
- Reach for Carbon when a task tests the limits of frontier intelligence — the hardest multi-step software engineering, architectural design and code auditing, formal math and scientific discovery, high-precision financial or legal synthesis, and vulnerability research. Carbon spends more thinking tokens exploring large codebases thoroughly, reasoning deeply across dense multimodal files, isolating subtle root causes, and running extended build-and-verify loops;
- Reach for Argon for the majority of software engineering and knowledge work. It provides strong frontier reasoning with tighter token usage and faster turnaround on interactive coding, day-to-day feature work, and fast production loops;
- Pair them in multi-agent workflows: assign Carbon to roles that benefit most from deep reasoning — upfront architecture, task coordination, and final verification (including in Google Antigravity’s /swarm preview) — while delegating parallel implementation slices to Argon or Gemini 3.8 Flash.
3. What’s new in the API: thinking_level and long decodes
Reasoning depth is now controlled with thinking_level, in three settings:
high: maximizes reasoning depth for multi-file root-cause debugging, security vulnerability patching, formal math, and upfront architecture design;medium(default): the recommended balance of speed, cost efficiency, and high first-pass accuracy;low: minimizes latency and cost for high-speed classification, routing, and targeted extraction.
Example code (Python, google-genai):
client = genai.Client()
interaction = client.interactions.create(
model='gemini-4-carbon',
input='Build a single-file HTML drum machine and synth using the Web Audio API with a 16-step sequencer, tempo slider, and a live waveform visualizer.',
generation_config={'thinking_level': 'medium'}
)
print(interaction.output_text)
Unified 1M token limit and long decodes: earlier Gemini models capped max output at 64K tokens. In Carbon (and Argon), input, thinking, and output share a unified 1M-token window, and long decode lets you generate past 64K tokens (up to 1M tokens minus your input). The default output limit is 65,536 (64K) tokens; to generate up to 1M tokens, set background=True and max_output_tokens above 65536. The original’s example uses background=True, max_output_tokens 262144, and thinking_level high to write a complete rigorous proof of the prime number theorem, polling interaction.status until done, then joining the text of each model output step.
Migrating from previous models — four things:
- Replace
thinking_budgetwiththinking_level(thinking_budgetis deprecated); - Remove
temperature,top_p, andtop_k(ignored, with a deprecation warning); - Move off explicit context caching — implicit caching is automatic, with a 95% discount;
- Increase client timeouts: hard reasoning prompts can take several minutes; use
background=Trueor an HTTP timeout of at least 15 to 20 minutes. Thegemini-api-devskill can help migrate a codebase.
4. Managed Agents: one call to search, code, verify, and use tools
Carbon can serve as a Managed Agents model (hosted sandbox and Antigravity harness), where a single API call can search the web, write code, verify, and call MCP tools. The original’s example audits https://web.dev for performance, Core Web Vitals, and SEO: calling the PageSpeed Insights API (Mobile and Desktop), checking indexing with Google Search, and outputting a side-by-side scorecard table with prioritized fixes.
5. Five practical tips
- Align on intent before long runs: agree on measurable goals and milestones; let Carbon ask clarifying questions up front; stress-test the architecture during planning; do a pre-flight check (tools, docs, intent confirmed); then let it run autonomously, pausing for confirmation before major irreversible steps;
- Give the model a way to verify its work: real feedback loops — a test suite, runtime logs, browser screenshots to check rendered UI, or have it write a reproducible verification script, record baseline scores, and iterate until everything passes. Example prompt: write a headless Chrome script that crawls every route under
src/routes/, checks the live DOM and accessibility tree, records baseline violation scores, groups them by root cause in shared components, fixes them cluster by cluster, and re-runs after each change until zero violations and zero regressions; - Use multimodal references and the frontend-design skill: pass in images, audio, video, PDFs, code, and text directly; give 1–2 concrete visual references, or first have it summarize typography, color, and layout rules into a lightweight DESIGN.md. The
gemini-frontend-designskill is published:npx skills add google-gemini/demolab --skill gemini-frontend-design; the guide also suggests installing the Gemini API CLI and its agent skill (npx skills add google-gemini/gemini-skills --skill gemini-api-cli) so Carbon can generate images, video, speech, and music in the terminal and save them to the project folder; - Use Carbon as an orchestrator and in multi-agent teams: in Antigravity’s /swarm preview, Carbon (thinking_level medium or high) acts as chief orchestrator and verifier (architecture, interfaces, audits), while Gemini 3.8 Flash subagents implement in parallel (migrating leaf modules, writing unit tests, high-frequency checks), and can orchestrate across modalities — Nano Banana 2.1 (product images, textures, 3D references), Gemini Omni 1.2 Flash (video references), Gemini 3.8 Flash TTS or Lyria (voice and music);
- Have Carbon reflect on past work: at the end of a task, or when stuck midway, have Carbon review the trajectory, write the repo’s quirks into AGENTS.md or a reusable skill, and package one-off debugging flows as team skills; it can also generate interactive visual explanations (architecture diagrams, data-flow diagrams, step-by-step flows) for a quick sanity check before merging.
6. Getting started
- Google AI Studio: Playground / Build (Google AI Ultra subscribers and Gemini API paid-tier developers);
- Gemini API: Interactions API, google-genai SDKs, and Managed Agents supported from day one;
- Google Antigravity: Google AI Ultra subscribers, desktop app, CLI, IDE extensions, complex planning, /goal runs, multi-agent /swarm teams; scientists can apply for 6 months of free access, and cybersecurity defenders can apply for the Fairwind Program;
- Also available in Vercel, LiteLLM, OpenRouter, Pydantic, OpenCode, LiveKit, BrowserBase, Eigent, Cua, and other tools.
What readers should take away
- Carbon’s selling point is carrying a task through to the end: long-horizon engineering, formal verification, security work — where the cost is not a single call but repeated rework. When choosing a model, first ask “does this task need to run long and verify in many rounds”, not just what the per-token price is.
- November 30 is the pricing cliff: the introductory $2/$10 rate runs only through November 30; from December 1 it doubles to $4/$20. Do the post-December math before heavy use.
- Migration cost is mostly habit:
thinking_budget, the temperature trio, and explicit caching are three things to change — not much code, but old parameters scattered across a codebase are easy to miss, which is what thegemini-api-devskill is for.
Written by

