Compare AI models

Specifications
Parameters
—30B
Context window
40k200k
API pricing
Input price
—$0.00
Output price
—$0.00
Cached input price
—$0.00
—$0.00Z.ai list price
Benchmarks
LiveCodeBench
59.36%64%
AIME 2025
64.95%91.6%
Overview
CompanyMistralZ.ai
Release dateJun 10 2025Jan 19 2026
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GLM-4.7-Flash leads Magistral Medium on 2 of the 2 benchmarks they both report (LiveCodeBench, AIME 2025). Only GLM-4.7-Flash has a verified first-party price for an available API: $0.00 per million input tokens and $0.00 per million output tokens. No currently available pay-as-you-go API rate is tracked for Magistral Medium. Magistral Medium shipped 223 days before GLM-4.7-Flash, so benchmark comparisons should account for the intervening progress.

Context windows are 40k (Magistral Medium) vs 200k (GLM-4.7-Flash). Magistral Medium is closed, while GLM-4.7-Flash is open weight.

On LiveCodeBench, GLM-4.7-Flash leads at 64% vs Magistral Medium at 59.36%. On AIME 2025, GLM-4.7-Flash leads at 91.6% vs Magistral Medium at 64.95%.