xAI: Grok 4.7

x-ai/grok-4.7

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.

Model specifications

Input
text, image
Output
text
Context
500,000 tokens
Max output
500,000 tokens
Input price
$2 / 1M tokens
Output price
$6 / 1M tokens
Released
2026-09-22

Capabilities

  • Streaming
  • Function calling
  • Vision
  • JSON mode

Provider pricing, discounts and data privacy

Compare effective provider prices, published discounts, regions, retention policies, training use, compliance, and privacy links by service tier.

Standard service tier

1 available provider · tier input average $2 / 1M tokens · tier output average $6 / 1M tokens

xAI

Tier: Standard · Region: US

Pricing
Input
$2 / 1M tokens
Output
$6 / 1M tokens
Cache read
$0.5 / 1M tokens

No provider discount is currently published.

Data privacy and compliance
Region
US
Zero data retention
Yes
Data retention
Zero retention
Used for training
No
Data collection
Moderated
No
GDPR compliant
Yes
HIPAA compliant
Yes
SOC 2 certified
Yes
BYOK supported
No

Frequently asked questions

What is xAI: Grok 4.7?
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.
How much does xAI: Grok 4.7 cost?
Input costs start at $2 / 1M tokens and output costs start at $6 / 1M tokens. Provider-level prices vary by service tier.
What is the context length of xAI: Grok 4.7?
xAI: Grok 4.7 supports a 500,000 token context window and up to 500,000 output tokens.
What capabilities does xAI: Grok 4.7 support?
xAI: Grok 4.7 supports Streaming, Function calling, Vision, JSON mode.
Which providers offer xAI: Grok 4.7?
xAI: Grok 4.7 is available from xAI.
How do providers handle data privacy for xAI: Grok 4.7?
1 of 1 providers report that customer data is not used for training, and 1 offer zero-data-retention routing. Retention, compliance, and privacy-policy links are listed per provider.

Browse all AI models