GLM-4.7-FlashX API Pricing

Z.AI · released Jan 19, 2026 · 200K context · API model ID glm-4.7-flashx

GLM-4.7-FlashX by Z.AI API pricing: $0.07 per 1M input tokens and $0.40 per 1M output tokens (provider list price via models.dev, Oct 10, 2026).

Prices

GLM-4.7-FlashX prices, USD per 1M tokens
PriceUSD per 1M tokens
Input$0.07
Output$0.40
Cache read$0.01
Cache writeFree

Z.AI's list price for its own API, as compiled by models.dev and checked Oct 10, 2026, 09:00 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Estimated monthly cost

$81.00

per month

per day
$2.70
per request
$0.00027

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Compare this workload across models

Monthly cost by workload

WorkloadPer month
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$81.00/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$114.00/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$57.00/mo

Context and capabilities

Context
200,000 tokens
Max output
131,072 tokens
Input
text
Output
text
Knowledge cutoff
April 2025
Open weights
Yes
Tool calling
Yes
Reasoning
Yes
Structured outputs
No

Capabilities and limits as listed by models.dev.

Similarly priced models

Price history

No price changes since we started tracking on Oct 8, 2026.

Questions

How much does GLM-4.7-FlashX cost per month?
For a chatbot handling 10,000 requests a day with 1,000 input and 500 output tokens each, GLM-4.7-FlashX costs about $81.00 per month at Z.AI's list prices ($0.07 per 1M input tokens, $0.40 per 1M output tokens).
Does GLM-4.7-FlashX support prompt caching?
Yes. Cached input costs $0.01 per 1M tokens, compared with $0.07 for regular input. Writing to the cache costs Free per 1M tokens.
How long is GLM-4.7-FlashX's context window?
GLM-4.7-FlashX accepts up to 200,000 tokens (200K) of context and returns up to 131,072 tokens per response.