GLM 5

by Z.aiz-ai/glm-5

  • Text
  • No route yet
  • Released

LLMCompare cannot run GLM 5 yet.No route to this model is configured on this site yet. Its prices and parameters are listed below for reference.

See the models that can be run now

GLM 5 at a glance

Context length
204,800 tokens
Maximum output
131,072 tokens
Accepts
Text
Returns
Text
Features
JSON outputTool callingPrompt caching
Reasoning effort levels
Not supported
Released
11 Feb 2026
Knowledge cutoff
Not published

Model facts synced from the OpenRouter model list on 21 Oct 2026.

GLM 5 pricing by route

A route is the service LLMCompare calls to reach the model. GLM 5 has 1 route. Prices are in US dollars.

Prices of GLM 5 on each route
RouteOn LLMCompareInputper 1M tokensOutputper 1M tokensCache readper 1M tokensPrice verified onSource
OpenRouterDefaultNot configured$1.00$3.20$0.20openrouter.ai/z-ai/glm-5

The cost shown in an LLMCompare report is calculated from these prices as they were at the time of the run.

Cost calculator

Estimate what a batch of calls to GLM 5 costs. The starting numbers are examples. Change them to match your task.

Part of the input tokens above, billed at the cache read price.

Cost per call
$0.0026
4 credits
Cost of 100 calls
$0.26
400 credits

Calculated from the OpenRouter prices verified on 21 Oct 2026. Credits are the cost plus a 20% service fee, at $0.001 per credit, rounded up for each call, with a minimum of 1 per call. A real run is charged for the usage the provider reports.

Parameters you can set

These are the parameters LLMCompare can set when it calls the model through OpenRouter.

Parameters of GLM 5
ParameterTypeRange or optionsDefault
temperatureNumber0 to 2in steps of 0.1Provider default
top_pNumber0 to 1in steps of 0.05Provider default
max_tokensInteger1 to 131,072Provider default
seedInteger-2,147,483,648 to 4,294,967,295Provider default
response_formatOne oftextjson_objectProvider default

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

Description as published for this model. LLMCompare has not edited it.

Models to compare with GLM 5

Text models from the same provider and models at the nearest price. The order is not a ranking.

Models to compare with GLM 5
Add to comparisonModelContextMax outputInput priceper 1M tokensOutput priceper 1M tokensFeaturesReleasedOn LLMCompare
GLM 5V TurboZ.aiz-ai/glm-5v-turbo203k131k$1.20$4.00JSONToolsCacheVisionNo route yet
GLM 5 TurboZ.aiz-ai/glm-5-turbo203k131k$1.20$4.00JSONToolsCacheNo route yet
GLM 5.1Z.aiz-ai/glm-5.1205k131k$1.40$4.40JSONToolsCacheNo route yet
Kimi K2.6MoonshotAImoonshotai/kimi-k2.6262k236k$0.65$3.41JSONToolsCacheVisionNo route yet
Kimi K2.7 CodeMoonshotAImoonshotai/kimi-k2.7-code262k236k$0.6712$3.35JSONToolsCacheVisionNo route yet
Pareto 26.10unbiasedunbiased/pareto-26.101.05M131k$0.80$3.20ToolsCacheVisionNo route yet

Questions about GLM 5

How much does GLM 5 cost?
On the OpenRouter route, GLM 5 costs $1.00 per 1 million input tokens and $3.20 per 1 million output tokens, in US dollars. Input tokens that GLM 5 reads from the prompt cache cost $0.20 per 1 million tokens. LLMCompare verified this price on 21 Oct 2026.
What is the context length of GLM 5?
GLM 5 has a context length of 204,800 tokens and returns up to 131,072 output tokens in one call.
What inputs does GLM 5 accept?
GLM 5 accepts these inputs: Text. GLM 5 returns: Text.
Can I test GLM 5 on my own data?
Not yet. LLMCompare lists the prices and parameters of GLM 5, but no route to GLM 5 is configured on LLMCompare, so it cannot be selected for an evaluation.