xAI logo

xAI: Grok 4.7

xAI's frontier model for long-running agents, coding, knowledge work, and visual projects

Source-linked grok Closed weights Released 2026-09-21
API record Report
InputT
OutputT
Input price$2/M
Output price$6/M
Context500K
Max output500K
Providers27
Inference availability

Providers

Provider-specific identifiers, limits, and listed prices per million tokens. Every row links back to the provider's own documentation.

Report a price
Providers offering Grok 4.7
ProviderProvider model IDContextMax outputInputOutputCache readCapabilitiesDocs
Azure grok-4.7 500K 500K — — — ReasoningToolsJSON Docs ↗
Azure Cognitive Services grok-4.7 500K 500K — — — ReasoningToolsJSON Docs ↗
Prime Inference x-ai/grok-4.7 500K 450K $1.6 $4.8 — ReasoningToolsJSON Docs ↗
NanoGPT x-ai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Vercel AI Gateway spacexai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
DevPass (LLM Gateway) grok-4-7 524.288K 500K $2 $6 $0.5 ReasoningTools Docs ↗
GitHub Copilot grok-4.7 500K 128K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Kilo Gateway x-ai/grok-4.7 500K 450K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Merge Gateway xai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
OpenRouter x-ai/grok-4.7 500K 450K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
xAI grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
OpenCode Go grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
CrossModel x-ai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Eden AI xai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Cloudflare AI Gateway xai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Ofox x-ai/grok-4.7 500K 65.536K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
AIHubMix grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
302.AI grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
OpenCode grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Tempr Gateway xai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Requesty grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Vertex xai/grok-4.7 524.288K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
NEAR AI Cloud x-ai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
CommandCode xai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Perplexity Agent xai/grok-4.7 500K 500K $2 $6 $0.5 ReasoningToolsJSON Docs ↗
Venice AI grok-4-7 500K 200K $2.27 $6.8 $0.57 ReasoningToolsJSON Docs ↗
Neon grok-4-7 500K 500K $2.5 $7.5 $0.5 ReasoningToolsJSON Docs ↗

Capability badges appear only where the provider catalog explicitly lists support. A blank cell means the source is silent, not that the feature is absent.

Listed rates

Price across providers

Input price per million tokens as published by each provider. Bars are drawn from listed rates only — no traffic weighting, since the catalog observes no requests.

Lowest input $1.6/M

Across 25 priced providers

Median input $2/M

Midpoint of listed rates

Highest input $2.5/M

1.6× the lowest listed rate

Output range $4.8 – $7.5

Per million output tokens

Prime Inference $1.6/MLowest
NanoGPT $2/M
Vercel AI Gateway $2/M
DevPass (LLM Gateway) $2/M
GitHub Copilot $2/M
Kilo Gateway $2/M
Merge Gateway $2/M
OpenRouter $2/M
xAI $2/M
OpenCode Go $2/M
CrossModel $2/M
Eden AI $2/M
Cloudflare AI Gateway $2/M
Ofox $2/M
AIHubMix $2/M
302.AI $2/M
OpenCode $2/M
Tempr Gateway $2/M
Requesty $2/M
Vertex $2/M
NEAR AI Cloud $2/M
CommandCode $2/M
Perplexity Agent $2/M
Venice AI $2.27/M
Neon $2.5/M
Cost calculator

Estimate a workload

$0.00
Excludes taxes, non-token charges, and tiered discounts.

Context limits also differ by provider, from 500K to 524.288K tokens. Compare the provider table above before choosing on price alone.

Specification

Capabilities

Recorded from the source catalog and provider listings.

✓ Reasoning Yes
✓ Tool calling Yes
✓ Structured output Yes
✓ Attachments Yes
✓ Vision input Yes
× Open weights No
Creator
xAI
Model family
grok
Knowledge cutoff
2026-05
License
Not documented
Release date
2026-09-21
Model ID
xai/grok-4.7
Published evaluations

Benchmarks

Every result stays attached to its source, version, metric and harness. Scores from different versions are never merged, and the profile below plots each benchmark against its own population rather than on a shared scale.

Benchmark registry
Benchmark profile
Terminal-BenchTerminal-Bench 4.0 DeepSWEDeepSWE 1.1 CursorBenchCursorBench 4.0 This model — Terminal-Bench 4.0: 37.6 score (50.0th percentile) This model — DeepSWE 1.1: 71 score (81.2th percentile) This model — CursorBench 4.0: 46.3 score (37.5th percentile)

Each axis is this model's percentile among the 3 benchmarks it has published results for, measured against every other model with a score on that same benchmark. Percentiles are used because benchmarks do not share a scale — a 60 on one is not a 60 on another. Hover any point for the raw score.

Terminal-Bench — 4.0 score · 2026-09-21 Source ↗
Terminal-Bench #5 of 9
DeepSWE — 1.1 score · 2026-09-21 Source ↗
DeepSWE #2 of 8
CursorBench — 4.0 score · 2026-09-21 Source ↗
CursorBench #3 of 4
AA-Briefcase — 1.1 Elo · 2026-09-21 Source ↗
AA-Briefcase #1 of 3
HealthBench score · 2026-09-21 Source ↗
HealthBench #2 of 3
EEBench score · 2026-09-21 Source ↗
64.0 2 models scored — too few for a distribution
GDPval Elo · 2026-09-21 Source ↗
1695.0 2 models scored — too few for a distribution
Harvey Legal Agent Benchmark score · 2026-09-21 Source ↗
19.6 2 models scored — too few for a distribution

Each strip shows every published score for that benchmark, with this model marked. The lighter shape behind the ticks is the density of results, and the dashed line is the median.

Cost against capability

Price and performance

Listed input price plotted against Terminal-Bench 4.0, the benchmark with the widest published coverage that this model appears in.

0 37 75 $0.1 $1 $10 Claude Fable 5.1 — $10/M, score 55.8 Claude Haiku 5.5 — $0.1/M, score 39.2 Claude Opus 5.5 — $4/M, score 66.4 Claude Sonnet 5.5 — $2/M, score 70.6 Grok 4.6 — $2/M, score 20.3 Grok 4.7 — $2/M, score 37.6 MiMo-V2.5-Pro — $0.435/M, score 1.5 MiMo-V2.6-Flash — $0.14/M, score 28.8 MiMo-V2.6-Pro — $0.435/M, score 34.9 Grok 4.7 Input price per million tokens (log scale) Score

The stepped line is the efficient frontier: at each price, the best score available for that money or less. A model sitting on it is not being beaten by anything cheaper. Price is log-scaled because listed rates span four orders of magnitude. Only models with both a listed price and a score on this benchmark can appear.

Catalog activity

Change log

Field-level changes detected between successful source imports.

Full change log
No changes recorded

This record has not changed within the retained import history.

Provenance

Sources & verification

Every figure on this page traces back to one of these records.

Methodology
Public API

Use this record

Fetch the complete source-linked model record. No key, no account, no rate-limited tier.

API documentation
Endpoint
GET https://modelbench.lol/api/v1/models/xai/grok-4.7
curl
curl "https://modelbench.lol/api/v1/models/xai/grok-4.7"
Common questions

Frequently asked questions

Answered directly from the stored record — nothing here is generated beyond the catalog's own fields.

What is Grok 4.7?

xAI's frontier model for long-running agents, coding, knowledge work, and visual projects. It is published by xAI and catalogued here from Models.dev.

How much does Grok 4.7 cost?

Listed input pricing starts at $1.6 per million tokens from Prime Inference, rising to $2.5 across 25 listed providers.

What is the context length of Grok 4.7?

Grok 4.7 accepts up to 500K tokens of context and returns up to 500K output tokens.

Does Grok 4.7 support tool calling and structured output?

Provider catalogs list support for tool calling, structured output, reasoning, and image input.

Which providers serve Grok 4.7?

27 providers list this model: Azure, Azure Cognitive Services, Prime Inference, NanoGPT, Vercel AI Gateway, DevPass (LLM Gateway) and 21 more.

Are the weights for Grok 4.7 open?

No. This model is served through hosted APIs only.

When was Grok 4.7 released?

The catalog records a release date of 2026-09-21, last verified Oct 24, 2026.

More models from xAI

View all →