softwareestimator.com

Grok 4.5 API pricing

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

Grok 4.5 costs $2 per million input tokens and $6 per million output tokens, with cached input at $0.30 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $13–$346 a month, and building a SaaS MVP with it lands around $32–$866 in tokens.

Input
$2 / 1M
Output
$6 / 1M
Cache read
$0.30 / 1M
Batch
not listed
Context
500k tokens
Max output
450k tokens
Released
Jul 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
$13
20M tokens
Expected
$64
60M tokens
High
$346
200M tokens

Building a SaaS MVP

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

Low
$32
50M tokens
Expected
$160
150M tokens
High
$866
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
Qwen3.8 Max (0902) Qwen $2 $6 $0.25 1M $12–$342 Sep 2026
Qwen3.8 2.4T A95B Qwen $2 $6 $0.25 1M $12–$342 Aug 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
Gemini 4 Argon Google $2 $10 $0.10 1M $12–$425 Oct 2026

Other xAI models

Model Input /1M Output /1M Cache read Context Coding month* Released
Grok 4.7 $2 $6 $0.50 500k $16–$364 Sep 2026
Grok 4.6 $2 $6 $0.50 500k $16–$364 Aug 2026

Frequently asked questions

How much does Grok 4.5 cost?

Grok 4.5 costs $2 per million input tokens and $6 per million output tokens, with cached input at $0.30 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $13–$346 a month, and building a SaaS MVP with it lands around $32–$866 in tokens.

Is Grok 4.5 cheaper than similar models?

The closest models by real coding cost are Qwen3.8 Max (0902) (Qwen, $2/$6), Qwen3.8 2.4T A95B (Qwen, $2/$6), GPT-6.2 Sol Pro (OpenAI, $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.