Grok 4.5 API pricing — cost per million tokens
xAI's Grok 4.5 costs $2 per million input tokens and $6 per million output tokens on the standard API tier (verified 2026-07-23). Note: xAI's V9-Medium coding model (1.5T), shipped 2026-07-08 as an interim before the still-unreleased Grok 5. Compare it in the full pricing table or price your own prompts in the token cost calculator.
Grok 4.5 price per million tokens
| direction | $ / Mtok | $ / 1K tokens |
|---|---|---|
| input (prompt) | $2 | $0.002 |
| output (completion) | $6 | $0.006 |
What real requests cost on Grok 4.5
| workload | input | output | total |
|---|---|---|---|
| Chat message (1K in / 500 out) | $0.002 | $0.003 | $0.005 |
| Long document (100K in / 2K out) | $0.20 | $0.012 | $0.21 |
| Agent session (500K in / 50K out) | $1.00 | $0.30 | $1.30 |
How Grok 4.5 pricing compares
On the same chat-message workload, Grok 4.5 costs 18× more than DeepSeek V4 Flash (the cheapest tracked model) — capability, latency and context limits are the other side of that trade. Output tokens dominate long generations: at $6/Mtok, a 50K-token agent transcript costs $0.30 in output alone. Official rate card: xAI pricing.
Related: DeepSeek V4 Flash pricing · GPT-5.4 nano pricing · Gemini 2.5 Flash pricing · release timeline
The weekly e/acc newsletter
One email a week: what accelerated.
Frontier releases, price drops, compute buildouts — the week's acceleration in five minutes, sourced and numeric. Free.