Skip to content
Alpha
  • Models
  • Rankings
  • Ori
Talk to sales

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Customers
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for x-ai

SpaceXAI: Grok 4.7

x-ai/grok-4.7

Compare

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.

Modalities
In / out price
$2 / $6per 1M
Context
500K
Released
Sep 21, 2026
Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQExplore

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), or Floor (cheapest).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Benchmark score summary for SpaceXAI: Grok 4.7 (Artificial Analysis, Design Arena and Vals AI)
SourceBenchmarkScore
Artificial AnalysisGrok 4.7 (Xhigh) Intelligence Index35.5
Artificial AnalysisGrok 4.7 (Xhigh) HLE43.1%
Artificial AnalysisGrok 4.7 (Xhigh) AA-LCR76.7%
Artificial AnalysisGrok 4.7 (Xhigh) GDPval-AA60.9%
Artificial AnalysisGrok 4.7 (Xhigh) CritPt17.7%
Artificial AnalysisGrok 4.7 (Xhigh) SciCode57.4%
Artificial AnalysisGrok 4.7 (Xhigh) Terminal-Bench 4.025.8%
Artificial AnalysisGrok 4.7 (Xhigh) AA-Omniscience Accuracy42.7%
Artificial AnalysisGrok 4.7 (Xhigh) AA-Omniscience Non-Hallucination Rate80.0%
Artificial AnalysisGrok 4.7 (High) Intelligence Index35.2
Artificial AnalysisGrok 4.7 (High) HLE42.3%
Artificial AnalysisGrok 4.7 (High) AA-LCR77.0%
Artificial AnalysisGrok 4.7 (High) GDPval-AA60.8%
Artificial AnalysisGrok 4.7 (High) CritPt18.0%
Artificial AnalysisGrok 4.7 (High) SciCode57.8%
Artificial AnalysisGrok 4.7 (High) Terminal-Bench 4.024.7%
Artificial AnalysisGrok 4.7 (High) AA-Omniscience Accuracy41.8%
Artificial AnalysisGrok 4.7 (High) AA-Omniscience Non-Hallucination Rate79.8%
Artificial AnalysisGrok 4.7 (Low) Intelligence Index31.1
Artificial AnalysisGrok 4.7 (Low) HLE39.2%
Artificial AnalysisGrok 4.7 (Low) AA-LCR80.0%
Artificial AnalysisGrok 4.7 (Low) GDPval-AA54.6%
Artificial AnalysisGrok 4.7 (Low) CritPt13.4%
Artificial AnalysisGrok 4.7 (Low) SciCode54.9%
Artificial AnalysisGrok 4.7 (Low) Terminal-Bench 4.016.2%
Artificial AnalysisGrok 4.7 (Low) AA-Omniscience Accuracy45.7%
Artificial AnalysisGrok 4.7 (Low) AA-Omniscience Non-Hallucination Rate66.2%
Design ArenaGrok 4.7 Agents Arena Blender3d Elo1163
Design ArenaGrok 4.7 Agents Arena Mobile Apps Elo1267
Design ArenaGrok 4.7 Agents Arena Pdf Elo1189
Design ArenaGrok 4.7 Models Arena 3D Elo1263
Design ArenaGrok 4.7 Models Arena Code Categories Elo1271
Design ArenaGrok 4.7 Models Arena Data Visualization Elo1242
Design ArenaGrok 4.7 Models Arena Game Development Elo1316
Design ArenaGrok 4.7 Models Arena UI Component Elo1268
Design ArenaGrok 4.7 Models Arena Website Elo1248
Vals AIGrok 4.7 BioMysteryBench69.3%
Vals AIGrok 4.7 Code Migration v1.153.2%
Vals AIGrok 4.7 CyberBench v1.169.5%
Vals AIGrok 4.7 CyberOffense54.4%
Vals AIGrok 4.7 EMB v1.171.5%
Vals AIGrok 4.7 Finance Agent v2.160.6%
Vals AIGrok 4.7 Vals Finance Index58.5%
Vals AIGrok 4.7 HLAB-Vals-1.118.3%
Vals AIGrok 4.7 Immigration68.0%
Vals AIGrok 4.7 IOI57.7%
Vals AIGrok 4.7 LegalBench84.4%
Vals AIGrok 4.7 Vals Legal Index72.6%
Vals AIGrok 4.7 Legal Research Bench47.1%
Vals AIGrok 4.7 MedCode49.6%
Vals AIGrok 4.7 MedScribe89.4%
Vals AIGrok 4.7 MysteryMechanism25.2%
Vals AIGrok 4.7 ProgramBench0.5%
Vals AIGrok 4.7 ProofBench v1.126.0%
Vals AIGrok 4.7 Public Benefits Bench v1.165.6%
Vals AIGrok 4.7 Robo-bench0.2%
Vals AIGrok 4.7 Vals RSI Index20.2%
Vals AIGrok 4.7 SAGE88.7%
Vals AIGrok 4.7 Vals Science Index34.8%
Vals AIGrok 4.7 SRE Bench3.8%
Vals AIGrok 4.7 SWE-bench Multimodal42.9%
Vals AIGrok 4.7 Tax Agent Bench34.2%
Vals AIGrok 4.7 Terminal-Bench 4.028.8%
Vals AIGrok 4.7 Terminal-Bench-Science10.0%
Vals AIGrok 4.7 Vals Index58.6%
Vals AIGrok 4.7 Vibe Code Bench v1.186.2%

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

API

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

xAI: Grok versions

Not currently available through EU in-region routing. In-region routing docs

Explore more models

AI Models with Vision: Multimodal LLMs for Image UnderstandingCollectionAI Model RankingsRanking
Latency / throughput
$2.00$6.00$0.5030.99s42 tok/s
60.42%
$2.00$6.00$0.501.95s76 tok/s
99.70%
$2.00$6.00$0.501.73s68 tok/s
99.55%
Not used in Standard routing:Why these endpoints are not used
$2.20$6.60$0.551.61s83 tok/s
100.00%
Priority
$4.00$12.00$1.003.27s61 tok/s
100.00%
Priority
$4.00$12.00$1.00----
0.00%
ProviderInput / Output /M
ThroughputUptime
  • Favicon for Amazon Bedrock
    Input $2.00 / Output $6.00
    Throughput 42 tok/sUptime 60.42%
  • Favicon for xAI
    Input $2.00 / Output $6.00
    Throughput 76 tok/sUptime 99.70%
  • Favicon for xAI
    Input $2.00 / Output $6.00
    Throughput 68 tok/sUptime 99.55%
  • Not used in Standard routing:Why these endpoints are not used
  • Favicon for xAI
    Input $2.20 / Output $6.60
    Throughput 83 tok/sUptime 100.00%
  • Favicon for xAI
    Input $4.00 / Output $12.00
    Priority
    Throughput 61 tok/sUptime 100.00%
  • Favicon for xAI
    Input $4.00 / Output $12.00
    Priority
    Throughput --Uptime 0.00%
Throughput
83tok/s

P50, best across providers

Latency
1.61s

P50, best provider

1.
Favicon for https://openai.com/codex
Codex
A coding agent that helps you build and ship with AI
62Btokens
2.
Favicon for https://nousresearch.com
Hermes Agent
Hermes Agent is an open-source, self-improving AI agent by Nous Research that runs persistently with memory across sessions, and builds reusable skills from experience. It comes with 40+ built-in tools, including web search, browser automation, and vision, plus scheduled automations and subagents.
57.4Btokens
3.
Favicon for https://pi.dev/
pi
There are many coding agents, but this one is yours.
35.4Btokens
4.
Favicon for https://omp.sh/
omp
new
28.9Btokens
5.
Favicon for https://www.strix.ai/
Strix
Open-source AI hackers that find and validate vulnerabilities in your code, APIs, and infrastructure, and open fix PRs.
27.4Btokens
Rest of OpenRouter
30.4B
Top 5 Apps
3.9B

Frequently asked questions

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.

Grok 4.7 costs $2.00/M input tokens and $6.00/M output tokens, with separate rates for Cache Read at $0.50/M tokens.

Grok 4.7 has a 500,000 token context window.

Yes. Grok 4.7 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

Grok 4.7 accepts text, images, and files such as PDFs as input and returns text.

Grok 4.7 is served by 2 providers on OpenRouter: Amazon Bedrock and SpaceXAI. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.

Grok 4.7 was released on September 21, 2026.