Grok 4.5 API cost calculator
Grok 4.5 (Grok (xAI)) is priced at $2 per million input tokens, $0.3 for cached input, and $6 per million output tokens. Verified 2026-09-17 against Grok (xAI)'s pricing page.
Requests with 200k or more input tokens are billed at twice these rates.
What Grok 4.5 costs for common workloads
| Workload | Per request | Per day | Per month |
|---|---|---|---|
| Support chatbotShort turns with a reused system prompt — 3k in, 400 out, 60% cached. | $0.0053 | $26.70 | $801 |
| RAG over documentsRetrieved context dominates — 12k in, 500 out, 30% cached. | $0.021 | $31.32 | $940 |
| Coding agentGrowing context every turn — 20k in, 1.5k out, 80% cached. | $0.022 | $65.40 | $1,962 |
| Batch classificationTiny prompts at volume through the Batch API — 800 in, 20 out. | $0.0017 | $344 | $10,320 |
Its blast radius when an agent loops
The coding-agent workload above at 30 requests a minute — $39.24 an hour — priced at each point a team usually finds out:
Hourly alert
$39.24
Next morning
$942
After a weekend
$2,354
Monthly invoice
$28,253