xAI's frontier model for long-running agents, coding, knowledge work, and visual projects
Grok 4.7 by xai is offered by 10 providers on this page. Its official list price is $2.00 per 1M input tokens and $6.00 per 1M output tokens. The lowest paid channel is Vercel AI Gateway at $1.20 / $3.60 per 1M, about 1.9× below the list price.
The context window is 500,000 tokens, with an output limit of 500,000 tokens. It supports reasoning, tool use, and structured output. Accepted input modalities are Text, Image, and PDF. Its training knowledge cuts off at 2026-05.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Vercel AI Gateway | Cloud | $1.20 tiered >200K: $2.40 | $3.60 | $0.30 | — | 500,000 | 500,000 | |
| NanoGPT | Gateway | $1.60 | $4.80 | $0.40 | — | 500,000 | 500,000 | |
| Kilo Gateway | Gateway | $1.60 | $4.80 | $0.40 | — | 500,000 | 450,000 | |
| OpenRouter | Gateway | $1.60 tiered >200K: $3.20 | $4.80 | $0.40 | — | 500,000 | 450,000 | |
| DevPass (LLM Gateway) grok-4-7 | Gateway | $2.00 | $6.00 | $0.50 | — | 500,000 | 500,000 | |
| GitHub Copilot | Cloud | $2.00 tiered >200K: $4.00 | $6.00 | $0.50 | — | 500,000 | 128,000 | |
| Merge Gateway | Gateway | $2.00 | $6.00 | $0.50 | — | 500,000 | 500,000 | |
| xAIOfficial | First-party | $2.00 tiered >200K: $4.00 | $6.00 | $0.50 | — | 500,000 | 500,000 | |
| OpenCode Go | Gateway | $2.00 tiered >200K: $4.00 | $6.00 | $0.50 | — | 500,000 | 500,000 | |
| Venice AI grok-4-7 | Gateway | $2.27 tiered >200K: $4.53 | $6.80 | $0.57 | — | 500,000 | 200,000 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Price history accumulates from each data sync; currently only 1 sample(s) (2026-09-22). Each future sync adds a point, and once accumulated a line is drawn here.