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

41–60 / 115

LMArena

1,479.211

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

LMArena

1,250.866

source id
lmarena
leaderboard name
LMArena Vision Chinese
dimension
multimodal
metric
Arena rating
rank
80
sample size
308
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1215.4918536549285
confidence upper
1286.2397117326027
Original result ↗

LMArena

1,232.829

source id
lmarena
leaderboard name
LMArena Vision English
dimension
multimodal
metric
Arena rating
rank
80
sample size
2078
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1218.487420718388
confidence upper
1247.1708011662029
Original result ↗

LMArena

1,203.222

source id
lmarena
leaderboard name
LMArena Vision Humor
dimension
multimodal
metric
Arena rating
rank
80
sample size
237
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1163.8872364376982
confidence upper
1242.556930134456
Original result ↗

LMArena

1,419.05

source id
lmarena
leaderboard name
LMArena Text Style Control Industry Entertainment And Sports And Media
dimension
style
metric
Arena rating
rank
83
sample size
5569
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1409.9310738289937
confidence upper
1428.1683619280475
Original result ↗

LMArena

1,467.418

source id
lmarena
leaderboard name
LMArena Text Style Control Industry Life And Physical And Social Science
dimension
style
metric
Arena rating
rank
85
sample size
3540
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1456.5812191909188
confidence upper
1478.2555917298912
Original result ↗

LMArena

1,444.814

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

LMArena

1,427.317

source id
lmarena
leaderboard name
LMArena Text Style Control Industry Writing And Literature And Language
dimension
style
metric
Arena rating
rank
85
sample size
6217
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1418.6525491574635
confidence upper
1435.9806273027186
Original result ↗

LMArena

1,473.473

source id
lmarena
leaderboard name
LMArena Text Factuality Chinese
dimension
factuality
metric
Arena rating
rank
86
sample size
1460
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1458.394360939272
confidence upper
1488.5512433341355
Original result ↗

LMArena

1,453.142

source id
lmarena
leaderboard name
LMArena Text Style Control Longer Query
dimension
style
metric
Arena rating
rank
86
sample size
9096
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1445.6883895455492
confidence upper
1460.5957721423342
Original result ↗

LMArena

1,420.75

source id
lmarena
leaderboard name
LMArena Text Style Control Creative Writing
dimension
style
metric
Arena rating
rank
86
sample size
4940
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1411.0043343950422
confidence upper
1430.4946882543175
Original result ↗

LMArena

1,464.407

source id
lmarena
leaderboard name
LMArena Text Style Control Hard Prompts
dimension
style
metric
Arena rating
rank
88
sample size
13292
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1458.0204464750977
confidence upper
1470.7933659986052
Original result ↗

LMArena

1,471.028

source id
lmarena
leaderboard name
LMArena Text Style Control Hard Prompts English
dimension
style
metric
Arena rating
rank
89
sample size
5161
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1461.9148628148998
confidence upper
1480.141742573384
Original result ↗

LMArena

1,452.314

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

LMArena

1,440.92

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

LMArena

1,439.84

source id
lmarena
leaderboard name
LMArena Text Factuality Russian
dimension
factuality
metric
Arena rating
rank
91
sample size
2846
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1429.4817481958053
confidence upper
1450.1985396159125
Original result ↗

LMArena

1,492.496

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

LMArena

1,429.782

source id
lmarena
leaderboard name
LMArena Text Style Control Non English
dimension
style
metric
Arena rating
rank
92
sample size
13307
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1423.4291771525482
confidence upper
1436.1358125499798
Original result ↗

LMArena

1,459.844

source id
lmarena
leaderboard name
LMArena Text Factuality Expert
dimension
factuality
metric
Arena rating
rank
93
sample size
1793
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1445.99223218679
confidence upper
1473.6954216467805
Original result ↗

LMArena

1,439.73

source id
lmarena
leaderboard name
LMArena Text Style Control Russian
dimension
style
metric
Arena rating
rank
93
sample size
3126
evaluated at
2026-11-09T00:00:00.000Z
source model id
Grok 4.7 (xHigh)
confidence lower
1428.4120633521695
confidence upper
1451.0474786875373
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