GLM-5.3-FlashX vs Grok 4.7 pricing
- For the Chatbot workload, GLM-5.3-FlashX costs 5.0× less than Grok 4.7.
- For the RAG workload, GLM-5.3-FlashX costs 5.3× less than Grok 4.7.
- For the Coding agent workload, GLM-5.3-FlashX costs 5.7× less than Grok 4.7.
Prices
| USD per 1M tokens | GLM-5.3-FlashX | Grok 4.7 |
|---|---|---|
| Input | $0.37 | $2.00 |
| Output | $1.25 | $6.00 |
| Cache read | $0.075 | $0.50 |
| Cache write | Free | Not published |
| Batch input | Not published | Not published |
| Batch output | Not published | Not published |
GLM-5.3-FlashX: Z.AI's list price for its own API, as compiled by models.dev and checked Nov 24, 2026, 04:16 UTC. Prices on cloud platforms and resellers can differ. Provider documentation
Grok 4.7: xAI's list price for its own API, as compiled by models.dev and checked Nov 24, 2026, 04:16 UTC. Prices on cloud platforms and resellers can differ. Provider documentation
Monthly cost by workload
| Workload | GLM-5.3-FlashX | Grok 4.7 |
|---|---|---|
| Chatbot1,000 in / 500 out tokens, 10,000 requests a day | $298.50/mo | $1,500/mo |
| RAG8,000 in / 500 out tokens, 5,000 requests a day | $537.75/mo | $2,850/mo |
| Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input | $276.00/mo | $1,560/mo |
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.
Context and capabilities
| GLM-5.3-FlashX | Grok 4.7 | |
|---|---|---|
| Context | 1,000,000 tokens | 500,000 tokens |
| Max output | 131,072 tokens | 500,000 tokens |
| Input | text, image, video, pdf | text, image, pdf |
| Tool calling | Yes | Yes |
| Reasoning | Yes | Yes |
| Structured outputs | Yes | Yes |
Questions
- What is the price difference between GLM-5.3-FlashX and Grok 4.7?
- GLM-5.3-FlashX: $0.37 per 1M input tokens and $1.25 per 1M output tokens. Grok 4.7: $2.00 per 1M input tokens and $6.00 per 1M output tokens. Base prices apply to prompts up to 200,000 input tokens; longer prompts use separate prices. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $298.50 per month for GLM-5.3-FlashX and $1,500 for Grok 4.7.
- Which has the longer context window, GLM-5.3-FlashX or Grok 4.7?
- GLM-5.3-FlashX has the longer context window: up to 1,000,000 tokens, compared with 500,000 for Grok 4.7.
- Do GLM-5.3-FlashX and Grok 4.7 have prompt caching and batch prices?
- GLM-5.3-FlashX: cached input $0.075 per 1M tokens; no batch price published. Grok 4.7: cached input $0.50 per 1M tokens; no batch price published. Base prices apply to prompts up to 200,000 input tokens; longer prompts use separate prices.