Grok 4.7
coding and knowledge work, built for multi-hour tasks.
moat price
Grok 4.7 on MOAT, the Command Code inference API: members pay list today, with no OpenRouter credit fee. Prices are per 1M output tokens.
vs. the lineup
Grok 4.7 beside its stablemates and nearest rivals. The ◆ marks the best value in each column across every row shown.
| Model | Intelligence | Coding | Input $/M | Output $/M | Blended $/M | Context |
|---|---|---|---|---|---|---|
| Muse Spark 1.3 | 48.1◆ | 75.8◆ | $1.25◆ | $4.25◆ | $2◆ | 1.05M◆ |
| GPT-6 Sol | 47.6◆ | —◆ | $2◆ | $10◆ | $4◆ | 1.05M◆ |
| GPT-5.6 Sol | 47◆ | 77.4◆ | $5◆ | $30◆ | $11.25◆ | 1.05M◆ |
| Grok 4.7 ◆ | 46.4◆ | —◆ | $2◆ | $6◆ | $3◆ | 500K◆ |
| Grok 4.6 | 44.3◆ | 76.8◆ | $2◆ | $6◆ | $3◆ | 500K◆ |
| Grok 4.5 | 38.8◆ | 72.4◆ | $2◆ | $6◆ | $3◆ | 500K◆ |
| DeepSeek V4 Pro (latest)pinned | 36◆ | 68.8◆ | $0.66◆ | $1.98◆ | $0.99◆ | 1M◆ |
| DeepSeek V4 Flash (latest)pinned | 34◆ | 69.1◆ | $0.15◆ | $0.60◆ | $0.26◆ | 1M◆ |
coding performance
The Intelligence Index and its sub-scores, ranked against every scored model in the catalog. A metric that has not been measured for Grok 4.7 has been left empty.
price bands
Grok 4.7 is not billed at one flat rate — the price changes with how much context a request carries. The header quotes the standard band; here is every band.
| Band | Context | Input $/M | Output $/M | Cache read $/M |
|---|---|---|---|---|
| Standard | ≤ 200K | $2.00 | $6.00 | $0.50 |
| Long context | > 200K | $4.00 | $12.00 | $1.00 |
usage calculator
How far a month of credits goes on Grok 4.7.
what real work costs
Real coding tasks priced end to end on Grok 4.7, from a quick lookup to a full-repo agent run.
| Task | Tokens in · out | Grok 4.7 | Muse Spark 1.3 | Claude Haiku 4.5 |
|---|---|---|---|---|
| Quick lookup / one-liner | 8K · 1K | $0.01 | $0.0063 | $0.0065 |
| Review a 500-line PR | 60K · 4K | $0.08 | $0.05 | $0.04 |
| Fix a bug (agent loop) | 180K · 12K | $0.23 | $0.13 | $0.12 |
| Refactor a module | 320K · 20K | $0.41 | $0.23 | $0.21 |
| Full-repo agent run | 900K · 45K | $1.02 | $0.54 | $0.49 |
frequently asked
How much does Grok 4.7 cost?
$2/M input and $6/M output, cache reads $0.50/M. In an agent loop most input is cache-read, so the effective input rate is about $0.95/M.Which plan do I need?
How do I switch to it?
cmd --model xai/grok-4.7, or type /model in a session and pick it. You can switch mid-session without losing context.Ship code that matches your taste
Command Code is the AI coding agent that continuously learns your taste. Start for $1.