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
30
Context
204,800
Output limit
131,072
Knowledge
—
Release
2026-02-12
Updated
2026-02-12
Weights
Open
Input
text
Output
text
Capabilities
Tools, Reasoning, Temperature

Providers

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

44 offers · USD per million tokens
ProviderModel IDContextOutputInput / output · 1MReasoningToolsStructuredDetails
Abacus
zai-org/GLM-5
204,800131,072$1.00 / $3.20YesYes—
View
Alibaba Token Plan
glm-5
202,75216,384$0.00 / $0.00YesYesYes
View
Alibaba Token Plan (China)
glm-5
202,75216,384$0.00 / $0.00YesYesYes
View
Amazon Bedrock
zai.glm-5
202,752131,072$1.00 / $3.20YesYesYes
View
Cortecs
glm-5
202,752202,752$0.988 / $3.164YesYesYes
View
CrossModel
z-ai/glm-5
200,000128,000$0.60 / $3.00YesYesYes
View
DevPass (LLM Gateway)
glm-5
203,000131,072$0.72 / $2.30YesYes—
View
DInference
glm-5
200,000128,000$0.75 / $2.40YesYes—
View
Eden AI
zai/glm-5
202,752131,072$1.00 / $3.20YesYesNo
View
GMI Cloud
zai-org/GLM-5-FP8
202,752131,072$0.60 / $1.92YesYes—
View
Impossibl
zai/glm-5
204,800131,072$1.00 / $3.20YesYes—
View
Kilo Gateway
z-ai/glm-5
198,000128,000$0.60 / $1.92YesYesYes
View
LLM Gateway
embercloud/glm-5
203,000131,000$0.72 / $2.30YesYesNo
View
LLM Gateway
alibaba/glm-5
202,75216,384$0.573 / $2.58YesYesNo
View
LLM Gateway
novita/glm-5
202,800131,072$1.00 / $3.20YesYesNo
View
LLM Gateway
tencent/glm-5
200,000128,000$1.00 / $3.20YesYesNo
View
LLM Gateway
baidu/glm-5
202,752131,072$1.00 / $3.20YesYesNo
View
LLM Gateway
vertex-openai/glm-5
202,75232,768$1.00 / $3.20YesYesNo
View
LLM Gateway
zai/glm-5
202,800131,100$1.00 / $3.20YesYesNo
View
Melious
glm-5
203,000131,072$1.10124 / $3.36168YesYes—
View
Merge Gateway
zai/glm-5
200,000131,072$1.00 / $3.20YesYesNo
View
NanoGPT
z-ai/glm-5:thinking
200,000128,000$0.50 / $2.55YesYesYes
View
NanoGPT
z-ai/glm-5
200,000128,000$0.50 / $2.55YesYesYes
View
Ofox
z-ai/glm-5
204,800131,072$1.00 / $3.20YesYes—
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$1.00 / $3.20YesYes—
View
SCNet Token Plan
GLM-5
204,800131,072$0.00 / $0.00YesYes—
View
Tempr Gateway
zai/glm-5
204,800131,072$1.00 / $3.20YesYes—
View
TensorX
z-ai/glm-5
202,752202,752$1.00 / $3.20YesYes—
View
Together AI
zai-org/GLM-5
202,752131,072$1.00 / $3.20YesYesYes
View
TokenGo
z-ai/glm-5
204,800131,072$0.89 / $3.2647YesYes—
View
Venice AI
zai-org-glm-5
198,00032,000$1.00 / $3.20YesYesYes
View
Vercel AI Gateway
zai/glm-5
202,800131,100$1.00 / $3.20YesYes—
View
Vertex
zai-org/glm-5-maas
200,000128,000$1.00 / $3.20YesYes—
View
Vultr
glm-5.x-menthol
202,752131,072$0.40 / $1.75YesYes—
View
Z.AI
glm-5
204,800131,072$1.00 / $3.20YesYes—
View
ZenMux
z-ai/glm-5
200,000128,000$0.58 / $2.60YesYesYes
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.00Per 1M input tokens
Output from$0.00Per 1M output tokens
Available offers44Across 30 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
947–6,667.43 ms
Baidubaidu/fp8
1,287.5–51,401.8 ms
GMICloudgmicloud/fp8
3,059–127,690.84 ms
Novitanovita/fp8
1,377–7,402.54 ms
SiliconFlowsiliconflow/fp8
2,674–6,098.4 ms
StreamLakestreamlake/fp8
2,707–10,810.48 ms
All latency percentiles 8 endpoints
EndpointP50P75P90P99
Amazon Bedrockamazon-bedrock947 ms1,801.75 ms3,066.1 ms6,667.43 ms
Baidubaidu/fp81,287.5 ms2,211.5 ms3,622 ms51,401.8 ms
GMICloudgmicloud/fp83,059 ms3,955 ms5,113.2 ms127,690.84 ms
Novitanovita/fp81,377 ms1,746.5 ms2,659.6 ms7,402.54 ms
SiliconFlowsiliconflow/fp82,674 ms3,245.5 ms3,960 ms6,098.4 ms
StreamLakestreamlake/fp82,707 ms3,536 ms5,323.6 ms10,810.48 ms
Venicevenice/fp81,628 ms2,899.5 ms5,910.4 ms17,353.28 ms
Z.AIz-ai/fp87,216 ms7,738 ms8,276.9 ms10,281 ms

Output throughput · tokens per second

Throughput distributionRolling 30-minute snapshot · 6 endpoints
P50P75P90P99
Amazon Bedrockamazon-bedrock
97–151.55 t/s
Baidubaidu/fp8
48–73.22 t/s
GMICloudgmicloud/fp8
49–94.72 t/s
Novitanovita/fp8
74–108 t/s
SiliconFlowsiliconflow/fp8
51–85 t/s
StreamLakestreamlake/fp8
43–82.8 t/s
All throughput percentiles 8 endpoints
EndpointP50P75P90P99
Amazon Bedrockamazon-bedrock97 t/s119 t/s134 t/s151.55 t/s
Baidubaidu/fp848 t/s55 t/s62 t/s73.22 t/s
GMICloudgmicloud/fp849 t/s58 t/s68.6 t/s94.72 t/s
Novitanovita/fp874 t/s81 t/s86 t/s108 t/s
SiliconFlowsiliconflow/fp851 t/s62 t/s70 t/s85 t/s
StreamLakestreamlake/fp843 t/s52 t/s60 t/s82.8 t/s
Venicevenice/fp866 t/s82.5 t/s98 t/s112.7 t/s
Z.AIz-ai/fp872 t/s80 t/s85 t/s92 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
Design ArenaCategoryEloWin rateRank
agentsandroidnative1,16155.1%24
agentsfullstack1,12151.7%27
agentsgodotgamedev1,14446.7%21
agentshtmlslides1,14745.1%18
agentsmobileapps1,13351.6%32
models3d1,24456.3%33
modelsasciiart1,15847.9%40
modelscodecategories1,25255.5%34
modelsdataviz1,23753%39
modelsgamedev1,24757.4%34
modelssvg1,16754.4%36
modelsuicomponent1,23753.6%43
modelswebsite1,25455%36

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
gpqa diamondZ.ai: GLM 5
75.397%
tau bench verified airlineZ.ai: GLM 5
76.963%
EvaluationConfigurationSourceResultsDetails
models · uicomponentGLM 5z-ai/glm-5-20260211Design Arena1,237 Elo
Details
models · svgGLM 5z-ai/glm-5-20260211Design Arena1,167 Elo
Details
models · 3dGLM 5z-ai/glm-5-20260211Design Arena1,244 Elo
Details
models · datavizGLM 5z-ai/glm-5-20260211Design Arena1,237 Elo
Details
models · asciiartGLM 5z-ai/glm-5-20260211Design Arena1,158 Elo
Details
models · gamedevGLM 5z-ai/glm-5-20260211Design Arena1,247 Elo
Details
gpqa diamondZ.ai: GLM 5z-ai/glm-5-20260211OpenRouter75.397%
Details
models · codecategoriesGLM 5z-ai/glm-5-20260211Design Arena1,252 Elo
Details
tau bench verified airlineZ.ai: GLM 5z-ai/glm-5-20260211OpenRouter76.963%
Details
models · websiteGLM 5z-ai/glm-5-20260211Design Arena1,254 Elo
Details

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

Apps & session costs

Compare observed median session costs for applications using this model, grouped by conversation length.

30-day sample · through Sep 27, 2026
ApplicationModel routeTurnsMedian cost / sessionDetails
Hermes Agentz-ai/glm-5-202602112–9 turns
$0.022503
Details

Source: OpenRouter, as of Oct 2, 2026. Published under CC BY 4.0. These are observed costs per session, not token prices or a forecast for your workload. Apps are compared separately.

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 usage814,613,850,235 reported tokens · 20 days with observations
Jul 6, 2026Oct 3, 2026
Daily observations · 20 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
Jul 25, 202622,977,651,0551
Jul 24, 202664,972,296,6111
Jul 23, 202667,995,473,8931
Jul 22, 202637,389,716,7461
Jul 20, 202617,482,281,0731
Jul 17, 202632,973,406,2631
Jul 16, 202657,581,370,7631
Jul 15, 202618,729,345,0241
Jul 14, 202621,901,856,2471
Jul 13, 202697,634,771,2511
Jul 12, 202616,480,830,3011
Jul 11, 202623,483,951,5631
Jul 10, 202664,847,418,5221
Jul 9, 202682,345,510,8881
Jul 8, 202634,343,007,8061
Jul 7, 202639,749,438,1591

Source: OpenRouter (openrouter.ai/rankings), as of Oct 4, 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.00 per million input tokens and $0.00 per million output tokens. Prices vary by provider and configuration; see Pricing for details.

Which providers offer GLM-5?

There are 44 cataloged offers across 30 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: Yes. Structured output: Not reported. Support can vary by endpoint.

Resources

Catalog history · 2 recorded revisions

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

  • · 8823747720db
  • · 1bef7a666755