Skip to content
llmmodels

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).

SpecGemini 3.8 FlashMAI Code 2
ProviderGoogle DeepMindMicrosoft
ReleasedSep 2, 2026Nov 17, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters——
Context window1M1.1M (better)
Max output64K125K (better)
Input price / 1M$0.75$0.5 (better)
Output price / 1M$3.75$2.50 (better)
Input modalitiestext, image, audio, video, pdf, file (better)text, image
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers43 (better)1
Epoch Capabilities Index158.8—
GPQA Diamond95.4%—
Humanity's Last Exam44.5%—
WebDev Arena1568—
OTIS Mock AIME98.9%—
FrontierMath68.4%—
ARC-AGI-289.2%—
SimpleQA Verified69.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.