What grok-4.7 costs for real workloads
| Workload | Estimated cost |
|---|---|
| Support chatbot: 100K messages | $340.00 |
| RAG search: 10K queries with 6K-token context | $150.00 |
| Batch summarization: 1,000 long documents | $46.00 |
| Coding agent: 100 tasks, 50K context x 20 turns | $69.50 |
Chatbot: 800 input + 300 output tokens per message. RAG: 6,000 + 500 per query. Summarization: 20,000 + 1,000 per document. Coding agent: 20 turns per task over a 50K-token context, with 95% of input served from cache where the model supports it.
grok-4.7 vs similarly priced models
| Model | Provider | Input / 1M | Output / 1M | Cached / 1M | Blended |
|---|---|---|---|---|---|
| Z.ai GLM 5.3 | Mistral AI | $1.40 | $4.40 | $0.14 | $2.15 |
| GLM-5.3 | Together AI | $1.40 | $4.40 | $0.26 | $2.15 |
| GLM-5.2 | Together AI | $1.40 | $4.40 | $0.26 | $2.15 |
| grok-4.6 | xAI | $2.00 | $6.00 | $0.50 | $3.00 |
| grok-4.5 | xAI | $2.00 | $6.00 | $0.30 | $3.00 |
| Mistral Medium 3.5 | Mistral AI | $1.50 | $7.50 | $0.15 | $3.00 |
| grok-4.7 | xAI | $2.00 | $6.00 | $0.50 | $3.00 |
| Gemini 2.5 Pro | $1.25 | $10.00 | $0.12 | $3.44 | |
| Qwen3.7-Max | Together AI | $2.50 | $7.50 | $0.50 | $3.75 |
Other xAI models
grok-4.7 pricing FAQ
How much does the grok-4.7 API cost?
grok-4.7 costs $2.00 per million input tokens and $6.00 per million output tokens on xAI, with cached input at $0.50 per million. Prices as of November 8, 2026.
How much does grok-4.7 cost for 1,000 requests?
At 1,000 input and 500 output tokens per request, 1,000 requests cost about $5.00.
Does grok-4.7 have a prompt caching discount?
Yes. Cached input is $0.50 per million tokens, 4x cheaper than fresh input. Workloads that resend the same context, like agents and chat with long system prompts, pay mostly the cached rate.
Is grok-4.7 expensive compared to other LLM APIs?
It ranks #55 cheapest of 76 models we track on a blended price (3 input tokens per output token) of $3.00 per million tokens.
Picking a model for production?
Describe your workload and the Planner estimates monthly token spend across every model we track.