xAI
Grok 4.7
xAI Grok 4.7: frontier reasoning model with 1.0M context and configurable thinking effort.
Intelligence
68.5 #187
Top 24% tier
Output Speed
95 t/s
TTFT 310 ms · ITL 10.5 ms/tok
Blended price (3:1)
$6 /1M
In $3/M · Out $15/M
Context
1.0M
≈ 2,500 A4 pages · max out 32,768
Quality Domain Radar
6-Axis Frontier Evaluation vs Category Average & Flagship
Grok 4.7
Claude Mythos Preview (#1)
Average (68)
Radar axes are approximated from category scores where direct benchmark measurements are missing — see Methodology.
Strengths & Trade-offs
Where it wins
- 1.0M context — swallows whole repos, codebases or corpora in one pass
- Sub-400ms time-to-first-token
- Cheap prompt-cache reads at $0.3/1M
- Reasoning mode with adjustable effort levels
Trade-offs to watch
- Architecture and weights undisclosed — API access only
Killer Use Cases
Math & proof work
Step-verified reasoning for olympiad math, theorem proving and formal verification.
Deep research
Synthesis across broad knowledge domains with citation-grade recall.
Whole-repo analysis
Single-pass ingestion of large codebases, contracts or research corpora.
Developer Quickstart & API
Set
XAI_API_KEY first — get an API keycurl https://api.x.ai/v1/chat/completions \
-H "Authorization: Bearer $XAI_API_KEY" \
-H "content-type: application/json" \
-d '{
"model": "grok-4-7",
"messages": [{"role": "user", "content": "Refactor this function for O(n) time and explain the change."}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.x.ai/v1",
api_key=os.environ["XAI_API_KEY"],
)
resp = client.chat.completions.create(
model="grok-4-7",
messages=[{"role": "user", "content": "Refactor this function for O(n) time and explain the change."}],
)
print(resp.choices[0].message.content)const res = await fetch("https://api.x.ai/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.XAI_API_KEY}`,
"content-type": "application/json",
},
body: JSON.stringify({
model: "grok-4-7",
messages: [{ role: "user", content: "Refactor this function for O(n) time and explain the change." }],
}),
});
console.log((await res.json()).choices[0].message.content);Official Resources & Links
API deployment
Compare hosts & latency
Throughput, TTFT and cache pricing across Groq, Cerebras, Together, DeepInfra, Fireworks, Bedrock and Azure.
GroqCerebrasTogether AIDeepInfraFireworks AIAWS BedrockAzure AI
Scores by Source
Category Scores
Benchmark Results
Live Specs & Architecture
Under the hood
- Switchable reasoning effort — trading latency and tokens for accuracy on hard problems.
- Prompt caching supported — cached input reads at $0.3/1M tokens.
Release date
Sep 12, 2026
Parameters
Not disclosed
License
Proprietary
Context Window
1,000,000 tokens
Max Output
32,768 tokens
Modalities
text + image
Cache Pricing
read $0.3 · write $3.75 /1M
Reasoning
Effort levels
Input Price
$3/M
Output Price
$15/M
Output Speed
95 t/s
Time to First Token
310 ms
Data Updated
Sep 26, 2026
Estimated monthly bill
Estimated monthly spend
$0.00
Calculating savings vs GPT-4o...
Cite & embed
GitHub Markdown badge
Loading badge markdown...BibTeX
@misc{llmpodium2026grok47,
title = {Benchmark Analysis and Intelligence Evaluation of Grok 4.7},
author = {LLMPodium Research},
year = {2026},
url = {https://llmpodium.com/models/grok-4-7}
}Embed Score Badge
Add a live Podium Score badge to your GitHub or Hugging Face README — it links back to the live ranking.
Preview
Markdown
Loading badge snippet...HTML
Loading badge snippet...More from xAI
Alternative Models
Closest alternatives to Grok 4.7 based on capabilities, pricing, and benchmark scores.