Gemini 4 Neon 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 $3.00 in and $15.00 out. MAI Code 2 allows 128,000 output tokens in one response, 2.0x larger than the ceiling of Gemini 4 Neon at 65,536 tokens. Gemini 4 Neon 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-18 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.
| Axis | Gemini 4 Neon | MAI Code 2 |
|---|---|---|
| Price, 1M in plus 1M out6.0x cheaper on MAI Code 2 | $18.00 | $3.00 |
| InputsAudio, Video input on Gemini 4 Neon | Text, Vision, Audio, Video, Code | Text, Vision, Code |
Released Nov 18, 2026 and available the same day in the Gemini API, Google AI Studio, Gemini for business, Google Antigravity and the Gemini app; Gemini 4 Neon is Google DeepMind's balanced middle tier, adapted from Gemini 4 Carbon, with a unified 1M-token context, flat pricing of $3/$15 per 1M tokens (cached input $0.15), four thinking levels and a March 2026 knowledge cutoff. It scores 61 on the Artificial Analysis Intelligence Index v5.0.1 at xhigh, ranks #1 on the Artificial Analysis Coding Agent Index at 58.6, and Google reports a 32% lower cost per task than Carbon at the default high level; Carbon keeps the flagship label for the hardest long-horizon work.
Released Nov 17, 2026; Microsoft's frontier agentic coding model with a 1M-token context window, reaching 98% of GPT-6.1 Sol coding quality at 40% of the price and 96% of Claude Opus 5.5 at 5% of the cost; 84.6% on Terminal-Bench 2.1 and 73.2% on DeepSWE 1.1 (max reasoning effort, GitHub Copilot CLI harness, self-reported). The $0.50/$2.50 price is a promotional rate through May 17, 2027; the later rate is $1/$5.
Specification
| Field | Gemini 4 Neon | MAI Code 2 |
|---|---|---|
| Context window | 1,048,576 tokens | 1,050,000 tokens |
| Max output | 65,536 tokens | 128,000 tokens |
| Input price / 1M | $3.00 | $0.50 |
| Output price / 1M | $15.00 | $2.50 |
| 1M in + 1M out | $18.00 | $3.00 |
| Weights | Closed (API only) | Closed (API only) |
| Licence | Proprietary API | Microsoft Foundry / Enterprise AI Services Code of Conduct |
| Released | 2026-11-18 | 2026-11-17 |
| Inputs | Text, Vision, Audio, Video, Code | Text, 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 (Terminal-Bench 4.1, cheating-adjusted vs Terminal-Bench 2.1, max effort).Gemini 4 Neon: 65.2% (Terminal-Bench 4.1, cheating-adjusted) · MAI Code 2: 84.6% (Terminal-Bench 2.1, max effort)
Where Gemini 4 Neon 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 $3.00 per 1M tokens.
- Longer single response: 128,000 output tokens vs 65,536 tokens on Gemini 4 Neon.
Common questions
Is Gemini 4 Neon cheaper than MAI Code 2?
Yes for MAI Code 2. Gemini 4 Neon lists $3.00 in / $15.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 Neon or MAI Code 2?
MAI Code 2 accepts 1,050,000 tokens; Gemini 4 Neon accepts 1,048,576 tokens.
Is Gemini 4 Neon 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 Neon and MAI Code 2 released?
Gemini 4 Neon was released on 2026-11-18 and MAI Code 2 on 2026-11-17. Gemini 4 Neon is the more recent release.
Do Gemini 4 Neon 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 (5 for Gemini 4 Neon, 3 for MAI Code 2). Prices are official list prices per 1M tokens and change without notice. Methodology