Z.ai, released Jan 19, 2026
GLM 4.7 Flash
GLM 4.7 Flash is an older, lightweight open-weights model from Z.ai that came out in January 2026, before the GLM 5.2 and 5.3 lineup arrived. It sits on the budget end of their catalog - though the newer GLM 5.3 Flash actually undercuts it on price now - and it was built mostly for coding agents, multi-step planning, and general text work where you want reasoning without paying flagship rates. It's text-only.
Already paying for ChatGPT or Claude?
GLM 4.7 Flash costs $0.40 per 1M output tokens. Use GPT-6 and Claude through your plan instead, $0 per token.
Updated
GLM 4.7 Flash pricing and specs
- Input
- $0.0605per 1M tokens
- Output
- $0.40per 1M tokens
- Context window
- 131K131,072 tokens
- Max output
- 118K117,964 tokens
- Released
- Jan 19, 2026
- Accepts
- Text
- Features
- Tool callingReasoningStructured outputsOpen weights
What GLM 4.7 Flash is good at
- Coding agents and automated dev loops. Z.ai tuned it for coding and multi-step planning, and it handles tool calling and structured JSON out of the box.
- Long outputs, like big rewrites, since the output limit is nearly as big as the whole context window.
- Self-hosting later (the weights are open under zai-org/GLM-4.7-Flash, so you aren't locked into an API).
- Low-cost background pipelines that need structured JSON and some reasoning.
Good to know
- Reasoning is on by default. If you're running simple extraction or quick tool calls where you don't need it thinking through the problem, you'll want to turn that down.
- It only takes text.
- Check GLM 5.3 Flash before you settle on this one. GLM 4.7 Flash came out in January 2026, and Z.ai's newer GLM 5.3 Flash landed in August 2026 at a lower price - especially on output - so unless you specifically want 4.7 Flash's open weights or already have prompts dialed in for it, the newer Flash is probably the first one to test.
GLM 4.7 Flash vs similar models
| Model | Input | Output | Plan2API | Context |
|---|---|---|---|---|
| GLM 4.7 Flash | $0.0605 | $0.40 | 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 |
| Claude Haiku 5.5 | $0.10 | $0.50 | $0 on Claude | 1M |
| Gemma 4 31B | $0.20 | $0.40 | Not available | 262K |
GLM 4.7 Flash cost per month
| Workload | API price |
|---|---|
| Side project2M in, 500K out | $0.32 |
| Production app25M in, 5M out | $3.51 |
| Agents at scale250M in, 50M out | $35.13 |
FAQ
How much does the GLM 4.7 Flash API cost?
GLM 4.7 Flash costs $0.0605 per 1M input tokens and $0.40 per 1M output tokens.
What is the GLM 4.7 Flash context window?
GLM 4.7 Flash takes 131,072 tokens of context, with up to 117,964 output tokens per request.
When was GLM 4.7 Flash released?
Z.ai released GLM 4.7 Flash on Jan 19, 2026.
Can I use GLM 4.7 Flash 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 turn off the reasoning mode?
You can turn it down. Reasoning runs by default, which helps on coding and multi-step tasks, but you can dial it back when you just want a straightforward reply or structured JSON.
Can I self-host GLM 4.7 Flash instead of using the API?
Yes, Z.ai published it as open weights under zai-org/GLM-4.7-Flash. So if you start on the API and decide to run it yourself later, you can.
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