Z.ai: GLM-4.7-FlashOfficial docs

Z.ai: GLM-4.7-Flash

byZ.ai
Official docs

GLM-4.7-Flash is a reasoning model from Z.ai released on Jan 19, 2026. It reads text and writes text, with a 200K token context window and up to 131K tokens per reply.

Show more

It costs $0.0605 per million input tokens and $0.40 per million output tokens.

It supports tool calling and structured JSON output, and its weights are open, so you can host it yourself.

21 providers serve it, including Cloudflare Workers AI, Hugging Face and Novita AI. The lowest input price is $0.06 per million tokens at Eden AI.

Modalities
In / out price
$0.0605 / $0.40 per 1M
Context
200K
Max output
131K
Released
Jan 19, 2026
Knowledge cutoff
Apr 2025
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

GLM-4.7-Flash pricing

USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$0.0605 / 1M tokens
Output$0.40 / 1M tokens

GLM-4.7-Flash providers

21 providers serve it, including Cloudflare Workers AI, Hugging Face and Novita AI. The lowest input price is $0.06 per million tokens at Eden AI. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.

ProviderInput /MOutput /MCache read /MContextMax output
Zhipu AI First party$0$0$0200K131K
Cloudflare Workers AI$0.0605$0.40n/a131K131K
Hugging Face$0.0605$0.40n/a131K128K
Novita AI$0.07$0.40$0.01200K128K
Vercel AI Gateway$0.07$0.40n/a200K131K
Eden AI$0.06$0.40$0.01203K131K
Kilo Gateway$0.0605$0.40n/a131K118K
NanoGPT$0.0605$0.40$0.0605200K128K
Jiekou.AI$0.07$0.40$0.01200K128K
Merge Gateway$0.07$0.40n/a200K128K
SparrowCodes$0.07$0.40$0.07200K66K
Poe$0.0707$0.404n/a200K66K

Showing 12 of 21 providers: the lab first, then the major clouds, then the cheapest resellers.

What GLM-4.7-Flash costs per month

Pick a workload close to yours or type your own volumes.

GLM-4.7-Flash per month
$8.74
Without caching
$8.74
Per request
$0.0003

Supported request parameters

What you can set when you call GLM-4.7-Flash through an OpenAI compatible API.

  • Toolstools
  • Structured outputsstructured_outputs
  • Reasoningreasoning
  • Temperaturetemperature

Alternatives to GLM-4.7-Flash

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Reads text. Tool calling, structured output, reasoning. Served by 40 providers.

    by openaiAug 5, 2025131K context$0.07/M input tokens$0.30/M output tokens40 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 29 providers.

    by openaiAug 7, 2025$0.05/M input tokens$0.40/M output tokens29 providers

  • Reads text. Tool calling, structured output, reasoning. Served by 8 providers.

    by qwenJul 28, 2025$0.05/M input tokens$0.40/M output tokens8 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 2 providers.

    by z-aiDec 8, 2025$0.04/M input tokens$0.40/M output tokens2 providers

  • Reads text. Tool calling, structured output, reasoning. Served by 15 providers.

    by qwenApr 28, 2025$0.08/M input tokens$0.28/M output tokens15 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 2 providers.

    by bytedanceJul 26, 2025$0.07/M input tokens$0.30/M output tokens2 providers

More from Z.ai

  • Reads text and images. Tool calling, structured output, reasoning.

    by z-aiNov 23, 2026$1.20/M input tokens$4.20/M output tokens

  • Reads text. Tool calling, reasoning.

    by z-aiNov 14, 2026$0.429/M input tokens$1.45/M output tokens

  • Reads text. Tool calling, reasoning.

    by z-aiNov 14, 2026$0.242/M input tokens$0.88/M output tokens

  • Reads text, images, files and video. Tool calling, structured output, reasoning. Served by 7 providers.

    by z-aiNov 2, 2026$0.2994/M input tokens$1.05/M output tokens7 providers

  • Reads text and images. Tool calling, reasoning.

    by z-aiOct 5, 2026$0.15/M input tokens$0.50/M output tokens

  • Reads text and images. Tool calling, reasoning.

    by z-aiOct 5, 2026$0.15/M input tokens$0.50/M output tokens

All Z.ai models

GLM-4.7-Flash questions

How much does the GLM-4.7-Flash API cost?

$0.0605 per million input tokens and $0.40 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of GLM-4.7-Flash?

200,000 tokens of input, and it can write up to 131,072 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Which providers serve GLM-4.7-Flash?

21 providers serve it, including Cloudflare Workers AI, Hugging Face and Novita AI. The lowest input price is $0.06 per million tokens at Eden AI. Prices differ by host, so the Providers table on this page lists each one with its input and output price.

Does GLM-4.7-Flash support tool calling?

Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.

Is GLM-4.7-Flash open source?

Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.

When was GLM-4.7-Flash released?

Jan 19, 2026, with training data up to Apr 2025.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.