Grok 4.7 costs about $0.13 per average coding-agent request on our measured traffic, at list prices of $2 per million input and $6 per million output tokens. It scores 37.6% on the tbench.ai Terminal-Bench 4.0 leaderboard, close to GLM 5.3.
Run current Claude, GPT, Gemini and open models in your agent
Or let the router send each step to the cheapest model that can do it, on providers we vet for price, uptime and speed. Plans from $19 a month.
| Cost at list price | Grok 4.7 |
|---|---|
| Prompt under 100K tokens50% of requests, 87% of input cached | $0.044 |
| Prompt of 100K to 272K39% of requests, 88% of input cached | $0.16 |
| Prompt over 272K tokens11% of requests, 86% of input cached | $0.48 |
| Average request | $0.13 |
| 100 requests | $13.16 |
| Median session16 requests; a session ends after 10 idle minutes | $1.21 |
| A month of regular usemedian of 20 users active on 5+ days | $222 |
Each logged request priced at the vendor’s list rates for its own token counts, including cache reads and any higher rate for long prompts. Average output: 698 tokens per request. 1% of requests were larger than Grok 4.7's 500K context window and are left out of its figures.
| Artificial Analysis | Value | Rank |
|---|---|---|
| Intelligence Index10 evaluations, 0 to 100 | 46 | 11 of 48 |
| Terminal-Bench 4.0agentic coding in a terminal | 25.8% | 17 of 39 |
| Output speedmedian | 86 tokens/s | 26 of 44 |
| Time to first answer tokenincludes thinking time | 101 s | 29 of 44 |
Source: Artificial Analysis (artificialanalysis.ai). Measured variant: Grok 4.7 (Xhigh), speed on SpaceXAI. Fetched October 13, 2026. Rank is among the models on this site, older versions included. Artificial Analysis runs Terminal-Bench 4.0 in its own setup, so its scores differ from the tbench.ai leaderboard.
Every token in a prompt of 200K or more costs double, and 19% of our requests reached that line. Cache reads cost $0.50 per million, a quarter of input, where most vendors charge a tenth. Its 500K window leaves out the 1% of requests that are larger.

Grok 4.7 is xAI's flagship, released September 21, 2026 with a 500K-token context. It scores 46 on the Artificial Analysis Intelligence Index, close to GLM 5.3 (45) and GPT-5.6 Sol (47) and below the current Claude and GPT-6 models. On Terminal-Bench 4.0 it scores 37.6% on the tbench.ai leaderboard and 25.8% in Artificial Analysis's run. Its output price ($6 per million) is low for its class, but cache reads cost $0.50 per million and every token in a prompt of 200K or more bills at double rates, so it costs $0.13 per request in our measurements, more than Claude Sonnet 5.5 ($0.053) or GPT-6.1 Sol ($0.067). xAI reports 71.0% on DeepSWE v1.1 and 46.3% on CursorBench 4.0.
Sources: xAI announcement · Artificial Analysis · Terminal-Bench 4.0
Output-heavy agent work with prompts under 200K tokens.
The agent matters as much as the model. Which agent gets the most out of Grok 4.7? →
Current Claude, GPT, Gemini and open models run on Standard Compute