Skip to main content
AnyAIGC

Google · gemini-4-carbon

Gemini 4 Carbon API

Google's frontier model built on Gemini 4 Argon, for long-horizon agents, complex engineering and cyber defense. On AnyAIGC it costs 64% less than Google's list price.

Google says Gemini 4 Carbon spends more thinking tokens to reason deeply and verify its work, for the tasks that test a model the hardest. gemini-4-carbon costs $0.7147 per 1M input tokens and $3.5740 per 1M output tokens, and works with both the native Gemini API and the OpenAI-compatible API.

  • Model ID gemini-4-carbon
  • Context 1M tokens
  • Price 64% off list
  • Concurrency Unlimited
  • Enterprise Self-service invoices
About the model

Built on Argon for long-horizon agents and the hardest problems

Google announced Gemini 4 Carbon in October 2026, then published its model card and opened it in the Gemini API on . The model card says Carbon is based on Gemini 4 Argon and delivers frontier performance in long-horizon agentic workflows across complex knowledge work, engineering, cybersecurity and scientific reasoning.

Compared with Argon, Carbon spends more thinking tokens to explore hypotheses, reason deeply and run extended verification loops, with configurable thinking levels to trade off quality, latency and cost. Google notes it can use more tokens and occasionally respond slowly at higher thinking levels, while Argon is faster and spends fewer tokens per turn. Both share a 1,048,576-token context window and a March 2026 knowledge cutoff.

On AnyAIGC, gemini-4-carbon works with both the native /v1beta/models/gemini-4-carbon:generateContent endpoint and the OpenAI-compatible /v1/chat/completions. You don't need a Google Cloud account, and the same key calls 300+ other models on the platform.

Context window
1,048,576Shared by input, thinking, output
Max output per request
65,536Default for synchronous requests
Knowledge cutoff
March 2026
Input
Text, images, audio, video, PDF
Thinking levels
low / medium / highDefault medium
Model card
2026-11-10Based on Gemini 4 Argon
Capabilities

What Gemini 4 Carbon can do

  • Long-horizon coding agents

    Built for complex, multi-step coding and debugging and for engineering work that needs several agents working together. Google reports 65.2% on Terminal-Bench 4.0 (AA), up from Argon's 57.1%.

  • Computer use and automation

    77.4% on Agents' Last Exam v1.1, 81.5% on the OSWorld-2.1 offline subset and 53.9% on AutomationBench, for agents that operate software and run whole business workflows.

  • High-precision knowledge work

    The model card lists high-precision knowledge work, artifact generation and data analysis as core uses. It scores 70.4% on Vals Index v2.2 and ends Vending-Bench 2 with a $16,484 balance.

  • 1M-token context

    The 1,048,576-token window holds a full codebase, a whole book or a stack of contracts. It scores 96.2% on the GraphWalks 256k–1M long-context test, versus 84.2% for Argon.

  • Visual and spatial reasoning

    Send text, images, audio, video and PDFs directly. It scores 72.5% on Chartography and 58.6% on Blueprint-Bench 2, so it can read drawings and charts and review visual designs.

  • Cyber defense and science

    71.0% on CWE-bench, 88.2% on SEC-bench Pro and 64.8% on Terminal-Bench-Science. A fit for finding and patching vulnerabilities and for reasoning in physics, math and life sciences.

Pricing

Gemini 4 Carbon API pricing

Pay per token at a fixed rate, with no subscription or monthly fee. Input, output and cache hits each cost about 36% of Google's current list price, which is 64% off.

  • Per tokenInput, output and cache billed separately
  • 64% offCompared with Google's current list price
  • UnlimitedConcurrency for every account
  • USDOne balance for 300+ models
gemini-4-carbon price per 1M tokens in USD, AnyAIGC vs Google list price
ItemModelAnyAIGCGoogle list price (promo)You save
InputPer 1M tokensgemini-4-carbon$0.7147$2.00~64%
OutputPer 1M tokens, incl. thinkinggemini-4-carbon$3.5740$10.00~64%
Cache hitPer 1M tokensgemini-4-carbon$0.0357$0.10~64%

Prices are in US dollars and billed on the tokens you actually use. Output includes thinking tokens, and Carbon usually thinks longer than Argon. Google lists Carbon and Argon at the same price. Its promotional rate runs through November 30, 2026; from December 1, Google's standard price is $4.00 input, $20.00 output and $0.20 cache, and AnyAIGC's current price works out to about 18% of that. Google prices come from the Gemini API pricing page. The AnyAIGC model catalog always shows the live price.

Cost examples

Estimates for common workloads. The struck-through figure is Google's current list price for the same usage.

  • One code review

    50K input tokens + 5,000 output tokens

    $0.054

    List $0.15

  • A 20-turn agent session

    Per turn: 20K cached + 5,000 input + 2,000 output tokens

    $0.229

    List $0.64

  • 1M in + 1M out

    1M input tokens + 1M output tokens

    $4.29

    List $12.00

Benchmarks

How Gemini 4 Carbon performs

Scores published on the Google DeepMind model card (as of October 2026), compared with Gemini 4 Argon, GPT-6 Astra, Claude Opus 5.5 and Claude Fable 5.1. Carbon leads on most of them; it is not first on FrontierSWE 2 or OSWorld-2.1.

Terminal-Bench 4.0 (AA) · Terminal coding agents

  • Gemini 4 Carbon65.2%
  • Claude Opus 5.559.6%
  • GPT-6 Astra59.1%
  • Gemini 4 Argon57.1%
  • Claude Fable 5.152.0%

Coding, computer use, knowledge work, long context and cybersecurity

Gemini 4 Carbon vs Gemini 4 Argon, GPT-6 Astra, Claude Opus 5.5 and Claude Fable 5.1 (published by Google DeepMind)
BenchmarkGemini 4 Carbon4 ArgonGPT-6 AstraOpus 5.5Fable 5.1
AA Index v5.0Overall intelligence index5950575849
Vals Index v2.2Economically valuable tasks70.4%69.2%65.0%70.2%—
Terminal-Bench 4.0 (AA)Terminal coding65.2%57.1%59.1%59.6%52.0%
FrontierSWE 2Software engineering61.2%55.0%65.5%62.3%56.3%
Agents' Last Exam v1.1Computer-use agents77.4%69.0%73.1%71.6%—
OSWorld-2.1Computer use, offline subset81.5%74.7%80.9%87.2%76.8%
AutomationBenchEnd-to-end business workflows (Zapier)53.9%51.3%41.4%42.5%31.4%
Vending-Bench 2Long-run business simulation, final balance$16,484$13,718$15,515$9,235$5,422
ChartographyChart understanding72.5%71.6%71.0%66.3%46.2%
Blueprint-Bench 2Spatial reasoning, similarity58.6%54.4%49.7%51.2%41.9%
GraphWalks BFS 256k–1MVery long context (F1)96.2%84.2%71.8%66.8%65.0%
Terminal-Bench-Science 0.1 (AA)Scientific computing tasks64.8%52.9%63.3%59.0%43.3%
CWE-benchVulnerability patching71.0%68.0%68.0%67.0%58.0%
ExploitGymExploit analysis54.8%42.0%42.4%34.5%—
SEC-bench ProSecurity engineering88.2%83.4%85.4%——

Source: Google DeepMind Gemini 4 Carbon model card; see the card for methodology. "—" means the card gives no score. Cybersecurity results reflect access through Google's Fairwind Program for verified cyber defenders, so results through the regular API may differ. Guides for the comparison models: Gemini 4 Argon, GPT-6 Astra, Claude Opus 5.5, Claude Fable 5.1.

Use cases

What to build with Gemini 4 Carbon

  • 01 · Software engineering

    Long-running coding agents

    Put a whole repository into the 1M-token window and let Carbon handle cross-module refactors, hard bugs and multi-agent development. Use high thinking for the toughest tasks and switch everyday changes to Argon to keep costs down.

  • 02 · Knowledge work

    High-precision analysis and artifacts

    Pull research together, analyze data and generate reports and spreadsheets, with structured output that drops straight into your systems. Carbon spends extra time checking its reasoning, which helps when accuracy matters most.

  • 03 · Cybersecurity

    Code audits and vulnerability fixes

    Audit your own systems, locate vulnerabilities and write patches. The model card reports 71.0% on CWE-bench. Use it only within properly authorized scope.

  • 04 · Research

    Physics, math and life sciences

    Load papers, experimental data and code into one context to derive, check and script your analysis. Cache hits cost $0.0357 per 1M tokens, so re-reading the same material is cheap.

Quick start

Call the Gemini 4 Carbon API in three steps

  1. Sign up and top up: create an account at anyaigc.ai. Your balance works across every model on the platform.
  2. Create an API key: create a token in the console, copy the key that starts with sk-, and store it in the ANYAIGC_API_KEY environment variable.
  3. Send a request: call the native endpoint https://anyaigc.ai/v1beta/models/gemini-4-carbon:generateContent, or the OpenAI-compatible https://anyaigc.ai/v1/chat/completions with model set to gemini-4-carbon. Both authenticate with Authorization: Bearer.
POST /v1beta/models/gemini-4-carbon:generateContent
curl https://anyaigc.ai/v1beta/models/gemini-4-carbon:generateContent \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "systemInstruction": {
      "parts": [{"text": "You are a senior architect. Lead with the answer, then the key reasons and code."}]
    },
    "contents": [
      {"role": "user", "parts": [{"text": "Split this monolith into three microservices and explain a zero-downtime database migration."}]}
    ],
    "generationConfig": {
      "maxOutputTokens": 32768,
      "thinkingConfig": {"thinkingLevel": "high"}
    }
  }'
Python · openai SDK · /v1/chat/completions
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://anyaigc.ai/v1",
    api_key=os.environ["ANYAIGC_API_KEY"],
    timeout=900,  # hard problems can think for minutes
)

resp = client.chat.completions.create(
    model="gemini-4-carbon",
    messages=[
        {"role": "user", "content": "Prove that among any n integers you can pick some whose sum is divisible by n."},
    ],
)
print(resp.choices[0].message.content)
print(resp.usage)
POST /v1beta · functionDeclarations
curl https://anyaigc.ai/v1beta/models/gemini-4-carbon:generateContent \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      {"role": "user", "parts": [{"text": "Set up a Q4 planning meeting with Bob and Alice on 2026-11-03 at 10:00."}]}
    ],
    "tools": [{
      "functionDeclarations": [{
        "name": "schedule_meeting",
        "description": "Schedule a meeting with the given attendees at a given time",
        "parameters": {
          "type": "object",
          "properties": {
            "attendees": {"type": "array", "items": {"type": "string"}},
            "date": {"type": "string", "description": "Date, e.g. 2026-11-03"},
            "time": {"type": "string", "description": "Time, e.g. 10:00"},
            "topic": {"type": "string"}
          },
          "required": ["attendees", "date", "time", "topic"]
        }
      }]
    }]
  }'
Python · stream=True
import os
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"], timeout=900)

stream = client.chat.completions.create(
    model="gemini-4-carbon",
    messages=[{"role": "user", "content": "List the 5 biggest risks to check when reviewing a database migration plan."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
print()

Parameter notes: Gemini 4 Carbon uses thinkingLevel (low / medium / high), with medium as the default. Carbon thinks more than Argon and thinking counts toward output, so set maxOutputTokens to 32,768 or more and your HTTP timeout to 15 minutes or more; start with low or medium for cost-sensitive work. For native streaming, call :streamGenerateContent?alt=sse.

For every parameter, see the native Gemini API docs and the Chat Completions docs. Replace the model name in the examples with gemini-4-carbon.

Enterprise

Gemini 4 Carbon API for teams and enterprises

Top up, issue invoices yourself, and work with a dedicated support and technical contact.

  • Invoices

    Issue them yourself

    Issue an invoice in the console for the amount you actually topped up, whenever you need one.

  • Dedicated support

    Account and technical contacts

    Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.

Payment methods
  • WeChat Pay
  • Alipay
  • USDT
  • Credit card

Why teams trust AnyAIGC

Trial credit, top-ups, refunds, data handling and billing, spelled out up front.

  • 5M free tokens to start

    New accounts get trial credit, so you can test before you top up.

  • Top up from $1, refundable

    Top up from $1. Unused balance can be refunded with no fee.

  • Official channels, real models

    Requests go to official model channels, never cheaper or reverse-engineered substitutes.

  • No retention, no training

    Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.

  • Transparent billing, spend caps

    See tokens and cost for every request in the console, and set a quota on each API key.

  • 24/7 support

    Contact support any time about integration, billing or incidents.

SPECS

Specs and how to choose it

Google's docs position Gemini 4 Carbon as its most capable reasoning model, built for complex software engineering, math and science problems, high factual accuracy and autonomous multi-step agents.

The context window is 1,048,576 tokens (input and output combined), max output is 65,536 tokens by default and up to 1,048,576 with long decode; input can be text, image, video, audio and PDF, and output is text.

This page lists Input at $0.7147, Output at $3.5740, Cache hit at $0.0357, matching the pricing table above.

Compared with gemini-4-argon: Google says Argon answers faster and spends fewer tokens per turn across complex coding, agentic, math and science tasks.

Specs come from the vendor's official documentation (aistudio.google.com). The table on this page is the price, and the model catalog is authoritative for live rates.

FAQ

Gemini 4 Carbon API FAQ

How much does the Gemini 4 Carbon API cost?

On AnyAIGC, gemini-4-carbon is billed per token: $0.7147 per 1M input tokens, $3.5740 per 1M output tokens and $0.0357 per 1M cached tokens. Google's promotional list price (through November 30, 2026) is $2.00 input, $10.00 output and $0.10 cache, so AnyAIGC is 64% off, about 36% of Google's rate. Output includes thinking tokens.

Is it still a good deal after Google's promotion ends?

Google returns to its standard price on December 1, 2026: $4.00 input, $20.00 output and $0.20 cache per 1M tokens. At AnyAIGC's current price ($0.7147 input, $3.5740 output, $0.0357 cache), that works out to about 18% of Google's standard price. The model catalog always shows the live price.

What is the Gemini 4 Carbon model ID, and what is it based on?

The model ID is gemini-4-carbon. Google's model card says Gemini 4 Carbon is based on Gemini 4 Argon; the card was published on November 10, 2026, when the model opened in the Gemini API. The native endpoint puts the model name in the URL (/v1beta/models/gemini-4-carbon:generateContent); the OpenAI-compatible endpoint takes it in the model field.

What are the context window and maximum output?

Google lists a 1,048,576-token context window shared by input, thinking and output. A synchronous request returns up to 65,536 output tokens by default; Google's long decoding (up to about 1M output tokens) runs through its background execution feature. Carbon can think for a long time on hard problems, so set your HTTP client timeout to 15 minutes or more.

Should I use the native Gemini endpoint or the OpenAI-compatible one?

Either works. The native endpoint is POST https://anyaigc.ai/v1beta/models/gemini-4-carbon:generateContent with the same request body as the Google Gemini API, so you can use contents, systemInstruction, tools and thinkingConfig. The OpenAI-compatible endpoint is POST https://anyaigc.ai/v1/chat/completions; with the official OpenAI SDK, set base_url to https://anyaigc.ai/v1. Both use Authorization: Bearer.

How do I set the thinking level?

Gemini 4 Carbon supports three thinking levels, low, medium and high, with medium as the default. On the native endpoint, set generationConfig.thinkingConfig.thinkingLevel. Carbon spends more thinking tokens than Argon; higher levels give better results but take longer and use more output tokens, and thinking tokens are billed at the output rate.

Gemini 4 Carbon vs Gemini 4 Argon: which should I use?

Google lists both at the same price. Carbon is built on Argon and thinks and verifies more, which suits long-horizon agents, complex engineering, cybersecurity and scientific reasoning; Argon responds faster and spends fewer tokens per turn. On AnyAIGC, Gemini 4 Argon costs $0.4200 input and $2.1000 output, less than Carbon's $0.7147 and $3.5740. Start with Argon, switch to Carbon for the hardest tasks, and use Gemini 3.8 Flash for high volume. All three share one key.

Are there concurrency or rate limits?

AnyAIGC sets no concurrency limit on gemini-4-carbon. Every account gets this by default, which suits batch jobs and many agents running in parallel.

Do I need a Google Cloud account?

No. You only need an AnyAIGC account. Requests go to https://anyaigc.ai, billing is in US dollars, and you can pay by card, WeChat Pay, Alipay or USDT.

How do I get a Gemini 4 Carbon API key?

Sign up at anyaigc.ai, top up, and create a token in the console. The same key works for Gemini 4 Carbon and 300+ other models on the platform, with no Google Cloud account required.

Can I get an invoice from AnyAIGC?

Yes. You can issue invoices yourself in the console, for the amount you actually topped up.

Which payment methods are supported?

You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.

Is there free trial credit for new users?

Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.

Can I get a refund on my balance?

Yes. Unused balance can be refunded with no fee. Contact support to start a refund.

Are these the real models? Is my data safe?

Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.

Is my data used for training?

No. Unless the law requires it, AnyAIGC does not persistently store your prompts or outputs or use them for training, and requests are encrypted in transit over HTTPS. See the AnyAIGC Privacy Policy for details. The model's own data policy is governed by Google's official terms.

Run Gemini 4 Carbon at 64% off list price

Sign up, create an API key and call gemini-4-carbon from your code in minutes, using the native API or the OpenAI SDK.