SpaceXAI: Grok 4.7

Text input File input Image input Text output
Author's Description

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...

Key Specifications
Cost
$$$$$
Context
500K
Released
Sep 21, 2026
Speed
★
Ability
★★★★★
Reliability
★★★★★
Supported Parameters

This model supports the following parameters:

Structured Outputs Top P Seed Temperature Tool Choice Reasoning Include Reasoning Response Format Logprobs Top Logprobs Tools Max Tokens
Features

This model supports the following features:

Tools Structured Outputs Response Format Reasoning
Performance Summary

SpaceXAI's Grok 4.7, a flagship model for coding, agentic tasks, and knowledge work, demonstrates exceptional reliability with a 100% success rate across all benchmarks, indicating consistent and usable responses. While its speed performance is moderate, ranking in the 23rd percentile, its pricing tends to be premium, positioned in the 9th percentile. Grok 4.7 exhibits outstanding accuracy in critical areas. It achieves perfect scores in Hallucinations, General Knowledge, Reasoning, and Ethics, often being the most accurate model at its price point and speed. This highlights its strong foundational understanding and ability to avoid generating incorrect information. Its coding capabilities are also very strong, with 96.0% accuracy, placing it in the 92nd percentile. Instruction Following is another significant strength, achieving 89.0% accuracy. While its Mathematics performance is solid at 93.0% accuracy, its Email Classification accuracy is more moderate at 98.0% (49th percentile). Overall, Grok 4.7's key strengths lie in its high accuracy across diverse knowledge and reasoning tasks, particularly in preventing hallucinations and excelling in coding, making it a robust choice for complex software engineering and knowledge-intensive applications despite its premium cost and moderate speed.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $2
Completion $6
Input Cache Read $0.5
Web Search $5000

Price History

Available Endpoints
Provider Endpoint Name Context Length Pricing (Input) Pricing (Output)
xAI
xAI | x-ai/grok-4.7-20260916 500K $2 / 1M tokens $6 / 1M tokens
xAI
xAI | x-ai/grok-4.7-20260916 500K $2 / 1M tokens $6 / 1M tokens
xAI
xAI | x-ai/grok-4.7-20260916 500K $4 / 1M tokens $12 / 1M tokens
xAI
xAI | x-ai/grok-4.7-20260916 500K $4 / 1M tokens $12 / 1M tokens
xAI
xAI | x-ai/grok-4.7-20260916 500K $2.2 / 1M tokens $6.6 / 1M tokens
Benchmark Results
Benchmark Category Reasoning Strategy Free Executions Accuracy Cost Duration
Other Models by x-ai