Mai Code 2 pricing
Source: litellm · updated 2026-11-18
Short answer: Mai Code 2 costs $0.500 per million input tokens and $2.50 per million output tokens. That is a 3:1 blended rate of $1.00 per million tokens, ranking it #459 of 833 tracked models by input price.
Input / 1M
$0.500
Output / 1M
$2.50
Output ÷ input
5.00×
Context window
128,000
Price breakdown
| Metric | USD |
|---|---|
| Input, per 1M tokens | $0.500 |
| Output, per 1M tokens | $2.50 |
| Output ÷ input multiple | 5.00× |
| 3:1 blended, per 1M tokens | $1.00 |
| Context window | 128,000 tokens |
| Vendor | github_copilot |
What a typical workload costs
| Monthly volume | Input cost | Output cost | Total |
|---|---|---|---|
| 1M in / 250K out | $0.500 | $0.625 | $1.12 |
| 10M in / 2.5M out | $5.00 | $6.25 | $11.25 |
| 100M in / 25M out | $50.00 | $62.50 | $112 |
Other github_copilot models
| Model | Input | Output |
|---|---|---|
| Mai Code 2 Flash | $0.050 | $0.250 |
| GPT-6 Luna | $0.100 | $0.500 |
| GPT-5.6 Luna | $0.200 | $1.20 |
| Mai Code 1.1 Flash | $0.200 | $1.20 |
| GPT-5 Mini | $0.250 | $2.00 |
Cheaper alternatives
Next cheaper option: Qwen 3.6 Plus at $0.439 per 1M input tokens. Next step up: Kimi K2 at $0.570 per 1M input tokens.
Spotted a price that is out of date? Submit a correction.