xAI Corp.
grok-4
xAI's latest and greatest flagship model, offering unparalleled performance in natural language, math and reasoning - the perfect jack of all trades.
πVisionπ§Tool callingβ‘Cachingπ₯Computer use
Pricing per 1M tokens
Input
$3.00
Output
$15.00
Cache write
$3.00
Cache read
$0.75
Specifications
Context window256K tokens
Max outputUnlimited
API typechat
AddedOct 16, 2025
Model IDxai/grok-4
Privacy & data
Data retentionYes (30 days)
Used for trainingUnknown
Provider locationπΊπΈ US
Privacy policyxAI Privacy Policy β
