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$0.97
Output / 1M tokens$4.50$3.04
Context window256K205K
Parameters—754B
Open weightsNo—
ReleasedJun 2026Apr 2026
LiveBench score—70.6
GPQA Diamond score—89.9
FrontierMath score—33.5
Epoch Capabilities Index score—150
LMArena (Chatbot Arena) Elo score—1463
LMArena WebDev Elo score—1508

FAQ

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

GLM 5.1 is cheaper on output tokens ($3.04 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.