Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Model comparison - Same provider, successor

Grok 4.6 vs Grok 4.7

Grok 4.6 and Grok 4.7 are both xAI models. Both list the same first-party API price: $2 per 1M input tokens and $6 per 1M output tokens. Grok 4.6 and Grok 4.7 both have a 500,000-token context window. Grok 4.6 was released on August 12, 2026 and Grok 4.7 on September 21, 2026. Both are closed-weights models, available only through an API.

Last verified from each provider's pricing page. All sources

xAI - Closed

Grok 4.6
Input / 1M
$2
Output / 1M
$6
Context
500K

xAI - Closed

Grok 4.7
Input / 1M
$2
Output / 1M
$6
Context
500K

Side-by-side specs

SpecGrok 4.6Grok 4.7
ProviderxAIxAI
Input / 1M tokens$2$2
Output / 1M tokens$6$6
Cache read / 1M$0.50$0.50
Long-context rates above200,000 tokens200,000 tokens
Context window500,000500,000
Release date
WeightsClosedClosed
API model idgrok-4.6grok-4.7
AI Gateway idspacexai/grok-4.6spacexai/grok-4.7
Last verified

Prices in USD per 1M tokens at each provider's standard first-party rate. A dash means the provider does not bill that item separately or no primary page states it.

What each costs in practice

The same three workloads every model page uses, worked from each model's standard list rates. Swap in your own token counts with the math on each model's page.

WorkloadGrok 4.6Grok 4.7
One agent session1M input tokens and 100K output tokens, no caching.$2.60$2.60
A chat app10,000 requests a day at 2K input and 500 output tokens each.$70.00$2,100.00 per 30-day month$70.00$2,100.00 per 30-day month
The same session at a 90% cache hit90% of the input is read from the prompt cache. The one-time cache write premium is not included.$1.25$1.25
Show the math

Grok 4.6

  • One agent sessionInput: 1M x $2 = $2.00Output: 0.1M x $6 = $0.60
  • A chat appInput: 20M x $2 = $40.00Output: 5M x $6 = $30.00
  • The same session at a 90% cache hitCached input: 0.9M x $0.50 = $0.45Uncached input: 0.1M x $2 = $0.20Output: 0.1M x $6 = $0.60

Grok 4.7

  • One agent sessionInput: 1M x $2 = $2.00Output: 0.1M x $6 = $0.60
  • A chat appInput: 20M x $2 = $40.00Output: 5M x $6 = $30.00
  • The same session at a 90% cache hitCached input: 0.9M x $0.50 = $0.45Uncached input: 0.1M x $2 = $0.20Output: 0.1M x $6 = $0.60

Benchmarks under the same setting

Only boards that list both models under the same run setting appear here, one row per board and setting, with each score exactly as the board shows it. Scores on different boards use different scales and are never combined.

Board and settingGrok 4.6Grok 4.7
LMArena WebDev (Code Arena WebDev Overall)Code Arena WebDev Overall, default leaderboard view (891,922 votes, 145 models)Official leaderboard - arena.ai1617+7/-71639+10/-10

Set them up in your tools

Step-by-step guides whose official docs list Grok 4.6 or Grok 4.7 by model id.

Model pages

FAQ

How do Grok 4.6 and Grok 4.7 compare on price?

Both list the same first-party API price: $2 per 1M input tokens and $6 per 1M output tokens. For one agent session of 1M input and 100K output tokens with no caching, that is $2.60 on Grok 4.6 and $2.60 on Grok 4.7. Prices are each provider's first-party list rates, verified October 17, 2026 and October 17, 2026.

What are the context windows of Grok 4.6 and Grok 4.7?

Grok 4.6 and Grok 4.7 both have a 500,000-token context window.

Are Grok 4.6 and Grok 4.7 open weights?

Grok 4.6 is closed-weights and is called through xAI's API as grok-4.6. Grok 4.7 is closed-weights and is called through xAI's API as grok-4.7.

More comparisons

Sources

Grok 4.6 verified from docs.x.ai; Grok 4.7 verified from docs.x.ai. This page is as current as the older of the two: .

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.