Skip to main content
TokenCost logoTokenCost

GLM-4.7-FlashX

Last verified August 3, 2026 · Zhipu pricing ↗

$0.070/1M input · $0.400/1M output · 200K context · Zhipu

GLM-4.7-FlashX costs $0.070 per 1M input tokens and $0.400 per 1M output tokens from Zhipu, with a 200K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.0003, or $2.65 per 10,000 requests. On that workload it is cheaper than 151 of the 168 other buyable models tracked here.

Count Tokens

—
Tokens
—
Input Cost
—
Output Cost

Estimate Monthly Cost

Monthly Cost Estimator

Quick:
<$0.0001/mo

Pick a preset above or enter custom usage

What GLM-4.7-FlashX Costs Per Request

At $0.070 per 1M input and $0.400 per 1M output tokens, before caching or batch discounts.

WorkloadInput / output tokensPer requestPer 10,000 requests
Chat reply1,500 / 400$0.0003$2.65
RAG answer over retrieved docs8,000 / 600$0.0008$8.00
Coding-agent step30,000 / 2,000$0.0029$29.00

GLM-4.7-FlashX vs Similarly Priced Models

Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.

ModelInput /1MOutput /1MContextRAG answer
GLM-4.7-FlashX Zhipu$0.070$0.400200K$0.0008
GLM-5.3-Flash Zhipu$0.150$0.5001.0M$0.0015
Gemma 4 31B Google$0.120$0.360262K$0.0012
GPT-5 Nano OpenAI$0.050$0.400400K$0.0006

Alternatives to GLM-4.7-FlashX

Pricing Details

ZhipuThe paid Flash tier. Cached input $0.01/1M. Z.ai also publishes a separate GLM-4.7-Flash at $0 input / $0 output — free, rate-limited, and the right pick if your workload fits inside its limits; FlashX is what you pay for throughput. Same SKU on Bedrock, Vertex, Cerebras and OpenRouter.
Input / 1M tokens
$0.07
Output / 1M tokens
$0.4
Context Window
200K
Max Output
8K

Price History

No price change recorded since 2026-08-03, when this site started tracking this model.

Frequently Asked Questions

Common questions about GLM-4.7-FlashX pricing and usage

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. This pricing is set by Zhipu.
What tokenizer does GLM-4.7-FlashX use?
GLM-4.7-FlashX uses the cl100k_base tokenizer. This tokenizer has a vocabulary of ~100,000 tokens and is widely used across many models.
What is GLM-4.7-FlashX's context window?
GLM-4.7-FlashX supports a context window of 200K tokens (200,000 tokens). The maximum output length is 8K tokens.
How does GLM-4.7-FlashX compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, GLM-4.7-FlashX costs $0.0008 per request. The nearest-priced alternatives cost: GLM-5.3-Flash (Zhipu) $0.0015, Gemma 4 31B (Google) $0.0012, GPT-5 Nano (OpenAI) $0.0006. The table above lists their full rates and context windows.
How do I count tokens for GLM-4.7-FlashX?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for GLM-4.7-FlashX using the cl100k_base tokenizer.

Read More About GLM-4.7-FlashX