Roar AI
Get started
Head to head

Grok 4.7 vs Grok 4.6

Grok 4.7 is the upgrade at the same rate: xAI reports better coding across its own tests, including 71.0% on DeepSWE against 65.2%. On Roar AI, Grok 4.7 costs $4 and Grok 4.6 costs $4 per million input tokens.

Pricing and specs

Grok 4.7 and Grok 4.6: pricing and specs
FeatureGrok 4.7Grok 4.6
Made byxAIxAI
ReleasedSeptember 2026August 2026
Input price, per 1M tokens$4$4
Output price, per 1M tokens$12$12
Cached input, per 1M tokens$0.50$0.50
Batch (usually about half price)NoNo
Context window500K tokens500K tokens
Longest answer——
ReadsText, imagesText, images
Thinks before answeringYes, adjustableAlways on
Open weightsNoNo

Prices are Roar AI’s published rates, live from our price list. Specs are each lab’s own published figures.

Verdict

Grok 4.7 or Grok 4.6?

The catch is tokens. Artificial Analysis counted more than twice Grok 4.6’s output per task, so a finished task can cost more on 4.7. Measure both on your own work before you switch.

Choose Grok 4.7 if

  • Coding agents: 71.0% on DeepSWE against 65.2%, by xAI’s count.
  • Longer knowledge-work jobs.
  • Effort levels you set, from low to xhigh.
About Grok 4.7

Choose Grok 4.6 if

  • Fewer tokens per task: less than half of Grok 4.7’s, by Artificial Analysis’s count.
  • Graduate-level science: 94.9% on GPQA Diamond, first of hundreds on independent rankings.
  • A product already tuned and tested on it.
About Grok 4.6

Cost comparison

Take 1,000 requests, each about 3,000 tokens in and 1,000 out: a long prompt and a page of answer.

Grok 4.7$24
Grok 4.6$24

The two cost about the same for this job. Models that think before answering spend extra output tokens doing it, so on hard prompts the gap can be wider than the rates suggest.

Use both with one API key

On Roar AI both are on the same key and the same monthly invoice. Trying the other one is a one-word change:

client.chat.completions.create(model="grok-4.7", …)
client.chat.completions.create(model="grok-4.6", …)

Send the same prompts to both and compare the answers on your own work. Read the docs.

FAQ

Which is cheaper, Grok 4.7 or Grok 4.6?

On Roar AI, Grok 4.7 costs $4 per million input tokens and $12 per million output tokens, and Grok 4.6 costs $4 per million input tokens and $12 per million output tokens. For 1,000 requests of about 3,000 tokens in and 1,000 out, that is $24 and $24.

Which has the larger context window, Grok 4.7 or Grok 4.6?

Both read up to 500K tokens at once.

Can I use Grok 4.7 and Grok 4.6 with one API key?

Yes. On Roar AI both models answer on the same OpenAI-compatible API, with one key and one monthly bill, so switching between them is a change to the model name.

Compare them on your own prompts

Create a free account and call both models with one API key.