Z.ai · LLMs & Coding

GLM-4.7-FlashX

Catalog data · checked Nov 16, 2026

GLM-4.7-FlashX is a language model from Z.ai, released in January 2026. It reads text and writes text, with a context window of 200K tokens and up to 131.1K output tokens per answer. It costs $0.07 per million input tokens and $0.4 per million output tokens. That makes it cheaper than 91% of the 185 paid language models we track.

Calculate my costCompare

Input price$0.07per 1M tokens
Output price$0.4per 1M tokens
Context window200Ktokens per request
Max output131.1Ktokens per answer
ReleasedJan 202610 months ago
Knowledge cutoffApr 2025training data ends
WeightsOpencan be self-hosted

What it can do

  • Tool calling
  • Structured output
  • Reasoning mode
  • Image input
  • File input
  • Audio input
  • Video input
  • Image output
  • Audio output
  • Prompt caching

More prices

Cached input (read)$0.01 /1M
Cache write$0 /1M

What it costs in practice

1,000 support replies1,000 chats with 800 input and 250 output tokens each$0.156
Summarize a 300-page reportabout 150,000 input tokens in one request, 2,000 tokens out$0.011
10,000 product descriptions300 input and 200 output tokens per text$1.01
One day of agentic codingabout 3M input and 150K output tokens across many calls$0.27

Calculated from the list prices above. Your bill depends on your real token counts. Use your own numbers →

Compare GLM-4.7-FlashX with

Questions & answers

How much does GLM-4.7-FlashX cost?

GLM-4.7-FlashX costs $0.07 per 1 million input tokens and $0.4 per 1 million output tokens (USD, list price checked Nov 16, 2026).

How large is the context window of GLM-4.7-FlashX?

GLM-4.7-FlashX can process up to 200,000 tokens per request and return up to 131,072 tokens. As a rule of thumb, 1,000 tokens are about 750 English words.

Does GLM-4.7-FlashX support tool calling?

Yes. The API accepts tool (function) definitions.

Can GLM-4.7-FlashX read images?

No, this model accepts text only.