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
81–100 / 115
1,436.697
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Industry Business And Management And Financial Operations
- dimension
- style
- metric
- Arena rating
- rank
- 113
- sample size
- 3682
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1425.9885519862823
- confidence upper
- 1447.4046429552611
Original result ↗1,434.454
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Multi Turn
- dimension
- style
- metric
- Arena rating
- rank
- 114
- sample size
- 3263
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1423.196382077344
- confidence upper
- 1445.7122307035988
Original result ↗1,478.178
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Coding
- dimension
- factuality
- metric
- Arena rating
- rank
- 115
- sample size
- 4698
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1469.7197545386837
- confidence upper
- 1486.6357022866148
Original result ↗1,426.951
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Exclude Ties
- dimension
- factuality
- metric
- Arena rating
- rank
- 115
- sample size
- 15970
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1421.2227552140082
- confidence upper
- 1432.6798021300453
Original result ↗1,431.456
- source id
- lmarena
- leaderboard name
- LMArena Text Expert
- dimension
- general
- metric
- Arena rating
- rank
- 117
- sample size
- 2047
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1417.6894156421686
- confidence upper
- 1445.2223475690198
Original result ↗1,363.75
- source id
- lmarena
- leaderboard name
- LMArena Text Japanese
- dimension
- general
- metric
- Arena rating
- rank
- 118
- sample size
- 382
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1331.9180652491063
- confidence upper
- 1395.5809813576764
Original result ↗1,428.199
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Multi Turn
- dimension
- factuality
- metric
- Arena rating
- rank
- 119
- sample size
- 2930
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1417.3889814725824
- confidence upper
- 1439.008305908943
Original result ↗1,364.307
- source id
- lmarena
- leaderboard name
- LMArena Text Korean
- dimension
- general
- metric
- Arena rating
- rank
- 119
- sample size
- 309
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1329.3955018911265
- confidence upper
- 1399.2194420380754
Original result ↗1,467.102
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Industry Software And It Services
- dimension
- factuality
- metric
- Arena rating
- rank
- 120
- sample size
- 7539
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1460.1402347747512
- confidence upper
- 1474.0637184157695
Original result ↗1,407.702
- source id
- lmarena
- leaderboard name
- LMArena Text Polish
- dimension
- general
- metric
- Arena rating
- rank
- 120
- sample size
- 310
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1374.3522853694822
- confidence upper
- 1441.051150767682
Original result ↗1,414.483
- source id
- lmarena
- leaderboard name
- LMArena Text Longer Query
- dimension
- general
- metric
- Arena rating
- rank
- 122
- sample size
- 9096
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1407.0451026266492
- confidence upper
- 1421.9218692387421
Original result ↗1,393.687
- source id
- lmarena
- leaderboard name
- LMArena Text Industry Writing And Literature And Language
- dimension
- general
- metric
- Arena rating
- rank
- 125
- sample size
- 6217
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1385.0392566558744
- confidence upper
- 1402.334752463636
Original result ↗1,424.583
- source id
- lmarena
- leaderboard name
- LMArena Text French
- dimension
- general
- metric
- Arena rating
- rank
- 126
- sample size
- 761
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1401.5456130562393
- confidence upper
- 1447.6209614909392
Original result ↗1,383.399
- source id
- lmarena
- leaderboard name
- LMArena Text Creative Writing
- dimension
- general
- metric
- Arena rating
- rank
- 130
- sample size
- 4940
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1373.707673767854
- confidence upper
- 1393.0901352504463
Original result ↗1,401.185
- source id
- lmarena
- leaderboard name
- LMArena Text Instruction Following
- dimension
- general
- metric
- Arena rating
- rank
- 131
- sample size
- 7192
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1393.2399137153009
- confidence upper
- 1409.1294005366346
Original result ↗1,419.147
- source id
- lmarena
- leaderboard name
- LMArena Text Industry Legal And Government
- dimension
- general
- metric
- Arena rating
- rank
- 132
- sample size
- 1699
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1404.0400716163883
- confidence upper
- 1434.2543677429294
Original result ↗1,378.278
- source id
- lmarena
- leaderboard name
- LMArena Text Industry Entertainment And Sports And Media
- dimension
- general
- metric
- Arena rating
- rank
- 133
- sample size
- 5569
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1369.2113772223188
- confidence upper
- 1387.3442731330701
Original result ↗1,414.182
- source id
- lmarena
- leaderboard name
- LMArena Text Math
- dimension
- general
- metric
- Arena rating
- rank
- 138
- sample size
- 1051
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1395.7256330178343
- confidence upper
- 1432.637987056317
Original result ↗1,443.34
- source id
- lmarena
- leaderboard name
- LMArena Text Chinese
- dimension
- general
- metric
- Arena rating
- rank
- 140
- sample size
- 1711
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1428.344061215574
- confidence upper
- 1458.3367163912844
Original result ↗1,398.123
- source id
- lmarena
- leaderboard name
- LMArena Text Russian
- dimension
- general
- metric
- Arena rating
- rank
- 141
- sample size
- 3126
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1386.8623488177143
- confidence upper
- 1409.3830239084666
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