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.

Get your API key Free plan, no card needed

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

API price per 1M tokens
ModelInputOutputPlan2APIContext
GLM 4.7 Flash$0.0605$0.40Not available131K
GLM 5.4$1.40$4.40Not available1M
GLM 5.3 FlashX Legal$0.37$1.25Not available1M
GLM 5.3 Prime$1.68$5.28Not available1M
Claude Haiku 5.5$0.10$0.50$0 on Claude1M
Gemma 4 31B$0.20$0.40Not available262K

GLM 4.7 Flash cost per month

Tokens a month at $0.0605 input and $0.40 output per 1M
WorkloadAPI 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

All 18 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

GPT-6 and Claude at $0 per tokenFree plan, no card needed

Get your API key

Guides

80