GLM 4.5

by Z.aiz-ai/glm-4.5

  • Text
  • Deprecated
  • No route yet
  • Released
  • Knowledge cutoff 31 December 2024

GLM 4.5 is deprecated. Z.ai retires this model on 31 Dec 2026.

LLMCompare cannot run GLM 4.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 4.5 at a glance

Context length
131,072 tokens
Maximum output
98,304 tokens
Accepts
Text
Returns
Text
Features
JSON outputTool callingPrompt caching
Reasoning effort levels
Not supported
Released
25 Jul 2025
Knowledge cutoff
31 December 2024

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

GLM 4.5 pricing by route

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

Prices of GLM 4.5 on each route
RouteOn LLMCompareInputper 1M tokensOutputper 1M tokensCache readper 1M tokensPrice verified onSource
OpenRouterDefaultNot configured$0.60$2.20$0.11openrouter.ai/z-ai/glm-4.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 4.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.0017
3 credits
Cost of 100 calls
$0.17
300 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 4.5
ParameterTypeRange or optionsDefault
temperatureNumber0 to 2in steps of 0.1Provider default
top_pNumber0 to 1in steps of 0.05Provider default
max_tokensInteger1 to 98,304Provider default
response_formatOne oftextjson_objectProvider default

About GLM 4.5

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly...

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

Models to compare with GLM 4.5

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

Models to compare with GLM 4.5
Add to comparisonModelContextMax outputInput priceper 1M tokensOutput priceper 1M tokensFeaturesReleasedOn LLMCompare
GLM 4.6Z.aiz-ai/glm-4.6205k131k$0.55$2.20JSONToolsCacheNo route yet
GLM 4.7Z.aiz-ai/glm-4.7205k131k$0.54$1.98JSONToolsCacheNo route yet
GLM 4.5VZ.aiz-ai/glm-4.5v65.5k16.4k$0.60$1.80JSONToolsCacheVisionNo route yet
Moondream 3 PreviewMoondreammoondream/moondream3-preview32k4.1k$0.30$2.50VisionNo route yet
Moondream 3.1Moondreammoondream/moondream3.1-9b-a2b32k4.1k$0.30$2.50VisionNo route yet
Gemini 3.5 Flash LiteGooglegoogle/gemini-3.5-flash-lite1.05M65.5k$0.30$2.50ReasoningJSONToolsCacheVisionNo route yet

Questions about GLM 4.5

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