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
21–40 / 115
1,457.723
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Industry Mathematical
- dimension
- factuality
- metric
- Arena rating
- rank
- 53
- sample size
- 974
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1440.5581837143282
- confidence upper
- 1474.8871348194602
Original result ↗1,262.871
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control Ocr
- dimension
- multimodal
- metric
- Arena rating
- rank
- 54
- sample size
- 4162
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1252.8455549871908
- confidence upper
- 1272.8956080740556
Original result ↗1,248.918
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control Overall
- dimension
- multimodal
- metric
- Arena rating
- rank
- 55
- sample size
- 6181
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1240.0661823242497
- confidence upper
- 1257.7691869086825
Original result ↗1,249.272
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control English
- dimension
- multimodal
- metric
- Arena rating
- rank
- 57
- sample size
- 2078
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1234.8983380143404
- confidence upper
- 1263.6465557920073
Original result ↗1,228.8
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control Creative Writing Vision
- dimension
- multimodal
- metric
- Arena rating
- rank
- 62
- sample size
- 570
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1202.874338319221
- confidence upper
- 1254.725716355704
Original result ↗1,220.286
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control Humor
- dimension
- multimodal
- metric
- Arena rating
- rank
- 63
- sample size
- 237
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1181.3506142700005
- confidence upper
- 1259.2222252182598
Original result ↗1,469.803
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Industry Mathematical
- dimension
- style
- metric
- Arena rating
- rank
- 64
- sample size
- 1176
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1452.17266011282
- confidence upper
- 1487.4339418410152
Original result ↗1,271.607
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control Chinese
- dimension
- multimodal
- metric
- Arena rating
- rank
- 68
- sample size
- 308
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1236.1821659247548
- confidence upper
- 1307.032353998094
Original result ↗1,257.153
- source id
- lmarena
- leaderboard name
- LMArena Vision Diagram
- dimension
- multimodal
- metric
- Arena rating
- rank
- 69
- sample size
- 1520
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1241.0823356516069
- confidence upper
- 1273.2236078341616
Original result ↗1,442.285
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Math
- dimension
- factuality
- metric
- Arena rating
- rank
- 70
- sample size
- 863
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1422.9251958594582
- confidence upper
- 1461.6456323635703
Original result ↗1,413.118
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Korean
- dimension
- style
- metric
- Arena rating
- rank
- 70
- sample size
- 309
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1378.0280047333772
- confidence upper
- 1448.208905832747
Original result ↗1,428.149
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Spanish
- dimension
- factuality
- metric
- Arena rating
- rank
- 71
- sample size
- 548
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1405.1537092399667
- confidence upper
- 1451.1433379371165
Original result ↗1,459.315
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Industry Legal And Government
- dimension
- factuality
- metric
- Arena rating
- rank
- 72
- sample size
- 1482
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1444.1985891504607
- confidence upper
- 1474.4317966950268
Original result ↗1,474.005
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control French
- dimension
- style
- metric
- Arena rating
- rank
- 73
- sample size
- 761
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1450.6166255302264
- confidence upper
- 1497.3932823526206
Original result ↗1,463.066
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Industry Legal And Government
- dimension
- style
- metric
- Arena rating
- rank
- 74
- sample size
- 1699
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1447.7083958465328
- confidence upper
- 1478.4240265073015
Original result ↗1,242.173
- source id
- lmarena
- leaderboard name
- LMArena Vision Ocr
- dimension
- multimodal
- metric
- Arena rating
- rank
- 77
- sample size
- 4162
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1232.1664330254762
- confidence upper
- 1252.180224544014
Original result ↗1,214.635
- source id
- lmarena
- leaderboard name
- LMArena Vision Creative Writing Vision
- dimension
- multimodal
- metric
- Arena rating
- rank
- 77
- sample size
- 570
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1188.508001131511
- confidence upper
- 1240.7618161728105
Original result ↗1,492.657
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Chinese
- dimension
- style
- metric
- Arena rating
- rank
- 78
- sample size
- 1711
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1477.5923126824382
- confidence upper
- 1507.7219500875535
Original result ↗1,415.635
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Japanese
- dimension
- style
- metric
- Arena rating
- rank
- 78
- sample size
- 382
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1384.0082180831837
- confidence upper
- 1447.2619645411467
Original result ↗1,230.021
- source id
- lmarena
- leaderboard name
- LMArena Vision Overall
- dimension
- multimodal
- metric
- Arena rating
- rank
- 79
- sample size
- 6181
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- Grok 4.7 (xHigh)
- confidence lower
- 1221.1707134356507
- confidence upper
- 1238.871711597109
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