Mai Code 2 Flash vs Llama 3.2.3 B Instruct: cost comparison
Prices updated 2026-11-18 · computed from live provider data
Short answer: Mai Code 2 Flash is cheaper on a
3:1 input/output blend — $0.100 per million tokens versus
$0.122, a 18% difference.
Llama 3.2.3 B Instruct offers the larger context window at 131,072 tokens, against 128,000 for Mai Code 2 Flash.
Head to head
| Mai Code 2 Flash | Llama 3.2.3 B Instruct | |
|---|---|---|
| Input, per 1M tokens | $0.050 | $0.051 |
| Output, per 1M tokens | $0.250 | $0.335 |
| Blended 3:1, per 1M | $0.100 | $0.122 |
| Context window | 128,000 | 131,072 |
| Vendor | github_copilot | meta-llama |
Monthly cost at real volumes
| Workload (input / output) | Mai Code 2 Flash | Llama 3.2.3 B Instruct |
|---|---|---|
| 1M in / 250K out | $0.113 | $0.135 |
| 10M in / 2.5M out | $1.12 | $1.35 |
| 100M in / 25M out | $11.25 | $13.46 |
Which should you pick?
Pick Llama 3.2.3 B Instruct when you need the longer context window (131,072 vs 128,000 tokens). Pick Mai Code 2 Flash when price per token dominates your workload — high-volume classification, extraction, or batch summarisation.