Z.ai

GLM 4.6

200K ctxText Tools Reasoning

Released Sep 30, 2025 · 142B tokens this week · 4 providers

Overview

Z.ai's flagship open-weight model, with a large context window and strong coding performance. It has become a popular cheap drop-in inside agentic coding harnesses. Good tool-calling discipline for the price.

programmingagentsreasoning

Providers

Reference data — not yet measured from live traffic

PROVIDERMAX OUTOUTPUT /MQUANT
Novita AICheapest
200K33K$0.45$1.80720ms7098.60%fp8
DeepInfra
200K33K$0.48$1.91700ms7498.70%fp8
Together AI
200K33K$0.51$2.05195ms9899.30%Full
Fireworks AI
200K33K$0.53$2.12580ms11099.40%Full

Latency p50 reflects a provider’s API endpoint responsiveness — the round-trip to its API, not per-token inference time. These figures, with throughput and uptime, are reference data until the gateway aggregates its own traffic.

Price comparison

Blended $ per 1M tokens

GLM 4.6$1.46
GPT-5.2$10.94

Blended rate per 1M tokens, weighted one part prompt to three parts completion — roughly the shape of a chat workload. Your mix will move the number.

Call it

OpenAI-compatible — swap the base URL and go

curl https://model.cards/api/v1/chat/completions \
  -H "Authorization: Bearer $MODELCARDS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-4.6",
    "messages": [
      { "role": "user", "content": "Summarize the tradeoffs of speculative decoding." }
    ]
  }'