Qwen3.8 Max Prime vs Grok 4.7: API pricing
Compare Qwen3.8 Max Prime vs Grok 4.7 API pricing, context windows, and monthly workload costs side by side; via OpenRouter, as of 2026-11-13.
Prices via OpenRouter · as of 13 Nov 2026. USD per million tokens.
| Qwen3.8 Max Prime | Grok 4.7 | |
|---|---|---|
| Lab | Qwen | SpaceXAI |
| Input | $4.00 | $2.00 |
| Output | $12.00 | $6.00 |
| Cached input | $0.50 | $0.50 |
| Context window | 1M tokens | 500K tokens |
| Maximum output | 131K tokens | 450K tokens |
| Input types | text, image, video | text, image, file |
Monthly cost for common workloads
| Workload | Assumptions | Qwen3.8 Max Prime per month | Grok 4.7 per month | Cheaper |
|---|---|---|---|---|
| Chat assistant | 1,000 requests a day, 2,000 input and 500 output tokens each, 30% of input cached | $357.00 | $183.00 | Grok 4.7 |
| Support bot | 2,000 requests a day, 3,000 input and 300 output tokens each, 60% of input cached | $558.00 | $306.00 | Grok 4.7 |
| Document summaries | 200 requests a day, 20,000 input and 800 output tokens each, 0% of input cached | $537.60 | $268.80 | Grok 4.7 |
| Coding agent | 500 requests a day, 60,000 input and 2,000 output tokens each, 85% of input cached | $1,282.50 | $832.50 | Grok 4.7 |
| Bulk classification | 100,000 requests a day, 300 input and 5 output tokens each, 50% of input cached | $2,205.00 | $1,215.00 | Grok 4.7 |
Verdict
Grok 4.7 is 2x cheaper than Qwen3.8 Max Prime for input ($2.00 against $4.00 per million tokens). Grok 4.7 is 2x cheaper than Qwen3.8 Max Prime for output ($6.00 against $12.00 per million tokens). Qwen3.8 Max Prime has the larger context window, 1M tokens against 500K tokens. Grok 4.7 works out cheaper for all 5 workloads below. For a chat assistant the bill is about $357.00 a month with Qwen3.8 Max Prime and $183.00 with Grok 4.7.
Keep exploring
- Qwen3.8 Max Prime pricing
- Grok 4.7 pricing
- All AI model prices
- Open ModelCost: search all 363 models, compare any two and run the cost calculator.
- All OnePassApps apps
Enable JavaScript to use the interactive ModelCost app and calculator.