Model Comparison → xAI

Grok 4.7

Grok 4.7 by xAI. Input: $2.00/M tokens · Output: $6.00/M tokens · 500K context window.

✓ Vision✓ Tool use✓ Prompt caching✓ ReasoningStandard
Pricing (verified 2026-10-23)
TypePrice / 1M tokensNotes
Input$2.00Per 1M input tokens
Output$6.00Per 1M output tokens
Cache read$0.50Cached prefix read-back
Source: xAI official pricing page · Last verified 2026-10-23
Context Window
500K tokens
≈ 375K words · 2 pages of text

Calculate your Grok 4.7 costs

Prompt Cost Calculator
Exact cost for your prompt
Agent Cost Calculator
Multi-step agent loops
Prompt Caching Calculator
Caching savings
Conversation Cost
Chat history strategies

Other xAI models

Grok 3 — $3.00/MGrok 3 mini — $0.30/MGrok 2 — $2.00/M

Pricing verified 2026-10-23 from xAI official pricing. All prices in USD per 1M tokens. See methodology and price changelog.