← Models
xai

Grok 4.7

grok-4.7
ReasoningVision

Model details

Model
grok-4.7
Provider
xai
API
openai-responses
Base URL
https://api.x.ai/v1
Input
text, image
Reasoning
Yes
Context window
500,000
Max tokens
500,000

Pricing

USD per million tokens.

Input
$2
Output
$6
Cache read
$0.5
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.57
Uncached input
$0.16
Cache reads
$0.32
Cache writes
$0.0000
Output
$0.09
Without caching
$1.54

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

supportsLongCacheRetention
No