Grok 4.7 is SpaceXAI’s advanced AI model for coding, reasoning, long-horizon tasks, and professional knowledge work. It features stronger self-verification, improved long-context management, and a 500K context window, making it suitable for AI agents, developer tools, research, and complex workflows.

Pricing: Input 160 credits / 1M tokens (≈ $0.8), Cached Input 40 credits / 1M tokens (≈$0.2), Output 480 credits / 1M tokens (≈$2.40). High-tier top-ups (+10% bonus) bring effective pricing down to ~10% off the above rates.
grok-4-7

Automatically append previous messages to maintain multi-turn context. May increase token usage.

Structured outputs
Function calling
Web Access
Reasoning effort
Stream Response

How can I help you today?

README

Complete guide to using grok-4-7

Grok 4.7 API – Build with xAI Grok 4.7 on Kie AI

Original image
Handle Long-Horizon Tasks with Grok 4.7 API
Get Stronger Self-Verification with xAI Grok 4.7
Build Advanced Coding Workflows with Grok 4.7 API
Process More with a 500K Grok API Context Window
Control Grok 4.7 Reasoning with Four Effort Levels
Take On Professional Knowledge Work with Grok 4.7
Strong Results Across Coding and Professional Work
BenchmarkGrok 4.7Grok 4.6
CursorBench 4.046.3%40.4%
DeepSWE v1.171.0%*65.2%
EEBench64.0%53.0%
AA Briefcase v1.11,6571,546
Terminal-Bench 4.038.0%20.3%
Harvey Legal Agent Benchmark19.6%15.8%
HealthBench Professional56.7%48.5%
Grok 4.7 DeepSWE v1.1 score uses high reasoning effort. Results are based on benchmarks reported by SpaceXAI.