GLM-5.3-Flash vs Grok 4.7
glm-5.3-flashgrok-4.7GLM-5.3-Flash costs $0.104676 per 1M input tokens and $0.348919 per 1M output tokens, with a 1M-token context window; Grok 4.7 costs $0.198958 per 1M input tokens and $0.596874 per 1M output tokens, with a 500K-token context window.
Side by side
Prices in US dollars; limits and capabilities as published by each model’s provider.
| Spec | GLM-5.3-Flash | Grok 4.7 |
|---|---|---|
| Input/ 1M tokens | $0.104676 | $0.198958 |
| Output/ 1M tokens | $0.348919 | $0.596874 |
| Cache read/ 1M tokens | $0.020935 | $0.04974 |
| Cache write/ 1M tokens | $0 | — |
| Discount | 30% off | 90% off |
| Contexttokens | 1M | 500K |
| Max outputtokens | 128K | — |
| Input types | text, image, video, file | text, image |
| Output types | text | text |
| Released | 2026-08-26 | — |
| Knowledge cutoff | — | 2026-05 |
| Tokens, last 7 daystokens | 75M | 14M |
| Endpoints | // | // |
Same workload
One workload of 1,000,000 input and 200,000 output tokens, priced at each model’s current rates.
- GLM-5.3-Flash
- $0.1745$0.1047 input + $0.0698 output
- Grok 4.7
- $0.3183$0.199 input + $0.1194 output
For this workload, GLM-5.3-Flash costs $0.1439 less than Grok 4.7.
Same code
Only the model field changes.
curl https://api.cheapaimodel.ai/v1/chat/completions \
-H "Authorization: Bearer $CHEAPAIMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'When to choose which
Differences in the published specs, then each provider’s own description.
- GLM-5.3-Flash has the longer context window (1M vs 500K tokens).
- GLM-5.3-Flash has the lower input price ($0.104676 vs $0.198958 per 1M tokens).
- GLM-5.3-Flash has the lower output price ($0.348919 vs $0.596874 per 1M tokens).
- GLM-5.3-Flash accepts video and file input; Grok 4.7 doesn’t.
About GLM-5.3-Flash
The first natively multimodal model in Z.ai's GLM-5 series, taking text, image, video and file input. Z.ai positions it as stronger than GLM-5.2 at a much lower cost.
About Grok 4.7
xAI's most capable model, for coding, agentic tasks and knowledge work, released in September 2026 as the successor to Grok 4.6. It takes text and image input with a 500K-token context window and offers four reasoning effort levels, from low to xhigh.