Grok 4.7 · $2 input / $6 output per 1M tokens under 200K prompt tokens · last source review 2026-09-26
xAI · LLM / Text

Grok 4.7 Pricing

$2 input / $6 output per 1M tokens under 200K prompt tokens per million tokens
Free tier
No recurring API allowance confirmed in this comparison.
Commercial use
Check the provider's current API terms.
Billing unit
per million tokens

Advantages

  • The provider's current API rates are linked; input and output prices are shown separately.
  • Useful for a first-pass estimate; verify task quality and service options before choosing.

Disadvantages

  • Caching, long context, tools, region, and service tier can change the final bill.
  • A price comparison does not measure model quality for your task.

Example workload cost

For 100,000 input tokens and 25,000 output tokens, the standard-rate estimate is $0.35: 0.1 × $2 input + 0.025 × $6 output per million tokens.

This is an estimate from the listed rate, not a vendor quote. Actual charges can vary with model options, discounts, minimums, retries, and plan terms.

Standard global rate below the 200K context threshold; requests at or above it use $4 input/$12 output for all tokens.
Verify on xAI's pricing page →

The date marks the latest check of the model and displayed rate against the linked source; other plan and regional conditions may differ. How pricing data is collected.

ToolPriceFree tier
GPT-6 AstraOpenAI $10 input / $50 output per 1M tokens (standard) · cached input $1 No recurring API allowance confirmed in this comparison.
GPT-6 SolOpenAI $2 input / $10 output per 1M tokens (standard) · cached input $0.20 No recurring API allowance confirmed in this comparison.
GPT-6 LunaOpenAI $0.10 input / $0.50 output per 1M tokens (standard) · cached input $0.01 No recurring API allowance confirmed in this comparison.
Gemini 3.8 FlashGoogle $0.75 input / $3.75 output per 1M tokens through Dec 31, 2026 Free tier listed; model access, region, and limits apply.
Gemini 3.1 Flash-LiteGoogle $0.25 input / $1.50 output per 1M tokens (standard) Free tier listed; model access, region, and limits apply.
Claude Sonnet 4.6Anthropic $3 input / $15 output per 1M tokens No recurring API allowance confirmed in this comparison.
Mistral Large 3Mistral $0.50 input / $1.50 output per 1M tokens Mistral Studio free mode may be available; quota and account terms apply.
Mistral Medium 3.5Mistral $1.50 input / $7.50 output per 1M tokens Mistral Studio free mode may be available; quota and account terms apply.
Mistral Small 4Mistral $0.15 input / $0.60 output per 1M tokens Mistral Studio free mode may be available; quota and account terms apply.
DeepSeek V4.1 FlashDeepSeek $0.30 input / $1.20 output per 1M tokens (peak, uncached) No recurring API allowance confirmed in this comparison.
Grok 4.7xAI $2 input / $6 output per 1M tokens under 200K prompt tokens No recurring API allowance confirmed in this comparison.