Long-context pricing: prompts of 200,000+ tokens are billed at $4.00 input / $12.00 output per 1M tokens for the whole request. The calculator applies this automatically.
Source: xAI official pricing · verified October 2026.
How many tokens you expect the model to generate per response
Showing a typical prompt (500 input + 500 output tokens) across 26 models. Paste your own prompt above for an exact count.
| Model | Per Prompt | Prompts / $1 | Monthly |
|---|---|---|---|
| xAI | $0.00400.4¢ | 250 | $12.00 |
GPT-6 LunaCheapest OpenAI | $0.0003000.03¢ | 3,333 | $0.9000 |
| Mistral | $0.0003750.037¢ | 2,666 | $1.13 |
| OpenAI (via Together) | $0.0003750.037¢ | 2,666 | $1.13 |
| OpenAI | $0.0007000.07¢ | 1,428 | $2.10 |
| DeepSeek | $0.0007500.075¢ | 1,333 | $2.25 |
| Meta (via Together) | $0.0009250.092¢ | 1,081 | $2.77 |
| Mistral | $0.00100.1¢ | 1,000 | $3.00 |
| $0.00140.14¢ | 714 | $4.20 | |
| xAI | $0.00190.19¢ | 533 | $5.63 |
| $0.00220.22¢ | 444 | $6.75 | |
| DeepSeek | $0.00260.26¢ | 378 | $7.92 |
| Meta | $0.00270.27¢ | 363 | $8.25 |
| Anthropic | $0.00300.3¢ | 333 | $9.00 |
| Alibaba (Qwen) | $0.00400.4¢ | 250 | $12.00 |
| Mistral | $0.00450.45¢ | 222 | $13.50 |
| OpenAI | $0.00600.6¢ | 166 | $18.00 |
| OpenAI | $0.00600.6¢ | 166 | $18.00 |
| Anthropic | $0.00600.6¢ | 166 | $18.00 |
| OpenAI | $0.00700.7¢ | 142 | $21.00 |
| $0.00700.7¢ | 142 | $21.00 | |
| Moonshot AI | $0.00900.9¢ | 111 | $27.00 |
| OpenAI | $0.0120 | 83 | $36.00 |
| Anthropic | $0.0120 | 83 | $36.00 |
| OpenAI | $0.0300 | 33 | $90.00 |
| Anthropic | $0.0300 | 33 | $90.00 |
Prices from official provider pricing pages, verified October 2026.
How Much Does Grok 4.7 Cost?
| Prompts | Cost (500 in + 500 out tokens each) |
|---|---|
| 1 prompt | $0.0040 |
| 100 prompts | $0.4000 |
| 1,000 prompts | $4.00 |
| 10,000 prompts | $40.00 |
| 100,000 prompts | $400.00 |
Embed this calculator on your site.
| Input price | $2.00 / 1M |
|---|---|
| Output price | $6.00 / 1M |
| Cached input | $0.50 / 1M |
| Typical prompt | $0.0040 |
| Batch discount | None |
| Context window | 500K tokens |
| Max output | Not published |
| Knowledge cutoff | May 2026 |
| Input types | Text, Images |
| Reasoning mode | Always on |
| Open weights | No |
| Released | September 21, 2026 |
| Status | Current |
Comparisons with Grok 4.7
Grok 4.7 — Frequently Asked Questions
A typical prompt of 500 input tokens with a 500-token answer costs $0.0040 (0.4¢) on Grok 4.7. That means $1 buys about 250 prompts. Longer prompts and answers cost proportionally more.
With 500 input and 500 output tokens per request, Grok 4.7 costs $4.00 per 1,000 requests. Input tokens are $2.00 per million and output tokens $6.00 per million.
Grok 4.7 costs the same per prompt as Qwen3.8 Max. Grok 4.7 costs $2.00/$6.00 per million tokens (input/output) vs Qwen3.8 Max's $2.00/$6.00.
Grok 4.7 accepts text and images, has a knowledge cutoff of May 2026 and always reasons before answering. Its context window is 500K tokens.
Grok 4.7 supports 500K tokens (500,000) — the maximum combined length of your prompt and the model's answer in one request. Prompts of 200,000+ tokens are billed at $4.00/$12.00 per million for the whole request.
At 10,000 requests per day with 500 input + 500 output tokens each, Grok 4.7 costs about $1,200.00/month. Use the calculator above with your real prompt and volume.