Z.ai (GLM)
GLM 5.4
GLM-5.4 is Z.ai's first flagship model with native vision capabilities, featuring Z.ai's first Loop Transformer architecture with enhanced reasoning and generalized coding capabilities.
Cost / 1M tokens
Medium usage$1.40
input
$0.26
cached input
$4.40
output
Context Window
1M
Up to 944K max output
Modalities
text, image, video → text
Other tokenizer
Quickstart & API
z-ai/glm-5.4Best for & Strengths
Key Strengths
Recommended Workloads in ChatOSS
- Coding agents
- Complex reasoning & debugging
- Screenshot-to-code workflows
Verified Evaluations
Benchmarks & Frontier Comparison
How GLM 5.4 compares against leading open-weight and proprietary frontier models across independent agentic coding and reasoning suites.
| Benchmark (Metric) | GLM 5.4 | DeepSeek V4.1 Flash | GLM 5.3 | Kimi K3.1 Pro | Claude Opus 5.5 |
|---|---|---|---|---|---|
| Agentic & Software Engineering | |||||
| ChatOSS Agentic Coding Index (%) | — | 63.2% | 58.3% | 65% | 74.1% |
| SWE-Bench Verified (%) | — | 91.5% | 95.4% | 94.8% | 97% |
| DeepSWE v1.1 (Pass@1 %) | — | 77% | 69% | 73.5% | 74.2% |
| Vibe Code Bench v1.1 (%) | — | 87.7% | 78.1% | 88.4% | 90.3% |
| Terminal-Bench 4.0 (%) | — | 42.3% | 42% | 46.2% | 65.2% |
| Code Migration (%) | — | 45.6% | 44.2% | 52% | 66.7% |
| Intelligence & Token Economics | |||||
| Artificial Analysis Intelligence Index (0–100) | 42 | 39.5 | 44.8 | 55.1 | 57.6 |
| Input Price (/ 1M tokens) | $1.40 | $0.15 | $1.40 | $2.00 | $4.00 |
| Output Price (/ 1M tokens) | $4.40 | $0.60 | $4.40 | $10.00 | $20.00 |
Artificial Analysis Intelligence Index
Artificial Analysis
Design Arena: PDF
Design Arena · Rank #5 (62.5% win)
Design Arena: Game Dev
Design Arena · Rank #11 (56.1% win)
Active Provider Endpoints (7)
Upstream inference providers serving GLM 5.4, with per-provider pricing, context limits, quantization, and 24-hour uptime.
| Provider | Input / 1M | Output / 1M | Cache Read / 1M | Context | Max Output | Quantization | Uptime (24h) |
|---|---|---|---|---|---|---|---|
PrimeIntellectcache primeintellect | $1.20 | $4.00 | $0.22 | 1M | 131K | — | 99.1% |
Inferact vLLMcache inferact-vllm | $1.40 | $4.40 | $0.26 | 1M | 944K | — | 100.0% |
Modalcache modal | $1.40 | $4.40 | $0.26 | 1M | 944K | — | 100.0% |
Friendlicache friendli/zdr | $1.40 | $4.40 | $0.26 | 1M | 944K | — | 100.0% |
Crusoecache crusoe/fp8 | $1.40 | $4.40 | $0.26 | 1M | 944K | fp8 | 100.0% |
BaseTencache baseten/fp8 | $1.40 | $4.40 | $0.18 | 1M | 262K | fp8 | 99.7% |
Z.AIcache z-ai/fp8 | $1.40 | $4.40 | $0.26 | 1M | 131K | fp8 | 100.0% |
Supported API Parameters
Parameters accepted by this model when called through ChatOSS or OpenRouter.
Deep-Dive Benchmarks & Teardowns
Independent benchmark analysis and real-world agent billing teardowns featuring GLM 5.4.
2026-12-03 · 14 min read
Amazon Ergo 1 vs Kimi K3.1 Pro, GLM 5.4, and DeepSeek V4.1 Flash 1017
Amazon's first frontier model is real open weights: 1.1T parameters, 55B active, $1.00/$3.00 and 400 tokens a second. It is not the smartest open model — Kimi K3.1 Pro leads 47 to 38 — but it is the best-value one for code you can actually merge, and GLM 5.4 is not open source at all.
2026-12-03 · 13 min read
Is GLM 5.4 better than DeepSeek V4.1 Flash 1017 at coding?
Probably yes on the thin head-to-head data, but the honest verdict is not proven. KingBench 4, Arena WebDev, ModelDial and Z.ai's own 200-task study all lean GLM 5.4, while DeepSeek's terminal numbers are on older variants and against GLM 5.3. We confirmed what '1017' means, found extra like-for-like comparisons, and priced the cache-aware bill.
Compare Similar Models
Browse all models →Z.ai (GLM)
GLM 5.3 FlashX Legal
GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text. It adds legal-domain mid-training and post-training with reinforcement...
Z.ai (GLM)
GLM 5.3 Prime
GLM-5.3-Prime is the high-speed variant of Z.ai's GLM-5.3, inheriting its full capabilities while delivering 1.5–2× the output throughput through inference acceleration. It supports text input and output with a 1M-token...
Z.ai (GLM)
GLM 5.3 FlashX
GLM-5.3-FlashX is the high-speed variant of Z.ai's GLM-5.3-Flash, a native multimodal model delivering inference speeds of up to 200 tokens/s. Built on the same hybrid sparse and linear attention architecture...
Z.ai (GLM)
GLM 5.3 Flash
GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...
Anthropic
Claude Opus 5.5
Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...
Moonshot AI
Kimi K3.1 Pro
Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model and a post-trained successor to Kimi K3, with a 1M-token context window. It is built for long-horizon coding, 3D...