Z.ai, released Jul 25, 2025
GLM 4.5
GLM 4.5 is an open-weights Mixture-of-Experts model from Z.ai that was built with agent workflows in mind. It came out on July 25, 2025 as a flagship, though it's an older generation now (Z.ai has since shipped GLM 5.2 and the whole GLM 5.3 family) and it's scheduled to be retired on 2026-12-31. It's a text-only model aimed at jobs that need tool calling, structured JSON, or optional reasoning.
Already paying for ChatGPT or Claude?
GLM 4.5 costs $2.20 per 1M output tokens. Use GPT-6 and Claude through your plan instead, $0 per token.
Updated
GLM 4.5 pricing and specs
- Input
- $0.60per 1M tokens
- Output
- $2.20per 1M tokens
- Cached input
- $0.11per 1M tokens
- Context window
- 131K131,072 tokens
- Max output
- 98K98,304 tokens
- Released
- Jul 25, 2025
- Knowledge cutoff
- Dec 2024
- Retires
- Dec 31, 2026
- Accepts
- Text
- Features
- Tool callingReasoningStructured outputsOpen weights
What GLM 4.5 is good at
- Agent loops and tool-heavy pipelines. Tool calling and structured JSON output are both supported, and agent work is what Z.ai built it for.
- Long single-shot generation, like big reports or large JSON payloads, since it allows very long replies alongside a large context window.
- Workflows where some steps need extra thinking and others don't. You can toggle the reasoning mode on when you want it and skip it when you don't.
- Teams that want a self-hosting option down the line, because the open weights are out there as zai-org/GLM-4.5.
Good to know
- It's on the way out. Z.ai plans to retire GLM 4.5 on 2026-12-31, so don't build a long-term API integration around it unless you're ready to migrate or host it yourself.
- Newer Z.ai models are cheaper. It sits in roughly the same price range as GLM 5.2 and costs less than GLM 5.3 Prime, but GLM 5.3, GLM 5.3 Flash, and GLM 5.3 FlashX all undercut it - so for a new project, it's worth looking at the 5.3 lineup first.
- Text only, with a December 2024 knowledge cutoff. If your app needs non-text input or recent world knowledge without passing it in through prompts or tools, this isn't the one.
GLM 4.5 vs similar models
| Model | Input | Output | Plan2API | Context |
|---|---|---|---|---|
| GLM 4.5 | $0.60 | $2.20 | Not available | 131K |
| GLM 5.4 | $1.40 | $4.40 | Not available | 1M |
| GLM 5.3 FlashX Legal | $0.37 | $1.25 | Not available | 1M |
| GLM 5.3 Prime | $1.68 | $5.28 | Not available | 1M |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | $0 on Gemini | 1M |
| Hy4 preview | $0.751 | $2.251 | Not available | 1M |
GLM 4.5 cost per month
| Workload | API price |
|---|---|
| Side project2M in, 500K out | $2.30 |
| Production app25M in, 5M out | $26.00 |
| Agents at scale250M in, 50M out | $260 |
FAQ
How much does the GLM 4.5 API cost?
GLM 4.5 costs $0.60 per 1M input tokens and $2.20 per 1M output tokens, and cached input costs $0.11 per 1M.
What is the GLM 4.5 context window?
GLM 4.5 takes 131,072 tokens of context, with up to 98,304 output tokens per request.
When was GLM 4.5 released?
Z.ai released GLM 4.5 on Jul 25, 2025.
Can I use GLM 4.5 with my subscription?
Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6 and Claude models run through your ChatGPT or Claude plan at $0 per token instead.
Can I self-host GLM 4.5 after it's retired?
Yes. The weights are open and published as zai-org/GLM-4.5. So if you have something in production that depends on how GLM 4.5 behaves, you can pull the weights and run it yourself once the hosted version shuts down on 2026-12-31.
Does GLM 4.5 handle images or other media?
No, it's text-only. If your pipeline takes images or files that aren't plain text, you'll have to handle that part outside the model before sending the text over.
More Z.ai models
Already paying for ChatGPT or Claude? Use GPT-6 and Claude through your plan, $0 per token.
- Free: 1 subscription, no daily cap, no card
- Pro: $12 a month