xAI logo

Grok 4.7

Grokv4.7Current
byxAIxAI(ai lab)
Released September 21, 2026
Context500K tokens
Price (In / Out)$2.00/M / $6.00/M
CategoryLarge Language Model

About Grok 4.7

Grok 4.7 is SpaceXAI's proprietary coding and knowledge-work model, available as grok-4.7 on the xAI API. It accepts text and images, returns text, and offers a 500,000-token context window. SpaceXAI's release notes specify no text output limit. Standard global API pricing starts at $2 input and $6 output per million tokens, with separate cached-input and long-context rates.

Capabilities

codingreasoningvisiontool usestructured outputlong contextcontext caching

Input Modalities

textimage

Output Modalities

text

Technical Details

API Identifier
grok-4.7
Category
Large Language Model
Context Window
500,000 tokens

Tags

codingreasoningvisionlong-contextapigrok

Benchmarks

Performance scores for Grok 4.7 across standard benchmarks.

Artificial Analysis Intelligence Index v4.3.2Artificial Analysis
42.2166560223448%

Pricing

Token pricing for Grok 4.7 API usage.

Input Tokens

$2.00/M

per million tokens

Output Tokens

$6.00/M

per million tokens

Pricing Calculator

Input cost$2.00
Output cost$3.00
Estimated monthly cost$5.00

SpaceXAI xAI API global standard tier, USD per million tokens. Below 200,000 prompt tokens: $2 input, $0.50 cached input, $6 output. Above 200,000 prompt tokens: $4 input, $1 cached input, $12 output. Fast serving and regional endpoints have separate conditions. The provider explicitly states there is no text output limit; no numeric maxOutputTokens is asserted.

Competing Models

Same pricing tier — direct alternatives to Grok 4.7

Flagship
32
5.1
$2.50/M / $10.00/MCompare
$0.60/M / $6.00/MCompare
14
2.3
$2.50/M / $10.00/MCompare
81
6.8
$4.00/M / $20.00/MCompare
68
9.7
$2.00/M / $12.00/MCompare
59
9.8
$2.00/M / $10.00/MCompare
49
10.9
$1.50/M / $7.50/MCompare
90
6.0
$5.00/M / $25.00/MCompare
76
8.5
$3.00/M / $15.00/MCompare
$2.00/M / $10.00/MCompare
88
14.6
$2.00/M / $10.00/MCompare
$2.00/M / $10.00/MCompare