中文

Prices › xAI

Grok 4.7 API pricing & setup

As of 2026-10-17, the cheapest Grok 4.7 channel is Official (Intl): $2 input / $6 output per 1M tokens (blended $3). Context 500K.

Context: 500K · Max output: 450K · Modalities: text, image, file · Listed: 2026-09-21

Channel comparison (per 1M tokens)

ChannelBlendedInputOutputCachedAccess & payment (this channel)NotesSource
Official (Intl)
$2 / $6
$3$2$6$0.5?CN direct·unverified?Alipay·unverified?ID·unverified?Intl card·unverified
conditions source2026-10-17
Short context (<200K); long context ≥200K is 2×
models.dev ✓
docs.x.ai
2026-10-17
OpenRouter
$2 / $6
$3$2$6$0.5✓CN direct✓Alipay✗ID✗Intl card
conditions source2026-10-17
Original vendor endpoint: xAIopenrouter.ai
2026-10-17

Access & payment conditions are verified per channel (see the column above); unverified never counts as met.

How to use Grok 4.7 in Claude Code / Codex / OpenCode

Provider-specific setup not yet verified. Generic setup: guides

Cheaper alternatives

Qwen3.8 Max (0902) ($2.69) · Qwen3.7 Max ($2.21) · DeepSeek V4 Pro (0813) ($1.98) ·

Compare

Grok 4.7 vs GPT-6.1 Sol · Grok 4.7 vs Claude Sonnet 5.5 · DeepSeek V4 Pro (0813) vs Qwen3.8 Max (0902) · Compare any two →

Rankings: Cheapest LLM APIs · LLM APIs usable from mainland China · All xAI models

Price history

FAQ

How much does the Grok 4.7 API cost?

Cheapest channel (Official (Intl)): $2 input / $6 output per 1M tokens, verified 2026-10-17.

Can I use Grok 4.7 from China?

Official (Intl): direct unverified, Alipay unverified, ID required unverified, overseas card unverified; OpenRouter: direct yes, Alipay yes, ID required no, overseas card no

Is Grok 4.7 free?

No free route or deal recorded for this model; pay-as-you-go.

What is Grok 4.7's context window?

500K tokens