x-ai logo

xAI

Grok 4.7

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6.

At a glance

Input / 1M
$2
Output / 1M
$6
Context
500K
Max output
450K
Intelligence
46.4
Released
Sep 2026
Text inputImage inputFile inputReasoningTool calling

Pricing

Grok 4.7 API pricing

Per-token rates, plus what common tasks actually cost.

Input tokensPer 1M tokens$2
Output tokensPer 1M tokens$6
Cached input (read)Per 1M tokens$0.50
Cache writePer 1M tokensNot available
Long-context pricingPrompts above 200K tokens$4 in / $12 out
Web searchPer request$0.005

Chat message

2K in, 500 out

$7

per 1,000 requests

Coding task

30K in, 4K out

$84

per 1,000 requests

Long document summary

150K in, 2K out

$312

per 1,000 requests

Benchmarks

Grok 4.7 benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

46.4

Coding index

Not available

Agentic index

Not available

Specs

Context window and capabilities

What it can read, what it can write, and which API features it supports.

Context window
500K tokens
Max output
450K tokens
Input types
File, Image, Text
Output types
Text
Reasoning effort
Extra high, High, Medium, Low
Release date
September 21, 2026
  • Tool calling
  • Structured outputs
  • JSON mode
  • Reasoning
  • Temperature
  • Stop sequences
  • Deterministic seed
  • Verbosity control

FAQ

Frequently asked questions

How much does Grok 4.7 cost?

Grok 4.7 costs $2 per 1M input tokens and $6 per 1M output tokens through the API. A typical chat message costs about $7 per 1,000 messages.

What is the context window of Grok 4.7?

Grok 4.7 accepts up to 500K tokens of input and can write up to 450K tokens in a single response.

What is the best alternative to Grok 4.7?

GPT-6.1 Sol from OpenAI is a strong alternative. It offers: higher intelligence score, larger 1.05m context, newer release.

Can I use Grok 4.7 alongside other models?

Yes. Shortcut Chat sends one prompt to Grok 4.7 and any other models you pick at the same time, so you can compare answers side by side.

x-ai logo

Try Grok 4.7 next to every other model.

Use Grok 4.7 alongside all the other models. Use one at a time, or multiple together. Get the best answer from every AI.