Grok 4.7
- Input
- $4.00
- Output
- $2.40400,000 tokens
- Input
- $2.00 / 1M2,000,000 tokens
- Output
- $6.00 / 1M
- Context window
- 500,000Last updated: 2026-10-20
xAI Grok rates per 1M tokens — Grok 4.7 with its long-context band and cached-input rate, plus the retired Grok 4 row — priced against every other model.
Last updated: 2026-10-27
Prices verified 2026-10-27. Source: official provider pricing pages. · Machine-readable: /api/prices.json
Every rate below is the one in force on 2026-10-27 — the same resolution the calculator charges with, so a promotional base rate is never quoted as the long-term price.
| Model | Input /1M | Output /1M | Cached input /1M | Context window | Notes | Status |
|---|---|---|---|---|---|---|
| Grok 4.7 | $2 | $6 | $0.5 | 500K | above 200K tokens: input ×2, output ×2 | Active |
| Grok 4 | $3 | $15 | $0.75 | 256K | no long-context band | Retired |
Prices as of 2026-10-27
Compare prices across OpenAI, Claude, Gemini, DeepSeek, MiniMax, and Grok. Real tokenizer for OpenAI, accurate estimates for the rest.
Compare every LLM price →See what your tokens actually cost after the OpenRouter markup — and when going direct to the provider is cheaper.
Calculate OpenRouter markup →Cost per token and monthly estimates for Claude Opus, Sonnet, and Haiku — with the Anthropic API.
Calculate Claude API cost →V4-Pro and V4.1-Flash per-token rates, off-peak hours, and prompt-cache savings — compared to Claude, GPT, and Gemini.
View DeepSeek API pricing →GPT-6 and GPT-5 per-token rates, Batch API 50% off, and prompt-cache savings — compared to Claude, Gemini, and DeepSeek.
View ChatGPT API pricing →Google Gemini rates per 1M tokens — Gemini 4 Argon, Gemini 3.1 Pro, Gemini 3.8 Flash and the Flash-Lite tier — with the long-context band, the cache rate and the service tiers, priced against every other model.
View Gemini API pricing →MiniMax M3.1 Flash and M3 rates per 1M tokens — a flat rate, the priority lane, the long-context doubling and the cache rate — priced against every other model.
View MiniMax API pricing →Moonshot Kimi rates per 1M tokens — K3.1 Pro, the Highspeed twin and the still-sold K3, with the million-token window and the separately billed cache writes.
View Kimi API pricing →