Skip to content

MAI-Code-1-Flash vs GLM 5.1

GLM 5.1 is cheaper on output tokens, while MAI-Code-1-Flash offers a larger context window. Choose MAI-Code-1-Flash or GLM 5.1 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecMAI-Code-1-FlashGLM 5.1
ProviderGitHub CopilotZ.ai
Input / 1M tokens$0.75$1.40
Output / 1M tokens$4.50$4.40
Context window256K205K
Parameters—754B
Open weightsNo—
ReleasedJun 2026Apr 2026
LiveBench score—70.6
LMArena (Chatbot Arena) Elo score—1463
GPQA Diamond score—89.9
LMArena WebDev Elo score—1508
FrontierMath score—33.5
Epoch Capabilities Index score—150

FAQ

Is MAI-Code-1-Flash or GLM 5.1 cheaper?

GLM 5.1 is cheaper on output tokens ($4.40 vs $4.50 per 1M).

Which has the larger context window, MAI-Code-1-Flash or GLM 5.1?

MAI-Code-1-Flash has the larger context window (256K tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.