models.fyi

GLM-5.2

Zhipu AIOpen weights

The strongest open-weights model. Five hosts serve it at different quantizations — headline scores only tell you about the official serving.

69.9

200K

$0.60 · $2.20

95 tok/s

May 20, 2026

The sweet spot, per task

Cheapest effort tier that keeps ≥96% of this model's peak quality on the benchmarks behind each task type. Below the floor number, quality is not okay — it just fails quietly.

Everyday writing & Q&A

Medium

Chat, drafting, summaries, general questions.

keeps 97.5% of peak87% cost

Code assist

High

Autocomplete, single functions, small fixes.

keeps 98.3% of peak62% cost

Coding agents

High

Real repos, multi-file changes, end-to-end tickets.

keeps 96.5% of peak62% cost

⚠ at Low: only 78% of peak — avoid

Math & quantitative

X-High

Derivations, statistics, financial models.

keeps 100.0% of peakpeak tier needed

⚠ at Low: only 66% of peak — avoid

Hard research problems

High

Novel, frontier, genuinely difficult questions.

keeps 96.0% of peak62% cost

⚠ at Low: only 75% of peak — avoid

Agents & tool use

High

Long workflows with tools, policies, and state.

keeps 97.8% of peak62% cost

Quality and cost, tier by tier

On everyday tasks, Medium keeps 97.5% of X-High quality at $0.0072 vs $0.055 per task.

Scores at X-High

at X-Highat X-High (peak)
BenchmarkX-HighPeakWhat it predicts
MMLU-Pro86.086.0Everyday Q&A · Drafting emails & docs · Summarizing articles
GPQA Diamond85.085.0Technical analysis · Root-cause debugging · Scientific writing
Humanity's Last Exam26.026.0Novel research questions · Frontier problem solving
AIME 202592.092.0Financial modeling · Statistics · Algorithm design
SWE-bench Verified77.077.0Coding agents · Bug fixing in real repos · Multi-file refactors
LiveCodeBench81.081.0Writing functions from scratch · Algorithms · Code autocomplete
τ²-bench83.083.0Tool-using agents · Customer-facing automation · Multi-step workflows
IFEval90.090.0Structured output (JSON) · Templated generation · Batch pipelines

Same weights, different model

Hosts serve GLM-5.2 at different quantizations and stacks. Index below is measured per host at Medium effort — the headline number only applies to the reference serving.

HostQuantIndexΔ vs reference$/M in · outtok/sTTFTUptimeGateway id
Z.ai (official)referencebf1669.9$0.60 · $2.20950.45s99.5%glm-5.2
Fireworksfp869.5-0.3$0.55 · $2.192100.30s99.3%glm-5.2@fireworks
Together AIfp869.2-0.7$0.59 · $1.991700.35s99.0%glm-5.2@together
DeepInfraint867.9-2.0$0.40 · $1.601200.60s98.2%glm-5.2@deepinfra
SiliconFlowfp869.0-0.8$0.45 · $1.801400.55s97.8%glm-5.2@siliconflow

Is it still the same model this week?

Z.ai (official)FireworksTogether AIDeepInfraSiliconFlow

Weekly Intelligence Index · dashed rules mark serving-change events

May 31, 2026DeepInfra-2.4 ptsrecovered Jun 21, 2026

Quantization silently switched int8 → int4 during a capacity crunch; reverted after three weeks of community reports. The canonical "降智" case.

One key, this model, your effort

The gateway speaks the OpenAI Chat Completions dialect. Pick a host with glm-5.2@host syntax, set reasoning_effort, and the sweet spot above becomes one line of config. Full docs →

chat with GLM-5.2
curl https://models.fyi/api/v1/chat/completions \
  -H "Authorization: Bearer $MFYI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.2",
    "reasoning_effort": "medium",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
# local dev: replace https://models.fyi with http://localhost:3000