Gemini 3.8 Flash vs MAI Code 2
MAI Code 2 is about 1.5× cheaper on a blended (3:1 input:output) token price. MAI Code 2 has the larger context window (1.1M vs 1M).
| Spec | Gemini 3.8 Flash | MAI Code 2 |
|---|---|---|
| Provider | Google DeepMind | Microsoft |
| Released | Sep 2, 2026 | Nov 17, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 1M | 1.1M (better) |
| Max output | 64K | 125K (better) |
| Input price / 1M | $0.75 | $0.5 (better) |
| Output price / 1M | $3.75 | $2.50 (better) |
| Input modalities | text, image, audio, video, pdf, file (better) | text, image |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 43 (better) | 1 |
| Epoch Capabilities Index | 158.8 | — |
| GPQA Diamond | 95.4% | — |
| Humanity's Last Exam | 44.5% | — |
| WebDev Arena | 1568 | — |
| OTIS Mock AIME | 98.9% | — |
| FrontierMath | 68.4% | — |
| ARC-AGI-2 | 89.2% | — |
| SimpleQA Verified | 69.7% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: Gemini 3.8 Flash costs $15.00 and MAI Code 2 costs $10.00 at list price (Google DeepMind / github-copilot pricing).
About Gemini 3.8 Flash
Gemini 3.8 Flash is a proprietary reasoning llm from Google DeepMind, released Sep 2, 2026. It has a 1M-token context window and accepts text, image, audio, video, pdf, file input. API pricing starts at $0.75 per million input tokens and $3.75 per million output tokens. It is available from 43 API providers. It scores 158.8 on the Epoch Capabilities Index. Full Gemini 3.8 Flash specs →
About MAI Code 2
MAI Code 2 is a proprietary reasoning llm from Microsoft, released Nov 17, 2026. It has a 1.1M-token context window and accepts text, image input. API pricing starts at $0.5 per million input tokens and $2.50 per million output tokens. Full MAI Code 2 specs →
Compare other models
FAQ
Which is better, Gemini 3.8 Flash or MAI Code 2?
MAI Code 2 is about 1.5× cheaper on a blended (3:1 input:output) token price. MAI Code 2 has the larger context window (1.1M vs 1M).
Is Gemini 3.8 Flash cheaper than MAI Code 2?
Gemini 3.8 Flash costs $0.75 input / $3.75 output per 1M tokens; MAI Code 2 costs $0.5 / $2.50. MAI Code 2 is cheaper overall.
Which has a bigger context window?
Gemini 3.8 Flash: 1,048,576 tokens. MAI Code 2: 1,050,000 tokens.
Are Gemini 3.8 Flash and MAI Code 2 open source?
Gemini 3.8 Flash is proprietary; MAI Code 2 is proprietary.