Skip to content
Alpha
  • Models
  • Rankings
  • Ori

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

This model is hosted by one provider. OpenRouter forwards every request to it directly — no routing decisions to make.

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 (Low) Intelligence Index42.2
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 Accuracy49.7%
Artificial AnalysisGrok 4.7 (Low) AA-Omniscience Non-Hallucination Rate60.1%
Artificial AnalysisGrok 4.7 (Xhigh) Intelligence Index46.4
Artificial AnalysisGrok 4.7 (Xhigh) HLE43.1%
Artificial AnalysisGrok 4.7 (Xhigh) AA-LCR76.7%
Artificial AnalysisGrok 4.7 (Xhigh) GDPval-AA61.1%
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 Accuracy47.4%
Artificial AnalysisGrok 4.7 (Xhigh) AA-Omniscience Non-Hallucination Rate70.7%
Artificial AnalysisGrok 4.7 (High) Intelligence Index46.3
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 Accuracy47.8%
Artificial AnalysisGrok 4.7 (High) AA-Omniscience Non-Hallucination Rate67.6%
Design ArenaGrok 4.7 Models Arena 3D Elo1273
Design ArenaGrok 4.7 Models Arena Code Categories Elo1270
Design ArenaGrok 4.7 Models Arena Data Visualization Elo1235
Design ArenaGrok 4.7 Models Arena Game Development Elo1313
Design ArenaGrok 4.7 Models Arena UI Component Elo1274
Design ArenaGrok 4.7 Models Arena Website Elo1252
Vals AIGrok 4.7 Code Migration v1.153.2%
Vals AIGrok 4.7 CyberBench v1.169.5%
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 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 ProgramBench0.5%
Vals AIGrok 4.7 ProofBench v1.126.0%
Vals AIGrok 4.7 Vals RSI Index20.2%
Vals AIGrok 4.7 SAGE40.8%
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 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

Explore more models

AI Models with Vision: Multimodal LLMs for Image UnderstandingCollectionAI Model RankingsRanking
Latency / throughput
$2.00$6.00$0.502.18s67 tps
100.00%
$2.00$6.00$0.501.73s68 tps
100.00%
Not used in Standard routing:Why these endpoints are not used
$2.20$6.60$0.551.60s71 tps
100.00%
Priority
$4.00$12.00$1.001.67s68 tps
100.00%
Priority
$4.00$12.00$1.001.94s72 tps
100.00%
Throughput
72tok/s

P50, best across providers

Latency
1.60s

P50, best provider

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.89%

Availability over the last 3 days

Last 72 hours
Availability 99.89%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.92%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.

1.
Favicon for https://openai.com/codex
Codex
A coding agent that helps you build and ship with AI
76.7Btokens
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.
57Btokens
3.
Favicon for https://pi.dev/
pi
There are many coding agents, but this one is yours.
41.7Btokens
4.
Favicon for https://strix.ai/
Strix
new
27.3Btokens
5.
Favicon for https://omp.sh/
omp
new
27.1Btokens

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 and Web Search at $5.00/1K calls.

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.6, Grok 4.5, Grok Build 0.1 and 3 more are other text models from SpaceXAI.

Grok 4.7 was released on September 21, 2026.