Curated dataset78 models

Gemini 4 Carbon vs MAI Code 2

Google DeepMind vs MicrosoftDataset revised

Answer

MAI Code 2 costs less per token: $0.50 in and $2.50 out per 1M, against $2.00 in and $10.00 out. MAI Code 2 allows 128,000 output tokens in one response, 2.0x larger than the ceiling of Gemini 4 Carbon at 65,536 tokens. Gemini 4 Carbon accepts Audio and Video input; MAI Code 2 does not. No decision turns on context window, max output, closed weights, release date.

Within 5% or equal: Context window (1,048,576 tokens and 1,050,000 tokens) · Max output (65,536 tokens and 128,000 tokens) · Closed weights · Release date (2026-11-10 and 2026-11-17)

Where they differ

2 axes with a real gap. The size of each gap is printed under the axis, because a five cent difference and a three times larger ceiling are not the same kind of fact.

AxisGemini 4 CarbonMAI Code 2
Price, 1M in plus 1M out4.0x cheaper on MAI Code 2$12.00$3.00
InputsAudio, Video input on Gemini 4 CarbonText, Vision, Audio, Video, CodeText, Vision, Code

Specification

FieldGemini 4 CarbonMAI Code 2
Context window1,048,576 tokens1,050,000 tokens
Max output65,536 tokens128,000 tokens
Input price / 1M$2.00$0.50
Output price / 1M$10.00$2.50
1M in + 1M out$12.00$3.00
WeightsClosed (API only)Closed (API only)
LicenceProprietary APIMicrosoft Foundry / Enterprise AI Services Code of Conduct
Released2026-11-102026-11-17
InputsText, Vision, Audio, Video, CodeText, Vision, Code

Benchmarks both laboratories published

Shown side by side only when both records name the same test and the same version.

No benchmark is reported by both laboratories at the same test and version, so no row is shown.

1 benchmarks withheldreported at different tests or versions
  • Terminal-Bench, Different tests or versions (AA vs Terminal-Bench 2.1, max effort).
    Gemini 4 Carbon: 65.2% (AA) · MAI Code 2: 84.6% (Terminal-Bench 2.1, max effort)

Where Gemini 4 Carbon leads

  • Nothing measured separates it from MAI Code 2: price, context, output, modalities, weights and published benchmarks are equal or within 5%.

Where MAI Code 2 leads

  • Cheaper input: $0.50 vs $2.00 per 1M tokens.
  • Longer single response: 128,000 output tokens vs 65,536 tokens on Gemini 4 Carbon.

Common questions

Is Gemini 4 Carbon cheaper than MAI Code 2?

Yes for MAI Code 2. Gemini 4 Carbon lists $2.00 in / $10.00 out per 1M tokens; MAI Code 2 lists $0.50 in / $2.50 out. Both are official list prices recorded with a source link.

Which has the larger context window, Gemini 4 Carbon or MAI Code 2?

MAI Code 2 accepts 1,050,000 tokens; Gemini 4 Carbon accepts 1,048,576 tokens.

Is Gemini 4 Carbon or MAI Code 2 open weights?

Neither publishes weights; both are closed API models (Proprietary API; Microsoft Foundry / Enterprise AI Services Code of Conduct).

When were Gemini 4 Carbon and MAI Code 2 released?

Gemini 4 Carbon was released on 2026-11-10 and MAI Code 2 on 2026-11-17. MAI Code 2 is the more recent release.

Do Gemini 4 Carbon and MAI Code 2 report the same benchmarks?

No. Both laboratories publish a score for Terminal-Bench, but not on the same test or version, so ModelRegistry does not place them side by side. Comparing different evaluations would produce a ranking the evidence cannot support.

Related comparisons

Every figure above comes from the primary source on each model page (3 for Gemini 4 Carbon, 3 for MAI Code 2). Prices are official list prices per 1M tokens and change without notice. Methodology