Grok 4.7 vs Qwen3.8 Max pricing
- For the Chatbot workload, Grok 4.7 and Qwen3.8 Max cost about the same.
- For the RAG workload, Grok 4.7 and Qwen3.8 Max cost about the same.
- For the Coding agent workload, Qwen3.8 Max costs 1.2× less than Grok 4.7.
Prices
| USD per 1M tokens | Grok 4.7 | Qwen3.8 Max |
|---|---|---|
| Input | $2.00 | $2.00 |
| Output | $6.00 | $6.00 |
| Cache read | $0.50 | $0.25 |
| Cache write | Not published | $2.50 |
| Batch input | Not published | Not published |
| Batch output | Not published | Not published |
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
Qwen3.8 Max: Alibaba'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 | Grok 4.7 | Qwen3.8 Max |
|---|---|---|
| Chatbot1,000 in / 500 out tokens, 10,000 requests a day | $1,500/mo | $1,500/mo |
| RAG8,000 in / 500 out tokens, 5,000 requests a day | $2,850/mo | $2,850/mo |
| Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input | $1,560/mo | $1,260/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
| Grok 4.7 | Qwen3.8 Max | |
|---|---|---|
| Context | 500,000 tokens | 1,000,000 tokens |
| Max output | 500,000 tokens | 131,072 tokens |
| Input | text, image, pdf | text, image, video, pdf |
| Tool calling | Yes | Yes |
| Reasoning | Yes | Yes |
| Structured outputs | Yes | Yes |
Questions
- What is the price difference between Grok 4.7 and Qwen3.8 Max?
- 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. Qwen3.8 Max: $2.00 per 1M input tokens and $6.00 per 1M output tokens. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $1,500 per month for Grok 4.7 and $1,500 for Qwen3.8 Max.
- Which has the longer context window, Grok 4.7 or Qwen3.8 Max?
- Qwen3.8 Max has the longer context window: up to 1,000,000 tokens, compared with 500,000 for Grok 4.7.
- Do Grok 4.7 and Qwen3.8 Max have prompt caching and batch prices?
- 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. Qwen3.8 Max: cached input $0.25 per 1M tokens; no batch price published.