Webtamine

Technology and money, explained.

Grok 4.7

Grok 4.7 API pricing is $2 per million input tokens and $6 per million output tokens.

Provider
xAI
API model name
grok-4.7
Status
Current
Input, $ per 1M tokens
$2.00
Cached input, $ per 1M tokens
$0.50
Output, $ per 1M tokens
$6.00
Sample request (10K in, 2K out), $
$0.032
Context window, tokens
500K
Price checked on
Official pricing page
docs.x.ai

That is the standard rate on xAI’s own API. xAI describes it as its flagship model for code and general work, with configurable reasoning and a knowledge cutoff of May 2026. A request with 10,000 input tokens and 2,000 output tokens costs about $0.032, less than GPT-6 Sol or Claude Sonnet 5.5 at about $0.04, because its output rate is lower. The API model name is grok-4.7, and the context window is 500K tokens.

Cached input costs $0.50 per million tokens, and prompts of 200K tokens or more are billed at $4 input and $12 output for the whole request.

Max output, tokens
450K
Input types
Text, image, file
Open weights
No
Long-context pricing
Prompts of 200K tokens or more: $4 input, $1 cached input, $12 output
Batch pricing
Not supported
Pricing notes
xAI does not offer the Batch API for this model. Priority processing costs 2x standard rates.
Sources
PageURLChecked
xAI pricinghttps://docs.x.ai/developers/pricing2026-09-30
xAI Grok 4.7 model page (prices, cached and long-context rates)https://docs.x.ai/developers/models/grok-4.72026-10-02
xAI models and pricinghttps://docs.x.ai/developers/models2026-10-02
OpenRouter model listing (context and output limits)https://openrouter.ai/models2026-09-29

Questions

How much does the Grok 4.7 API cost?
Grok 4.7 costs $2 per million input tokens and $6 per million output tokens on xAI’s own API. Cached input costs $0.50 per million tokens.
What is the API model name for Grok 4.7?
Use grok-4.7 in API calls to xAI. The context window is 500K tokens, and a response can run to 450,000 output tokens.
What does one Grok 4.7 request cost?
A request with 10,000 input tokens and 2,000 output tokens costs about $0.032 on xAI’s own API. xAI does not offer the Batch API for this model.
Does Grok 4.7 cost more for long prompts?
Yes. Prompts of 200K tokens or more: $4 input, $1 cached input, $12 output per million tokens.

Sources

Prices are read from each provider’s official pricing page: OpenAI, Anthropic, Google Gemini API, xAI, DeepSeek and Mistral AI. Context and output limits that a provider does not publish come from OpenRouter’s model listing. Each model’s Sources field lists the pages used and the date each was checked. How we check prices · Price change log

Webtamine

What are you looking for?

Search topics, products and companies