GLM-5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.

zhipuai/glm-5
Organization
Zhipu AI
Family
glm
Providers
42
Context
204,800
Output limit
131,072
Knowledge
—
Release
2026-02-12
Updated
—
Weights
Open
Input
text
Output
text
Capabilities
—

Providers

Compare every cataloged offer for this model, including its provider, route, token limits, price, and capabilities.

57 offers · USD per million tokens
ProviderModel IDContextOutputInput / output · 1MReasoningToolsStructuredDetails
302.AI
glm-5
204,800131,072— / ————
View
Abacus
zai-org/GLM-5
204,800131,072— / ————
View
Alibaba Token Plan
glm-5
202,75216,384— / ————
View
Alibaba Token Plan (China)
glm-5
202,75216,384— / ————
View
Amazon Bedrock
zai.glm-5
202,752131,072— / ————
View
CrossModel
z-ai/glm-5
200,000128,000— / ————
View
Deep Infra
zai-org/GLM-5
202,75216,384— / ————
View
DevPass (LLM Gateway)
glm-5
203,000131,072— / ————
View
DInference
glm-5
200,000128,000— / ————
View
Eden AI
zai/glm-5
202,752131,072— / ————
View
FastRouter
z-ai/glm-5
204,800131,072— / ————
View
GMI Cloud
zai-org/GLM-5-FP8
202,752131,072— / ————
View
Hugging Face
zai-org/GLM-5
202,752131,072— / ————
View
Impossibl
zai/glm-5
204,800131,072— / ————
View
Kilo Gateway
z-ai/glm-5
202,752131,072— / ————
View
LLM Gateway
embercloud/glm-5
203,000131,000— / ————
View
LLM Gateway
alibaba/glm-5
202,75216,384— / ————
View
LLM Gateway
novita/glm-5
202,800131,072— / ————
View
LLM Gateway
tencent/glm-5
200,000128,000— / ————
View
LLM Gateway
zai/glm-5
202,800131,100— / ————
View
Meganova
zai-org/GLM-5
202,752131,072— / ————
View
Melious
glm-5
203,000131,072— / ————
View
Merge Gateway
zai/glm-5
200,000131,072— / ————
View
NanoGPT
z-ai/glm-5-original
200,000128,000— / ————
View
NanoGPT
z-ai/glm-5-original:thinking
200,000128,000— / ————
View
NanoGPT
z-ai/glm-5:thinking
200,000128,000— / ————
View
NanoGPT
z-ai/glm-5
200,000128,000— / ————
View
Novita AI
zai-org/glm-5
202,800131,072— / ————
View
Ofox
z-ai/glm-5
204,800131,072— / ————
View
OpenCode
glm-5
204,800131,072— / ————
View
OpenCode
glm-5-free
204,800131,072— / ————
View
Amazon Bedrockvia OpenRouter
z-ai/glm-5
unknown
202,752131,072$1.00 / $3.20YesYesNo
View
Baiduvia OpenRouter
z-ai/glm-5
fp8
202,752131,072$0.70 / $2.24YesYesYes
View
GMICloudvia OpenRouter
z-ai/glm-5
fp8
202,752182,476$0.60 / $1.92YesYesYes
View
Novitavia OpenRouter
z-ai/glm-5
fp8
202,800131,072$1.00 / $3.20YesYesNo
View
SiliconFlowvia OpenRouter
z-ai/glm-5
fp8
204,800131,072$0.95 / $2.55YesYesNo
View
StreamLakevia OpenRouter
z-ai/glm-5
fp8
198,000128,000$0.60 / $1.92YesYesYes
View
Venicevia OpenRouter
z-ai/glm-5
fp8
198,00032,000$1.00 / $3.20YesYesYes
View
Z.AIvia OpenRouter
z-ai/glm-5
fp8
202,752131,072$1.00 / $3.20YesYesNo
View
OrcaRouter
z-ai/glm-5
204,800131,072— / ————
View
Poe
novita/glm-5
205,000131,072— / ————
View
Qiniu
z-ai/glm-5
200,000128,000— / ————
View
SCNet Token Plan
GLM-5
204,800131,072— / ————
View
SiliconFlow
zai-org/GLM-5
205,000131,072— / ————
View
SiliconFlow (China)
Pro/zai-org/GLM-5
205,000205,000— / ————
View
Tempr Gateway
zai/glm-5
204,800131,072— / ————
View
Tencent Coding Plan (China)
glm-5
202,75216,384— / ————
View
TensorX
z-ai/glm-5
202,752202,752— / ————
View
Together AI
zai-org/GLM-5
202,752131,072— / ————
View
TokenGo
z-ai/glm-5
204,800131,072— / ————
View
Venice AI
zai-org-glm-5
198,00032,000— / ————
View
Vercel AI Gateway
zai/glm-5
202,800131,100— / ————
View
Vertex
zai-org/glm-5-maas
200,000128,000— / ————
View
Vultr
glm-5.x-menthol
202,752131,072— / ————
View
Z.AI
glm-5
204,800131,072— / ————
View
ZenMux
z-ai/glm-5
200,000128,000— / ————
View
Zhipu AI
glm-5
204,800131,072— / ————
View

Prices and limits apply to each offer. A dash means the value is not provided. OpenRouter offers show the hosting provider and routing channel separately.

Pricing

Compare token rates and cache charges across available routes and hosting configurations.

USD per million tokens
Input from$0.60Per 1M input tokens
Output from$1.92Per 1M output tokens
Available offers57Across 42 providers

Lowest listed input and output prices across the offers above; they may belong to different providers. These are base rates, before conditional pricing, discounts or additional fees.

Endpoint price comparisonLatest observed snapshot · 8 lowest-priced configurations
InputOutput
GMICloudgmicloud/fp8
$0.60$1.92
StreamLakestreamlake/fp8
$0.60$1.92
Baidubaidu/fp8
$0.70$2.24
SiliconFlowsiliconflow/fp8
$0.95$2.55
Amazon Bedrockamazon-bedrock
$1.00$3.20
Novitanovita/fp8
$1.00$3.20
Venicevenice/fp8
$1.00$3.20
Z.AIz-ai/fp8
$1.00$3.20
z-ai/glm-5Observed
Input
$0.60
Output
$1.92
Cache read
$0.12
Hosting prices through OpenRouter All endpoints and cache rates
EndpointInput / 1MOutput / 1MCache read / 1MCache write / 1M
Amazon Bedrockamazon-bedrock$1.00$3.20——
Baidubaidu/fp8$0.70$2.24$0.14—
GMICloudgmicloud/fp8$0.60$1.92$0.12—
Novitanovita/fp8$1.00$3.20$0.20—
SiliconFlowsiliconflow/fp8$0.95$2.55$0.20—
StreamLakestreamlake/fp8$0.60$1.92$0.12—
Venicevenice/fp8$1.00$3.20$0.20—
Z.AIz-ai/fp8$1.00$3.20$0.20—

Each row is a hosting configuration. Open an offer in Providers for its full pricing conditions and additional fees. Endpoint observations may differ from the routing catalog's base price.

Performance

Review reported latency and output-throughput percentiles from the latest observed rolling window.

Latest 30-minute observation

Time to first token · milliseconds

Latency distributionRolling 30-minute snapshot · 6 endpoints
P50P75P90P99
Amazon Bedrockamazon-bedrock
790–8,686.32 ms
Baidubaidu/fp8
934–5,340.4 ms
GMICloudgmicloud/fp8
2,909–7,738 ms
Novitanovita/fp8
1,512–8,387.4 ms
SiliconFlowsiliconflow/fp8
2,659–7,038.92 ms
StreamLakestreamlake/fp8
2,338–7,402.05 ms
All latency percentiles 8 endpoints
EndpointP50P75P90P99
Amazon Bedrockamazon-bedrock790 ms1,382.5 ms2,454.2 ms8,686.32 ms
Baidubaidu/fp8934 ms1,465 ms2,526.5 ms5,340.4 ms
GMICloudgmicloud/fp82,909 ms3,702 ms4,437 ms7,738 ms
Novitanovita/fp81,512 ms2,035 ms2,911 ms8,387.4 ms
SiliconFlowsiliconflow/fp82,659 ms3,271.5 ms4,014 ms7,038.92 ms
StreamLakestreamlake/fp82,338 ms3,046.25 ms3,907.4 ms7,402.05 ms
Venicevenice/fp81,343 ms2,430.5 ms4,510.5 ms9,622.46 ms
Z.AIz-ai/fp88,336 ms8,941 ms9,616.4 ms11,863.34 ms

Output throughput · tokens per second

Throughput distributionRolling 30-minute snapshot · 6 endpoints
P50P75P90P99
Amazon Bedrockamazon-bedrock
104–151.86 t/s
Baidubaidu/fp8
92–108 t/s
GMICloudgmicloud/fp8
53–122.95 t/s
Novitanovita/fp8
63–105 t/s
SiliconFlowsiliconflow/fp8
47–89 t/s
StreamLakestreamlake/fp8
48–113 t/s
All throughput percentiles 8 endpoints
EndpointP50P75P90P99
Amazon Bedrockamazon-bedrock104 t/s123 t/s138 t/s151.86 t/s
Baidubaidu/fp892 t/s100 t/s104 t/s108 t/s
GMICloudgmicloud/fp853 t/s68 t/s84.5 t/s122.95 t/s
Novitanovita/fp863 t/s69 t/s74 t/s105 t/s
SiliconFlowsiliconflow/fp847 t/s59 t/s68 t/s89 t/s
StreamLakestreamlake/fp848 t/s62 t/s77 t/s113 t/s
Venicevenice/fp854 t/s65 t/s75 t/s95 t/s
Z.AIz-ai/fp862 t/s68 t/s72 t/s79 t/s

Percentiles describe the observed request distribution. These are snapshots of a rolling window, not a historical time series.

Uptime

Compare successful request rates across the latest 5-minute, 30-minute, and 24-hour observations.

Successful requests by window
Availability by endpointCurrent overlapping windows · 8 endpoints
Endpoint5 minutes30 minutes24 hours
Amazon Bedrockamazon-bedrock
Baidubaidu/fp8
GMICloudgmicloud/fp8
Novitanovita/fp8
SiliconFlowsiliconflow/fp8
StreamLakestreamlake/fp8
Venicevenice/fp8
Z.AIz-ai/fp8

Reported by OpenRouter at the time of collection; rate-limited requests are excluded. A dash means no measurement was reported. This is not a live availability check.

Benchmarks

Review attributed evaluation results on each source's original scale.

External evaluations
z-ai/glm-5Observed
Benchmark profileArtificial Analysis · shared source scale from 0 to 30
Intelligence27.9
Design ArenaCategoryEloWin rateRank
agentsandroidnative1,16155.1%24
agentsfullstack1,12351.7%27
agentsgodotgamedev1,14446.7%21
agentshtmlslides1,14745.1%18
agentsmobileapps1,13351.6%32
models3d1,23456.3%35
modelsasciiart1,15247.9%43
modelscodecategories1,24955.5%36
modelsdataviz1,23253%42
modelsgamedev1,24157.4%37
modelssvg1,16754.4%36
modelsuicomponent1,23453.6%44
modelswebsite1,25255%40

Sources: Artificial Analysis and Design Arena, via OpenRouter. Scores retain their original scales and are not OpenAI Suite ratings.

Detailed evaluations

Evaluation scoresAccuracy or item F1 · higher is better
tau bench verified airlineZ.ai: GLM 5
75.833%
gpqa diamondZ.ai: GLM 5
77.499%
EvaluationConfigurationSourceResultsDetails
tau bench verified airlineZ.ai: GLM 5z-ai/glm-5-20260211OpenRouter75.833%
Details
models · datavizGLM 5z-ai/glm-5-20260211Design Arena1,228 Elo
Details
models · asciiartGLM 5z-ai/glm-5-20260211Design Arena1,147 Elo
Details
models · 3dGLM 5z-ai/glm-5-20260211Design Arena1,229 Elo
Details
models · websiteGLM 5z-ai/glm-5-20260211Design Arena1,247 Elo
Details
models · codecategoriesGLM 5z-ai/glm-5-20260211Design Arena1,246 Elo
Details
Composite indicesGLM-5 (Reasoning)z-ai/glm-5-20260211Artificial AnalysisIntelligence 27.9 · Coding — · Agentic —
Details
models · gamedevGLM 5z-ai/glm-5-20260211Design Arena1,234 Elo
Details
gpqa diamondZ.ai: GLM 5z-ai/glm-5-20260211OpenRouter77.499%
Details
models · svgGLM 5z-ai/glm-5-20260211Design Arena1,169 Elo
Details
models · uicomponentGLM 5z-ai/glm-5-20260211Design Arena1,228 Elo
Details

Sources: Artificial Analysis, Design Arena and OpenRouter. Evaluation configurations and scales differ; results are not interchangeable. Updated Oct 24, 2026.

Activity

Daily prompt and completion tokens reported for this model's routes in OpenRouter's top 50. Missing days have no published value.

Last 90 complete UTC days
Daily token usage113,725,524,070 reported tokens · 4 days with observations
Jul 26, 2026Oct 23, 2026
Daily observations · 4 days
Date (UTC)Reported tokensReported routes
Aug 6, 202623,092,784,0401
Jul 30, 202643,779,709,6781
Jul 28, 202621,667,058,4811
Jul 27, 202625,185,971,8711

Source: OpenRouter (openrouter.ai/rankings), as of Oct 24, 2026. CC BY 4.0. Totals include only individually published routes. Tokenizers differ by provider; the aggregated “other” category is never assigned to a model.

Technical details & API

Explore specifications, supported parameters, reasoning controls, and API identifiers for each OpenRouter route.

Current route specifications
z-ai/glm-5Observed
Context
204,800
Maximum output
128,000
Tokenizer
Other
Input
text
Output
text
Moderation
No
Added to OpenRouter
2026-02-11
Base URLhttps://openrouter.ai/api/v1
Model IDz-ai/glm-5
Version IDz-ai/glm-5-20260211
Weights IDzai-org/GLM-5

Reasoning

Required
No
Enabled by default
Yes
Default effort
—
Supported efforts
—

Supported parameters

  • frequency_penalty
  • include_reasoning
  • logprobs
  • max_tokens
  • presence_penalty
  • reasoning
  • repetition_penalty
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_logprobs
  • top_p

Default parameters

top p
0.95
temperature
1

Frequently asked questions

Answers based on the model metadata and serving offers currently in the catalog.

How much does GLM-5 cost?

Listed rates start at $0.60 per million input tokens and $1.92 per million output tokens. Prices vary by provider and configuration; see Pricing for details.

Which providers offer GLM-5?

There are 57 cataloged offers across 42 providers. Compare model IDs, prices and limits in Providers.

What is the context window?

The cataloged model context is 204,800 tokens. Each serving endpoint may apply a different limit.

Does it support tools and structured output?

Tool calling: Not reported. Structured output: Not reported. Support can vary by endpoint.

Resources

Catalog history · 3 recorded revisions

Metadata observations since this model was first cataloged. These are not model release versions.

  • · 29dc9cb3f585
  • · 8823747720db
  • · 1bef7a666755