softwareestimator.com

Grok 4.7 API pricing

xAI · x-ai/grok-4.7 · synced November 22, 2026

Grok 4.7 costs $2 per million input tokens and $6 per million output tokens, with cached input at $0.50 and a batch tier at $1.60/$4.80 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $16–$364 a month, and building a SaaS MVP with it lands around $41–$910 in tokens.

Input
$2 / 1M
Output
$6 / 1M
Cache read
$0.50 / 1M
Batch
$1.60 / $4.80
Context
500k tokens
Max output
450k tokens
Released
Sep 2026
Tools / reasoning
tools · reasoning

What it costs in practice

A month of AI coding

One developer running a coding agent daily, 20M–200M tokens.

Low
$16
20M tokens
Expected
$72
60M tokens
High
$364
200M tokens

Building a SaaS MVP

Stripe billing, OAuth, webhooks: the estimator's SaaS preset.

Low
$41
50M tokens
Expected
$180
150M tokens
High
$910
500M tokens

Assumptions are on the methodology page. Price your own project →

Similar cost, other providers

Model Provider Input /1M Output /1M Cache read Context Coding month* Released
GPT-6 Sol Pro OpenAI $2 $10 $0.20 1.1M $13–$434 Sep 2026
GPT-6 Sol OpenAI $2 $10 $0.20 1.1M $13–$434 Sep 2026
Claude Sonnet 5 Anthropic $2 $10 $0.20 1M $13–$434 Jun 2026
GPT-6.2 Sol Pro OpenAI $2 $10 $0.10 1.1M $12–$425 Nov 2026
GPT-6.2 Sol OpenAI $2 $10 $0.10 1.1M $12–$425 Nov 2026
Gemini 4 Carbon Google $2 $10 $0.10 1M $12–$425 Nov 2026

Other xAI models

Model Input /1M Output /1M Cache read Context Coding month* Released
Grok 4.6 $2 $6 $0.50 500k $16–$364 Aug 2026
Grok 4.5 $2 $6 $0.30 500k $13–$346 Jul 2026

Frequently asked questions

How much does Grok 4.7 cost?

Grok 4.7 costs $2 per million input tokens and $6 per million output tokens, with cached input at $0.50 and a batch tier at $1.60/$4.80 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $16–$364 a month, and building a SaaS MVP with it lands around $41–$910 in tokens.

Is Grok 4.7 cheaper than similar models?

The closest models by real coding cost are GPT-6 Sol Pro (OpenAI, $2/$10), GPT-6 Sol (OpenAI, $2/$10), Claude Sonnet 5 (Anthropic, $2/$10). Per-token price is only half the story: a model that needs fewer retries can cost less overall.

Why is the estimate a range?

Agentic coding spend varies more than 10× between runs of the same task. Cache hit rate, retries and how much log output goes back into context decide where you land, so we show low, expected and high rather than one number.

Prices are OpenRouter list prices from openrouter.ai/models, which normally match xAI's own. Estimates are for planning, not quotes.