SpaceXAI: Grok 4.7
Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work,…
x-ai/grok-4.7-20260916
Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and managing long context, and it improves on its predecessor at professional knowledge work such as drafting documents and presentations.
The model was trained with a longer reinforcement learning run weighted toward problems that take many hours to complete, and natively understands the Grok Bot harness for conversational tasks. It ships with a new safeguard stack that pairs strong jailbreak resistance with low refusal rates for legitimate cybersecurity and biology work. SpaceXAI's reported benchmark results use the xhigh reasoning effort.
Specifications & capabilities
- Input
- text, image, file
- Output
- text
- Context window · tokens
- 500000
- Knowledge cutoff
- 2026-05
- Published model ID
- grok-4.7
- Capabilities
- fileInput, multimodal, promptCaching, reasoning, structuredOutputs, toolCalling, visionInput
Description source ↗Evaluations
101–115 / 115
1,422.665
- source id
- lmarena
- leaderboard name
- LMArena Text Hard Prompts English
- dimension
- general
- metric
- Arena rating
- rank
- 143
- sample size
- 5161
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1413.5618054815086
- confidence upper
- 1431.7678860447159
Original result ↗1,424.989
- source id
- lmarena
- leaderboard name
- LMArena Text Coding
- dimension
- general
- metric
- Arena rating
- rank
- 148
- sample size
- 4760
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1415.5863773826925
- confidence upper
- 1434.391652166811
Original result ↗1,414.18
- source id
- lmarena
- leaderboard name
- LMArena Text Hard Prompts
- dimension
- general
- metric
- Arena rating
- rank
- 149
- sample size
- 13292
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1407.8094639862
- confidence upper
- 1420.5499388450528
Original result ↗1,397.843
- source id
- lmarena
- leaderboard name
- LMArena Text Spanish
- dimension
- general
- metric
- Arena rating
- rank
- 150
- sample size
- 785
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1376.134697100621
- confidence upper
- 1419.5516126503621
Original result ↗1,378.594
- source id
- lmarena
- leaderboard name
- LMArena Text German
- dimension
- general
- metric
- Arena rating
- rank
- 152
- sample size
- 332
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1346.0598374316633
- confidence upper
- 1411.1277557420995
Original result ↗1,420.83
- source id
- lmarena
- leaderboard name
- LMArena Text Industry Software And It Services
- dimension
- general
- metric
- Arena rating
- rank
- 156
- sample size
- 7546
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1413.119985261365
- confidence upper
- 1428.53999589311
Original result ↗1,414.217
- source id
- lmarena
- leaderboard name
- LMArena Text Industry Life And Physical And Social Science
- dimension
- general
- metric
- Arena rating
- rank
- 156
- sample size
- 3540
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1403.4739812416656
- confidence upper
- 1424.959134712703
Original result ↗1,385.649
- source id
- lmarena
- leaderboard name
- LMArena Text Non English
- dimension
- general
- metric
- Arena rating
- rank
- 156
- sample size
- 13307
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1379.3088974805091
- confidence upper
- 1391.988540369377
Original result ↗1,410.016
- source id
- lmarena
- leaderboard name
- LMArena Text English
- dimension
- general
- metric
- Arena rating
- rank
- 158
- sample size
- 8247
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1402.5044390736718
- confidence upper
- 1417.5280502010528
Original result ↗1,379.109
- source id
- lmarena
- leaderboard name
- LMArena Text Exclude Ties
- dimension
- general
- metric
- Arena rating
- rank
- 158
- sample size
- 15970
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1372.0780855523615
- confidence upper
- 1386.1399156426269
Original result ↗1,398.47
- source id
- lmarena
- leaderboard name
- LMArena Text Overall
- dimension
- general
- metric
- Arena rating
- rank
- 160
- sample size
- 21586
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1393.1346139595998
- confidence upper
- 1403.804586487242
Original result ↗1,396.088
- source id
- lmarena
- leaderboard name
- LMArena Text Multi Turn
- dimension
- general
- metric
- Arena rating
- rank
- 162
- sample size
- 3263
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1384.8144154642414
- confidence upper
- 1407.3623107365866
Original result ↗1,388.06
- source id
- lmarena
- leaderboard name
- LMArena Text Industry Business And Management And Financial Operations
- dimension
- general
- metric
- Arena rating
- rank
- 163
- sample size
- 3682
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1377.4591927580352
- confidence upper
- 1398.6615510078525
Original result ↗1,391.679
- source id
- lmarena
- leaderboard name
- LMArena Text Industry Medicine And Healthcare
- dimension
- general
- metric
- Arena rating
- rank
- 167
- sample size
- 1502
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1375.4420548694181
- confidence upper
- 1407.9169109321444
Original result ↗35.5
- source id
- artificialAnalysis
- dimension
- intelligence
- metric
- Intelligence Index
Original result ↗Published prices
1–20 / 43
$0.50
- Inference provider
- cloudflareWorkersAI
- Platform
- xAI
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- label
- Cached input <200k (per 1M)
- Billing label
- Cached input <200k (per 1M)
- Pricing via
- Cloudflare AI Gateway
$1.00
- Inference provider
- cloudflareWorkersAI
- Platform
- xAI
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- label
- Cached input >=200k (per 1M)
- Billing label
- Cached input >=200k (per 1M)
- Pricing via
- Cloudflare AI Gateway
$2.00
- Inference provider
- cloudflareWorkersAI
- Platform
- xAI
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing conditions
- label
- Input <200k (per 1M)
- Billing label
- Input <200k (per 1M)
- Pricing via
- Cloudflare AI Gateway
$4.00
- Inference provider
- cloudflareWorkersAI
- Platform
- xAI
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing conditions
- label
- Input >=200k (per 1M)
- Billing label
- Input >=200k (per 1M)
- Pricing via
- Cloudflare AI Gateway
$6.00
- Inference provider
- cloudflareWorkersAI
- Platform
- xAI
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing conditions
- label
- Output <200k (per 1M)
- Billing label
- Output <200k (per 1M)
- Pricing via
- Cloudflare AI Gateway
$12.00
- Inference provider
- cloudflareWorkersAI
- Platform
- xAI
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing conditions
- label
- Output >=200k (per 1M)
- Billing label
- Output >=200k (per 1M)
- Pricing via
- Cloudflare AI Gateway
$0.50
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- cache_read_tokens_per_million
- Currency
- USD
$2.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- input_tokens_per_million
- Currency
- USD
$6.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- output_tokens_per_million
- Currency
- USD
$0.01
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- web_search
- Currency
- USD
$0.40
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- mode
- batch
$1.60
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing conditions
- mode
- batch
$4.80
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing conditions
- mode
- batch
$0.01
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- web_search
- Currency
- USD
- Billing conditions
- mode
- batch
$0.50
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- alias_target
- name
- SpaceXAI: Grok 4.7
- slug
- x-ai/grok-4.7
- routing_alias
- true
$0.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- cache_write_tokens_per_million
- Currency
- USD
- Billing conditions
- alias_target
- name
- SpaceXAI: Grok 4.7
- slug
- x-ai/grok-4.7
- routing_alias
- true
$2.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing conditions
- alias_target
- name
- SpaceXAI: Grok 4.7
- slug
- x-ai/grok-4.7
- routing_alias
- true
$6.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing conditions
- alias_target
- name
- SpaceXAI: Grok 4.7
- slug
- x-ai/grok-4.7
- routing_alias
- true
$0.01
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- web_search
- Currency
- USD
- Billing conditions
- alias_target
- name
- SpaceXAI: Grok 4.7
- slug
- x-ai/grok-4.7
- routing_alias
- true
$1.00
- Inference provider
- xAI
- Platform
- xAI
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- input_tokens_gte
- 200000
- Billing label
- Cached input / 1M tokens
Provider specifications & access
1–5 / 5
- source model id
- grok-4.7
- hosting
- xai-hosted
- context length
- 500000
- capabilities
- toolCalling
- structuredOutputs
- reasoning
- source model id
- Grok 4.7
- hosting
- copilot-subscription
- license
- CC-BY-4.0
- attribution
- GitHub and github/docs contributors
- plans
- max
- true
- pro
- true
- business
- true
- pro_plus
- true
- enterprise
- true
- clients
- vs
- true
- cli
- true
- xcode
- true
- dotcom
- false
- vscode
- true
- eclipse
- true
- jetbrains
- true
- access scope
- Published plan/client flags; account settings, organization policy and additional access conditions apply
- availability
- supported
- release status
- GA
- billing scope
- Copilot subscription usage; not an unconditional inference API rate
- billing rates
- tier
- Default
- unit
- tokens_per_million
- input
- 2
- output
- 6
- currency
- USD
- original
- tier
- Default
- input
- $2.00
- model
- Grok 4.7
- output
- $6.00
- category
- Versatile
- provider
- xai
- threshold
- ≤ 200K
- cached_input
- $0.50
- release_status
- GA
- threshold
- ≤ 200K
- cached_input
- 0.5
- footnote_restrictions
- false
- requires_subscription
- true
- tier
- Long context
- unit
- tokens_per_million
- input
- 4
- output
- 12
- currency
- USD
- original
- tier
- Long context
- input
- $4.00
- model
- Grok 4.7
- output
- $12.00
- category
- Versatile
- provider
- xai
- threshold
- > 200K
- cached_input
- $1.00
- release_status
- GA
- threshold
- > 200K
- cached_input
- 1
- footnote_restrictions
- false
- requires_subscription
- true
- comparison
- name
- Grok 4.7
- excels_at
- Complex problem-solving challenges, sophisticated reasoning
- task_area
- Agentic coding and complex, multistep workflows
- further_reading
- [Grok 4.7 model card](https://media.x.ai/v1/website/4p7card-5eccc980.pdf)
- source model id
- publishers/xai/models/grok-4.7@001
- hosting
- vertex-managed
- capabilities
- multimodal
- reasoning
- structuredOutputs
- toolCalling
- visionInput
- source model id
- xai.grok-4.7
- hosting
- bedrock-managed
- source model id
- xai/grok-4.7
- hosting
- third-party
- context length
- 500000
Safety assessments
1–1 / 1
14 / 100
- source id
- stanfordFMTI
- canonical model id
- x-ai/grok-4.7-20260916
- taxonomy
- transparency
- hazard category
- transparency
- hazard name
- Organization transparency
- policy area
- xAI
- assessment type
- organization-level disclosure
- metric
- disclosure_score
- result label
- 14 / 100
- sample size
- 100
- updated at
- 2026-11-09T18:08:05.227Z
Source specification observations
1–9 / 9
- field
- context_length
- value
- 500000
- normalized value
- 500000
- scope
- source-model
- source id
- cloudflareWorkersAI
- confidence
- 1
- field
- context_length
- value
- 500000
- normalized value
- 500000
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- context_length
- value
- 500000
- normalized value
- 500000
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- context_length
- value
- 500000
- normalized value
- 500000
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- context_length
- value
- 500000
- normalized value
- 500000
- scope
- source-model
- source id
- xAI
- confidence
- 1
- field
- knowledge_cutoff
- reported field
- knowledge_cutoff
- value
- May 2026
- normalized value
- 2026-05
- precision
- month
- scope
- source-model
- source id
- xAI
- confidence
- 1
- field
- max_output_tokens
- value
- 450000
- normalized value
- 450000
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- max_output_tokens
- value
- 450000
- normalized value
- 450000
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- max_output_tokens
- value
- 450000
- normalized value
- 450000
- scope
- source-model
- source id
- openRouter
- confidence
- 1
Explore more models