Z.ai (GLM)

GLM 5.4

z-ai/glm-5.4
Model weightsReleased Dec 2, 2026Open Weights
ThinkingToolsVisionopen weights

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.4
Open the model picker in ChatOSS Desktop (Code, Kanban, or Chat) and select or paste this model ID.

Best for & Strengths

Key Strengths

Open weightsExtended reasoningTool & agent callingMultimodal vision

Recommended Workloads in ChatOSS

  • Coding agents
  • Complex reasoning & debugging
  • Screenshot-to-code workflows
Available in ChatOSS Code, Kanban Orchestrate, and Chat modes via Plus, Max, or BYOK.

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.

View full Top 40 Leaderboard →
Benchmark (Metric)GLM 5.4DeepSeek V4.1 FlashGLM 5.3Kimi K3.1 ProClaude 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)4239.544.855.157.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

42

Design Arena: PDF

Design Arena · Rank #5 (62.5% win)

1281 Elo

Design Arena: Game Dev

Design Arena · Rank #11 (56.1% win)

1342 Elo

Active Provider Endpoints (7)

Upstream inference providers serving GLM 5.4, with per-provider pricing, context limits, quantization, and 24-hour uptime.

ProviderInput / 1MOutput / 1MCache Read / 1MContextMax OutputQuantizationUptime (24h)
PrimeIntellectcache
primeintellect
$1.20$4.00$0.221M131K—99.1%
Inferact vLLMcache
inferact-vllm
$1.40$4.40$0.261M944K—100.0%
Modalcache
modal
$1.40$4.40$0.261M944K—100.0%
Friendlicache
friendli/zdr
$1.40$4.40$0.261M944K—100.0%
Crusoecache
crusoe/fp8
$1.40$4.40$0.261M944Kfp8100.0%
BaseTencache
baseten/fp8
$1.40$4.40$0.181M262Kfp899.7%
Z.AIcache
z-ai/fp8
$1.40$4.40$0.261M131Kfp8100.0%

Supported API Parameters

Parameters accepted by this model when called through ChatOSS or OpenRouter.

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Deep-Dive Benchmarks & Teardowns

Independent benchmark analysis and real-world agent billing teardowns featuring GLM 5.4.

Compare Similar Models

Browse all models →

Z.ai (GLM)

GLM 5.3 FlashX Legal

1M

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...

$0.37 / $1.25

Z.ai (GLM)

GLM 5.3 Prime

1M

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...

$1.68 / $5.28Coding 58.3%

Z.ai (GLM)

GLM 5.3 FlashX

1M

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...

$0.37 / $1.25Coding 36.9%

Z.ai (GLM)

GLM 5.3 Flash

1M

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...

$0.15 / $0.50Coding 36.9%

Anthropic

Claude Opus 5.5

1M

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...

$4.00 / $20.00Coding 74.1%

Moonshot AI

Kimi K3.1 Pro

1M

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...

$0.253 / $8.80Coding 65%