grok-4.7

grok-4.7

xAI's next-generation, cutting-edge, closed-source flagship model
2026-09-23
LLM
Model capability: imageModel capability: thinkingModel capability: function_call
Cache Creation:
$0.5/1M tokens
Cache Read:
$0.5/1M tokens
Input:
$2/1M tokens
Output:
$6/1M tokens
Bulk order? Contact your manager for exclusive deals

API Overview

Grok 4.7 is the latest flagship large model released by xAI. As a major leap forward for the Grok 4 series in long-haul agentic tasks and high-complexity software engineering, Grok 4.7 features a brand-new base architecture and deep reinforcement learning training. The model is specifically designed to tackle complex code generation over extended periods, highly specialized professional tasks, and long-chain self-checking and self-correction. While maintaining a highly competitive price, Grok 4.7 achieves double the throughput of its predecessor, making it an excellent tool for building cost-effective workflow automation solutions.

───────────────────────────────────────────────────────────────────

Core Capabilities

Long-Haul Agentic Coding and Self-Verification Optimization: Specifically enhanced for complex programming tasks that require hours of continuous execution; significantly improved self-verification and intermediate-result comparison capabilities, delivering outstanding performance on repository-level code benchmarks such as CursorBench and DeepSWE.

Multilevel Reasoning Control (Reasoning Effort): Natively supports four levels of reasoning depth—low, medium, high (default), and xhigh—allowing developers to flexibly balance latency and intelligence output based on task complexity.

500K Ultra-Large Context Window: Supports processing up to 500,000 tokens in a single input, easily accommodating entire complex projects or massive industry regulations and technical documentation.

Enhanced Anti-Jailbreak and Ultimate Dual-Use Security: Equipped with a brand-new security defense architecture, it maintains an extremely low false rejection rate while offering industry-leading anti-jailbreak and cybersecurity/biosafety defense capabilities.


Playground

Log in to explore more features! Click to Log In

API Analytics

API Reference (4)

API DescriptionAPI EndpointRequest MethodStabilityParameter Description
Chat(grok)
POST
Stable
View Details
Chat(grok-vision)
POST
Stable
View Details
Asynchronous request to chat
POST
Stable
View Details
Async Get Result
GET
Stable
View Details

API Pricing

$¥ 円 ₽
ModelDescriptionContextOfficial Price302.AI PriceOfficial Price Gap

grok-4.7

-
500000

Cache Creation$0.5 / 1M tokens
Cache Read$0.5 / 1M tokens
Input$2 / 1M tokens
Output$6 / 1M tokens

Cache Creation$0.5 / 1M tokens
Cache Read$0.5 / 1M tokens
Input$2 / 1M tokens
Output$6 / 1M tokens

Original Price