Skip to content

AI models / xAI

Grok 4.7

xAI's most capable model, recommended for code and chat.

Specs and pricing

ProviderxAI
API model IDgrok-4.7
API price (standard)$2.00 in / $6.00 out per 1M tokens
Pricing notePrompts under 200K tokens; $4.00 in / $12.00 out at 200K+.
Context window500K tokens
Max outputNot stated on the page we checked
WeightsClosed (API only)
Cached input$0.50 / 1M
Knowledge cutoffMay 2026

Source: xAI models & pricing (checked 2026-10-15). Prices change often, so confirm on the provider's page before you commit.

Official page

Compare Grok 4.7

Other xAI models