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

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

LMArena

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 ↗

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