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

61–80 / 115

LMArena

1,410.135

source id
lmarena
leaderboard name
LMArena Text Factuality Industry Entertainment And Sports And Media
dimension
factuality
metric
Arena rating
rank
93
sample size
5538
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1402.3992753178077
confidence upper
1417.8698222813427
Original result ↗

LMArena

1,441.966

source id
lmarena
leaderboard name
LMArena Text Style Control Overall
dimension
style
metric
Arena rating
rank
94
sample size
21586
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1436.6267125821532
confidence upper
1447.3047549298644
Original result ↗

LMArena

1,441.446

source id
lmarena
leaderboard name
LMArena Text Style Control Exclude Ties
dimension
style
metric
Arena rating
rank
94
sample size
15970
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1434.3279570791406
confidence upper
1448.5642502608139
Original result ↗

LMArena

1,433.375

source id
lmarena
leaderboard name
LMArena Text Style Control Instruction Following
dimension
style
metric
Arena rating
rank
94
sample size
7192
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1425.4350614810683
confidence upper
1441.3155997620943
Original result ↗

LMArena

1,480.395

source id
lmarena
leaderboard name
LMArena Text Style Control Industry Software And It Services
dimension
style
metric
Arena rating
rank
96
sample size
7546
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1472.6411576366079
confidence upper
1488.1489095169184
Original result ↗

LMArena

1,406.862

source id
lmarena
leaderboard name
LMArena Text Factuality Creative Writing
dimension
factuality
metric
Arena rating
rank
100
sample size
4857
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1398.9892083686316
confidence upper
1414.7342860731205
Original result ↗

LMArena

1,431.942

source id
lmarena
leaderboard name
LMArena Text Factuality Instruction Following
dimension
factuality
metric
Arena rating
rank
101
sample size
7170
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1425.0925074310612
confidence upper
1438.791954912534
Original result ↗

LMArena

1,418.887

source id
lmarena
leaderboard name
LMArena Text Factuality Industry Writing And Literature And Language
dimension
factuality
metric
Arena rating
rank
101
sample size
6170
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1411.6401479062547
confidence upper
1426.1335400887865
Original result ↗

LMArena

1,437.201

source id
lmarena
leaderboard name
LMArena Text Industry Mathematical
dimension
general
metric
Arena rating
rank
102
sample size
1176
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1419.5573330409948
confidence upper
1454.8451874287693
Original result ↗

LMArena

1,455.372

source id
lmarena
leaderboard name
LMArena Text Style Control Industry Medicine And Healthcare
dimension
style
metric
Arena rating
rank
103
sample size
1502
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1438.9212113427423
confidence upper
1471.8231659142828
Original result ↗

LMArena

1,421.834

source id
lmarena
leaderboard name
LMArena Text Factuality Non English
dimension
factuality
metric
Arena rating
rank
103
sample size
13307
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1416.244712065495
confidence upper
1427.423432544473
Original result ↗

LMArena

1,436.665

source id
lmarena
leaderboard name
LMArena Text Factuality Overall
dimension
factuality
metric
Arena rating
rank
104
sample size
21586
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1432.1029567491632
confidence upper
1441.2269923873537
Original result ↗

LMArena

1,431.54

source id
lmarena
leaderboard name
LMArena Text Style Control German
dimension
style
metric
Arena rating
rank
104
sample size
332
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1398.851017609706
confidence upper
1464.229766606753
Original result ↗

LMArena

1,459.534

source id
lmarena
leaderboard name
LMArena Text Factuality Hard Prompts
dimension
factuality
metric
Arena rating
rank
105
sample size
13292
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1453.928118686943
confidence upper
1465.1401173772226
Original result ↗

LMArena

1,466.005

source id
lmarena
leaderboard name
LMArena Text Factuality Hard Prompts English
dimension
factuality
metric
Arena rating
rank
106
sample size
5079
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1457.8843195065924
confidence upper
1474.1258662943096
Original result ↗

LMArena

1,446.007

source id
lmarena
leaderboard name
LMArena Text Factuality Longer Query
dimension
factuality
metric
Arena rating
rank
106
sample size
9089
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1439.6383648643937
confidence upper
1452.3753025064357
Original result ↗

LMArena

1,451.098

source id
lmarena
leaderboard name
LMArena Text Factuality Industry Life And Physical And Social Science
dimension
factuality
metric
Arena rating
rank
109
sample size
3248
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1441.1484711119622
confidence upper
1461.0481438958748
Original result ↗

LMArena

1,431.685

source id
lmarena
leaderboard name
LMArena Text Factuality Industry Business And Management And Financial Operations
dimension
factuality
metric
Arena rating
rank
109
sample size
3410
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1421.79097098511
confidence upper
1441.5784123514115
Original result ↗

LMArena

1,448.903

source id
lmarena
leaderboard name
LMArena Text Factuality Industry Medicine And Healthcare
dimension
factuality
metric
Arena rating
rank
110
sample size
1294
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1432.7873645158018
confidence upper
1465.0189804017537
Original result ↗

LMArena

1,444.697

source id
lmarena
leaderboard name
LMArena Text Factuality English
dimension
factuality
metric
Arena rating
rank
113
sample size
8237
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1438.121246393835
confidence upper
1451.273415518987
Original result ↗

Published prices

1–20 / 43

xai/grok-4.7 ↗

$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

xai/grok-4.7 ↗

$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

xai/grok-4.7 ↗

$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

xai/grok-4.7 ↗

$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

xai/grok-4.7 ↗

$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

xai/grok-4.7 ↗

$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

x-ai/grok-4.7 ↗

$0.50

Inference provider
openRouter
Platform
OpenRouter
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions

x-ai/grok-4.7 ↗

$2.00

Inference provider
openRouter
Platform
OpenRouter
Unit
input_tokens_per_million
Currency
USD
Billing conditions

x-ai/grok-4.7 ↗

$6.00

Inference provider
openRouter
Platform
OpenRouter
Unit
output_tokens_per_million
Currency
USD
Billing conditions

x-ai/grok-4.7 ↗

$0.01

Inference provider
openRouter
Platform
OpenRouter
Unit
web_search
Currency
USD
Billing conditions

x-ai/grok-4.7:batch ↗

$0.40

Inference provider
openRouter
Platform
OpenRouter
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
mode
batch

x-ai/grok-4.7:batch ↗

$1.60

Inference provider
openRouter
Platform
OpenRouter
Unit
input_tokens_per_million
Currency
USD
Billing conditions
mode
batch

x-ai/grok-4.7:batch ↗

$4.80

Inference provider
openRouter
Platform
OpenRouter
Unit
output_tokens_per_million
Currency
USD
Billing conditions
mode
batch

x-ai/grok-4.7:batch ↗

$0.01

Inference provider
openRouter
Platform
OpenRouter
Unit
web_search
Currency
USD
Billing conditions
mode
batch

~x-ai/grok-latest ↗

$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

~x-ai/grok-latest ↗

$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

~x-ai/grok-latest ↗

$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

~x-ai/grok-latest ↗

$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

~x-ai/grok-latest ↗

$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

grok-4.7 ↗

$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

Grok 4.7 ↗

source model id
grok-4.7
hosting
xai-hosted
platforms
  • xAI
context length
500000
architecture
input_modalities
  • text
  • image
output_modalities
  • text
capabilities
  • toolCalling
  • structuredOutputs
  • reasoning

xai ↗

source model id
Grok 4.7
hosting
copilot-subscription
platforms
  • GitHub Copilot
architecture
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)

Grok 4.7 ↗

source model id
publishers/xai/models/grok-4.7@001
hosting
vertex-managed
platforms
  • Google Cloud Vertex AI
architecture
input_modalities
  • image
  • text
output_modalities
  • text
capabilities
  • multimodal
  • reasoning
  • structuredOutputs
  • toolCalling
  • visionInput

Grok 4.7 ↗

source model id
xai.grok-4.7
hosting
bedrock-managed
platforms
  • Amazon Bedrock
architecture
input_modalities
  • text
  • image
output_modalities
  • text
capabilities

    Grok 4.7 ↗

    source model id
    xai/grok-4.7
    hosting
    third-party
    platforms
    • xAI
    context length
    500000
    architecture
    input_modalities
    • text
    • image
    output_modalities
    • text
    capabilities
    • reasoning

    Safety assessments

    1–1 / 1

    Foundation Model Transparency Index 2025 ↗

    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

    cloudflareWorkersAI ↗

    field
    context_length
    value
    500000
    normalized value
    500000
    scope
    source-model
    source id
    cloudflareWorkersAI
    confidence
    1

    openRouter ↗

    field
    context_length
    value
    500000
    normalized value
    500000
    scope
    source-model
    source id
    openRouter
    confidence
    1

    openRouter ↗

    field
    context_length
    value
    500000
    normalized value
    500000
    scope
    source-model
    source id
    openRouter
    confidence
    1

    openRouter ↗

    field
    context_length
    value
    500000
    normalized value
    500000
    scope
    source-model
    source id
    openRouter
    confidence
    1

    xAI ↗

    field
    context_length
    value
    500000
    normalized value
    500000
    scope
    source-model
    source id
    xAI
    confidence
    1

    xAI ↗

    field
    knowledge_cutoff
    reported field
    knowledge_cutoff
    value
    May 2026
    normalized value
    2026-05
    precision
    month
    scope
    source-model
    source id
    xAI
    confidence
    1

    openRouter ↗

    field
    max_output_tokens
    value
    450000
    normalized value
    450000
    scope
    source-model
    source id
    openRouter
    confidence
    1

    openRouter ↗

    field
    max_output_tokens
    value
    450000
    normalized value
    450000
    scope
    source-model
    source id
    openRouter
    confidence
    1

    openRouter ↗

    field
    max_output_tokens
    value
    450000
    normalized value
    450000
    scope
    source-model
    source id
    openRouter
    confidence
    1

    Original sources

    1–20 / 20

    xAI · Model reference ↗

    Google Cloud · Model page ↗

    OpenRouter · Model page ↗

    OpenRouter · Model page ↗

    GitHub · Documentation ↗

    Google Cloud · Documentation ↗

    xAI · Model documentation ↗

    GitHub · Source snapshot ↗

    Amazon Web Services · Model page ↗

    Amazon Bedrock · Model documentation ↗

    Amazon Web Services · Catalog ↗

    Cloudflare AI · Catalog ↗

    Epoch AI · Catalog ↗

    GitHub · Catalog ↗

    Google Cloud · Catalog ↗

    LMArena · Catalog ↗

    OpenRouter · Catalog ↗

    OpenRouter · Catalog ↗

    Vercel AI Gateway · Catalog ↗

    xAI · Catalog ↗

    Source links

    1–12 / 12

    Explore more models

    Models

    Loading
    EVIDENCE / COMPARISON

    Benchmarks

    Explore every benchmark

    Loading

    These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

    Install TensorTrace