GLM 4.5 X
glm-4.5-xPricing
List prices at Z.ai, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $2.20 | $8.90 |
What it costs a month
At Z.ai list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out$1,328
- RAG over documents2,000 requests a day, 8K in / 0.6K out$1,376
- Coding agent1,000 requests a day, 40K in / 2K out$3,174
- Overnight batch20,000 requests a day, 4K in / 0.4K out$7,416
Where to run it
1 host serve GLM 4.5 X. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Z.aiLab API glm-4.5-x | $2.20 / $8.90 | glm-4.5-x |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Z.ai.
Smaller Zhipu AI models
- 51% less
- 45% less
- 50% less
Other frontier labs
- 23% less
- 23% less
- 48% less
- 95% less
Open-weight picks
- 23% less
- 48% less
- 55% less
- 78% less
Call it
Using Z.ai's API.
from litellm import completion
response = completion(
model="zai/glm-4.5-x",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does GLM 4.5 X cost?
On Z.ai, GLM 4.5 X costs $2.20 per million input tokens and $8.90 per million output tokens.
Which APIs offer GLM 4.5 X?
GLM 4.5 X runs on 1 API: Z.ai.
What is GLM 4.5 X's context window?
128K tokens, with up to 32K tokens in one reply.
Is GLM 4.5 X being retired?
No retirement date is scheduled for it on any API we track.
What are cheaper alternatives to GLM 4.5 X?
Models that cost less and keep most of what it can do: GLM 5v Turbo on Z.ai (51% less), Gemini 4 Hydrogen on Google AI Studio (23% less), Grok 4.7 on xAI (23% less) and Qwen3.8.2 4T A95B on DeepInfra (23% less). Savings are on a mix of 3 input tokens to 1 output token.
What is GLM 4.5 X's API model id?
Use glm-4.5-x with Z.ai.
Sources
Raw catalog entry for glm-4.5-x on Z.ai
{
"input_cost_per_token": 0.0000022,
"output_cost_per_token": 0.0000089,
"litellm_provider": "zai",
"max_input_tokens": 128000,
"max_output_tokens": 32000,
"mode": "chat",
"supports_function_calling": true,
"supports_tool_choice": true,
"source": "https://docs.z.ai/guides/overview/pricing"
}