xAISeptember 21, 2026

Grok 4.7

Grok 4.7 is xAI's flagship coding and knowledge-work model, released on September 21, 2026. It runs on a larger base model with a longer RL run, is served as grok-4.7 with a 500K context window, text and image input, function calling and low/medium/high/xhigh reasoning effort, and starts at $2 per million input tokens.

Text + Image inputText outputClosed / API only

At a glance

Context window
500K tokens
Max output
—
Text input / output · per 1M tokens
$2.00 / $6.00
Knowledge cutoff
—

Benchmark snapshot

Best result in 6 of 11 categories

View benchmark details (57)

Benchmark details

57 results · Best published score per benchmark, grouped by category

Benchmark · settingScoreRank
Academic
FrontierMath Tier 4 v2

Extra-High (With Tools) · Mathematics

Source: Epoch AI (epoch.ai)
17.158 / 78
FrontierMath v2

Extra-High (With Tools) · Mathematics

Source: Epoch AI (epoch.ai)
53.059 / 90
MysteryMechanism

Extra-High (With Tools) · Scientific Reasoning

25.221 / 34
ProofBench v1.1 (Lean 4)

Extra-High (With Tools) · Mathematics

26.040 / 54
SciCode

Thinking High (No Tools) · Scientific Computing

Source: Artificial Analysis (artificialanalysis.ai)
57.821 / 98
Terminal-Bench-Science 0.1

Extra-High (With Tools) · Scientific Computing

14.323 / 37
Coding
AA Cyber Index

Extra-High (With Tools) · Repository Engineering

56.44 / 23
APEX-SWE

Extra-High (With Tools) · Repository Engineering

53.411 / 71
Code Migration

Extra-High (With Tools) · Maintenance & Optimization

44.820 / 79
CursorBench 4.0

Extra-High (With Tools) · cursorbench-4-0-cursor-agent · Agentic Development

Shown: Official leaderboard. Also reported: Provider-reported 46.3

46.310 / 20
CursorBench 4.1

Extra-High (With Tools) · cursorbench-4-1-cursor-agent · Agentic Development

CursorBench 4.1 official leaderboard (Cursor)
48.68 / 12
DeepSWE

Thinking High (With Tools) · Repository Engineering

71.023 / 73
FrontierCode 1.1

Thinking High (With Tools) · Main (100 tasks) · limited comparability · Code Generation & Editing

47.611 / 51
FrontierCode 2.0

Extra-High (Tools + Internet) · Repository Engineering

28.914 / 39
FrontierSWE v2

Max (With Tools) · Repository Engineering

29.518 / 36
IOI (Vals v2)

Extra-High (With Tools) · Algorithmic Coding

57.719 / 45
Terminal-Bench 4.0

Extra-High (With Tools) · Agentic Development

Source: Terminal-Bench
37.633 / 91
Terminal-Bench 4.1

Extra-High (With Tools) · Agentic Development

38.820 / 49
Vibe Code Bench v1.1

Extra-High (With Tools) · Code Generation & Editing

86.217 / 121
WeirdML v3

Extra-High (With Tools) · ML Engineering

Håvard Tveit Ihle, WeirdML v3
0.0850–1 scale16 / 26
Computer Use
APEX-Agents

Reported best (effort unspecified) · Tool Orchestration

Source: Epoch AI Benchmarking Hub (CC BY 4.0)
70.011 / 70
Cybersecurity
CWE-bench v1

Thinking High (With Tools) · Defensive Remediation

Source: Collinear AI CWE-bench (cwe-bench.com)
68.02 / 12
General Evaluation
AA Intelligence Index v5.0.1

Extra-High (With Tools) · aa-index-v5-0-2 · Capability Indices

35.424 / 66
Agent Arena

Extra-High (Tools + Internet) · Preference Arenas

2.518 / 35
Agent Arena Index

Extra-High (Tools + Internet) · Preference Arenas

Source: Arena Agent Arena Index
111223 / 36
LiveBench

Extra-High (No Tools) · Cross-capability Suites

Source: LiveBench
77.423 / 106
LiveBench 2.0

Extra-High (With Tools) · livebench-2-20261106 · Cross-capability Suites

Source: LiveBench (livebench.ai)
67.920 / 38
SuperCLUE

Reported best (effort unspecified) · superclue-2026-11-overall · Cross-capability Suites

49.719 / 29
Vals Index

Extra-High (With Tools) · Capability Indices

60.2Unranked
Vals Index v2.1

Extra-High (With Tools) · Capability Indices

Source: Vals AI — Vals Index v2.1. © 2026 Vals AI. All rights reserved. No affiliation or endorsement.
55.014 / 38
Vals Index v2.2

Extra-High (With Tools) · Capability Indices

Source: Vals AI — Vals Index v2.2. © 2026 Vals AI. All rights reserved. No affiliation or endorsement.
56.523 / 42
Language & Creation
Creative Writing

Normal (No Tools) · Writing

20129 / 121
Multimodal
GeoBench ACW

Normal (No Tools) · Visual Understanding

61.027 / 32
MMMU-Pro

Thinking Low (No Tools) · Visual Understanding

Source: Artificial Analysis (artificialanalysis.ai)
78.248 / 137
Professional
AA-AnalystAgent

Thinking High (With Tools + Internet) · Data Analysis

Source: Artificial Analysis (artificialanalysis.ai)
55.06 / 39
AA-Briefcase

Extra-High (With Tools) · Office & Business

1657Elo10 / 29
EMB (Excel Modeling)

Extra-High (With Tools) · Finance

67.022 / 78
Finance Agent v2

Extra-High (With Tools) · Finance

52.334 / 75
GDPval-AA v2

Thinking High (With Tools) · Cross-industry Work

Source: Artificial Analysis (artificialanalysis.ai)
1718Elo11 / 23
GDPx

Extra-High (With Tools) · overall/score · limited comparability · Cross-industry Work

Source: SemiAnalysis GDPx v1.0. Model + native agent harness results.
3.921 / 26
Harvey Lab-AA

Thinking High (With Tools) · Legal

19.637 / 39
Harvey LAB-AA v1.1 (All-pass)

Extra-High (With Tools) · Legal

Source: Artificial Analysis (artificialanalysis.ai)
9.45 / 12
Harvey's Legal Agent Benchmark

Extra-High (With Tools) · Legal

12.510 / 52
Legal Research Bench

Extra-High (With Tools) · Legal

47.118 / 96
Public Benefits Bench v1.1

Extra-High (With Tools) · Service Workflows

65.621 / 50
SAGE

Reported best (effort unspecified) · sage-v1-1 · Service Workflows

Source: Vals AI. © 2026 Vals AI. All rights reserved. No affiliation or endorsement.
88.77 / 30
Tax Agent Bench

Extra-High (With Tools) · Finance

65.611 / 79
Reasoning
ARC-AGI-1

Thinking High (No Tools) · Abstract Generalization

90.238 / 90
ARC-AGI-2

Extra-High (No Tools) · Abstract Generalization

61.435 / 83
ARC-AGI-3

Thinking High (No Tools) · Provider Adapter · limited comparability · Abstract Generalization

10.111 / 17
ARC-AGI-3

Extra-High (No Tools) · Standard · Abstract Generalization

1.814 / 28
Vending-Bench 2

Unspecified Reasoning (With Tools) · Logical Planning

1053712 / 64
Safety & Alignment
SimpleQA Verified

Extra-High (No Tools) · Honesty & Factuality

Source: Epoch AI (epoch.ai)
56.023 / 59
Science & Health
BioMysteryBench

Extra-High (With Tools) · Biology & Genomics

Source: Vals AI — BioMysteryBench. © 2026 Vals AI. All rights reserved. No affiliation or endorsement.
69.319 / 28
HealthBench Professional

Thinking High (With Tools) · length-adjusted · Clinical Workflows

56.717 / 19
MedCode

Extra-High (With Tools) · Clinical Workflows

49.522 / 98
MedScribe

Extra-High (With Tools) · Clinical Workflows

89.48 / 100
47 more results in Coding, Computer Use, Cybersecurity and 7 more

Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.

Back to benchmark snapshot ↑

API price vs benchmark score

Inspect AA Intelligence Index v5.0.1
Index (0-100) (higher is better)This modelPareto frontier63 priced models
0$023.21$6.4846.43$12.9669.64$19.44Blended API price / 1M tokens (4:1 input/output, uncached)Claude Fable 5.2Grok 4.7
Grok 4.7$2.80 / 1M35.4Extra-High (With Tools)
Result source
Methodology & notes (3 unpriced omitted)

Uses listed uncached text API rates at a 4:1 input/output mix against one published protocol and setting (aa-index-v5-0-2). API rates are separate from evaluation token costs and do not measure cost per solved task. Selected point basis: Standard pricing. context_length < 200000 xAI official models & pricing (docs.x.ai/developers/models) verified 2026-11-13; standard; prompts < 200k tokens

API pricing

Listed text rates, USD per million tokens · effective 2026-09-21

Input
$2.00
Output
$6.00
Cached input
$0.50

Blended price4:1 input:output · 90% of input tokens cached · same basis as the price ranking

$1.72/ 1M tokens

Estimate running cost for Grok 4.7

Specifications

Provider
xAI
Model type
Coding model
Released
September 21, 2026
Architecture
Undisclosed
Context window
500K tokens
Input
Text, Image
Output
Text
Weights
Closed / API only
Commercial use
Proprietary

Capabilities

ReasoningCodingFunction callingTool useStructured outputLong context

Model analysis

Grok 4.7 is the flagship model xAI released on September 21, 2026 for coding and knowledge work. xAI says it runs on a larger base model than Grok 4.6, trained with a longer reinforcement-learning run on a harder mix of longer-horizon tasks, with better self-verification and long-context management, and that it natively understands the Grok Bot harness.

Read the full analysis

API specifications and reasoning effort

The developer documentation lists the API model name as grok-4.7 with a 500,000-token context window. It accepts text and image input and returns text, and supports function calling and structured outputs. Reasoning strength is set through reasoning_effort, which offers low, medium, high and xhigh, defaulting to high. xAI has not published a knowledge cutoff date or a maximum output length.

Published benchmark results

xAI reports CursorBench 4.0 46.3% (40.4% for Grok 4.6), DeepSWE v1.1 at high effort 71.0% (65.2%), Terminal-Bench 4.0 38.0%, the electrical-engineering benchmark EEBench 64.0% (53.0%), the Harvey Legal Agent Benchmark 19.6%, HealthBench Professional 56.7%, GDPval 1695 Elo and Artificial Analysis Briefcase v1.1 1657. Parameter count and training-data details were not disclosed.

Safety

xAI describes an entirely new safeguard stack and calls Grok 4.7 the strongest model it has tested on refusals and jailbreak resistance, citing 62.4% on LatchBio's biosafety benchmark and a 3.3% allowance rate for risky prompts on HackerBench v0.3 while keeping refusals of legitimate requests low.

Pricing and availability

API pricing is tiered by prompt length: below 200K prompt tokens it is $2 per million input tokens, $0.50 per million cached input tokens and $6 per million output tokens; at or above 200K prompt tokens every token is billed at double those rates ($4, $1 and $12). The model is available through the Grok API, Grok Build, Cursor, third-party coding harnesses, model routers and cloud platforms. Weights are not open.

Last reviewed 2026-09-21

LLMLearner on Grok 4.7

Our editorial read, one angle at a time, with the evidence behind each one.

Competitive position

Competitive on everyday agentic tasks, far behind on frontier maths

Grok 4.7 lands in the upper-middle tier on broad agentic evaluations. On the Vals Index v2.1 it scores 54.95 at xhigh effort — close to MiMo-V2.6-Pro (55.2) and Gemini 3.8 Flash (54.83), below GPT-6 Sol (57.54) and well below Claude Sonnet 5.5 (67.04). On the Terminal-Bench 4.0 leaderboard it scores 37.6%, behind GLM-5.3 (41.8%) and GPT-6 Astra (58.2%).

The gap widens on hard reasoning. Epoch AI records 17.1% on FrontierMath Tier 4 v2 against 90% for GPT-6 Sol, and ARC Prize measures 61.4% on ARC-AGI-2 at xhigh effort against 78.1% for Sol at the same setting.

Grok 4.7 is a reasonable choice for general assistant and tool-use work, especially inside xAI's ecosystem; for research-grade maths or abstract reasoning, the leading OpenAI and Anthropic models are clearly ahead.

CautionAI-assistedUpdated Oct 10, 2026
4 sources

Grok 4.7 vs competitors

Comparable results only · record is Grok 4.7's wins–losses

Grok 4.7 benchmark scores against competitors
BenchmarkGrok 4.7This modelvs Claude Opus 5Record 6–33vs GPT-5.6 SolRecord 12–26
MMMU-Pro78.284.783.4
Creative Writing201221351974
Vibe Code Bench v1.186.288.480.5
LiveBench77.480.181.0
MedScribe89.491.085.2
MedCode49.563.644.0
SciCode57.856.457.8
Legal Research Bench47.155.348.1
ARC-AGI-190.297.597.5
FrontierMath v253.085.689.1

Lineage

Predecessors and successors · oldest to newest

Includes earlier releases to show up to five versions.

  1. Grok 4.1Nov 17, 2025
  2. 112 days
    Grok 4.20Mar 9, 2026
  3. 121 days
    Grok 4.5Jul 8, 2026
  4. Grok 4.6Aug 12, 202635 days later
  5. Grok 4.7Sep 21, 202640 days latervs Grok 4.6

Generational jump vs Grok 4.6

Showing the 2 largest gains and 2 smallest gains or drops out of 18 like-for-like benchmarks.

Full head-to-head
Grok 4.7Grok 4.6Other ranked models
Agent ArenaTop gain

Extra-High (Tools + Internet) · 34 ranked

-0.3→2.5
-1.915.532.930.5Claude Fable 5…Claude Opus 5.5Gemini 4 CarbonClaude Sonnet…Gemini 4 Hydro…Claude Fable 5…GPT-5.6 Sol2.5Grok 4.7Gemini 3.8 Fla…DeepSeek V4 Pr…-0.3Grok 4.6GPT-5.6 Terra+2.8 · #31→#18
Hover or focus any bar to inspect rank & scoreRank #31 → #18

Extra-High (With Tools) · 36 ranked

7.1%→14.3%
042.58578.6GPT-6.2 AstraClaude Mythos…Claude Fable 5…Gemini 4 NeonGPT-6 AstraGPT-6.2 Sol14.3Grok 4.7Gemini 3.8 Fla…Claude Opus 4.8GPT-5.6 TerraGLM-5.37.1Grok 4.6+7.2% · #27→#22
Hover or focus any bar to inspect rank & scoreRank #27 → #22

Extra-High (With Tools) · 83 ranked

66.0%→53.0%
05010095.1Claude Fable 5…GPT-6.1 SolGPT-6 AstraGPT-6.2 AstraGemini 4 NeonClaude Opus 5.5GPT-5.266.0Grok 4.6Claude Opus 4.6Kimi K2.7 Code53.0Grok 4.7Gemini 3.0 Fla…−13.0% · #40→#57
Hover or focus any bar to inspect rank & scoreRank #40 → #57

Extra-High (With Tools) · 72 ranked

31.7%→17.1%
050100100.0Claude Fable 5…GPT-6.1 SolGPT-6.2 AstraGPT-6 AstraGemini 4 NeonGemini 4 CarbonQwen3.8-Max-09…31.7Grok 4.6Opus 4.7GPT-5-Pro17.1Grok 4.7Gemini 3.0 Fla…−14.6% · #38→#56
Hover or focus any bar to inspect rank & scoreRank #38 → #56
4 of 18 shared benchmarks shown

Price & benchmark trends

Across curated predecessors and successors, ordered by release date. Points use listed rates and published results, not within-model price history. Related branches may appear; undated models appear last.

API price across generations

Text inputText outputUSD / 1M tokens
$0$8.1$16.2Grok 4Grok 4.1Grok 4.20Grok 4.5Grok 4.6Grok 4.7

Uncached text rates on one linear USD axis (lower is cheaper). Retired models may keep their last recorded rate; inspect each model for tier conditions.

Benchmark performance across generations

036.7273.44Grok 4Grok 4.1Grok 4.20Grok 4.5Grok 4.6Grok 4.7

Programmatic pass@1 (%) · Higher is better. Same recorded metric, protocol and setting.

Inspect CWE-bench v1 ↗

Orange marks this model. Hover, tap or focus the chart to inspect exact values. Missing values leave gaps; horizontal spacing shows release order, not elapsed time.

Listed prices and selected benchmark scores across model generations
Model · releasedInput / 1MOutput / 1MPrice effectiveCWE-bench v1
1Grok 4Jul 10, 2025 · Retired$3.00$15.002026-11-14—
2Grok 4.1Nov 17, 2025——Not recorded—
3Grok 4.20Mar 9, 2026$1.25$2.502026-03-09—
4Grok 4.5Jul 8, 2026$2.00$6.002026-07-08—
5Grok 4.6Aug 12, 2026$2.00$6.002026-08-1257.0 ↗
6Grok 4.7Sep 21, 2026 · This model$2.00$6.002026-09-2168.0 ↗

Community discussion

Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.

Sign in with Google to rate this model and leave a comment.

No community comments yet.