Skip to content
Toolsummary LLM price ledger

Gemma 4 26 B A4 B vs Mai Code 2 Flash: 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.110, a 9% difference. Gemma 4 26 B A4 B offers the larger context window at 262,144 tokens, against 128,000 for Mai Code 2 Flash.

Head to head

Gemma 4 26 B A4 BMai Code 2 Flash
Input, per 1M tokens$0.050$0.050
Output, per 1M tokens$0.290$0.250
Blended 3:1, per 1M$0.110$0.100
Context window262,144128,000
Vendorempiriolabsgithub_copilot

Monthly cost at real volumes

Workload (input / output)Gemma 4 26 B A4 BMai Code 2 Flash
1M in / 250K out$0.122$0.113
10M in / 2.5M out$1.23$1.12
100M in / 25M out$12.25$11.25

Which should you pick?

Pick Gemma 4 26 B A4 B when you need the longer context window (262,144 vs 128,000 tokens). Pick Mai Code 2 Flash when price per token dominates your workload — high-volume classification, extraction, or batch summarisation.

Related