Grok 4.5 API Pricing
Grok 4.5 is SpaceXAI's previous-generation frontier model for coding, agentic tasks, and knowledge work, superseded by Grok 4.6 on August 12, 2026. The official SpaceXAI (formerly xAI) pricing page lists $2.00/M input, $0.30/M cached input, and $6.00/M output; the model page lists 500K context and text + image input. Cached input was cut from $0.50/M to $0.30/M on August 13, 2026 — the newer Grok 4.6 launched at the $0.50/M cache price this tier used to carry, which leaves Grok 4.5 the cheaper of the two on cache-heavy work.
Run the numbers.
Live calculator pre-loaded with Grok 4.5's sub-200K rates from SpaceXAI's pricing page. The model supports configurable reasoning, tool use, code execution, and text plus image input. Send a prompt of 200K tokens or more and every rate below doubles, across the whole request.
Real-world presets.
Tool-calling agent
Research pack synthesis
Power-user chat
Knowledge base RAG
This is a chars-per-token approximation, not a real tokenizer. Actual tokens vary by language, code density, and tool-call overhead — counts are typically ±10–20% off for English prose, more for code or non-Latin scripts. For exact billing, use the vendor's official tokenizer.
| Model | Input /M | Output /M | Effective blended | Context | Best for |
|---|---|---|---|---|---|
| Grok 4.5 Current | $2.00 cache $0.30 | $6.00 | $1.04 agentic 92/8 | 500K | Coding, agents, and knowledge work |
| Grok 4.7 | $2.00 cache $0.50 | $6.00 | $1.19 +15% | 500K | Newest frontier Grok, dearer cache |
| Grok 4.6 | $2.00 cache $0.50 | $6.00 | $1.19 +15% | 500K | Next frontier Grok, dearer cache |
| Grok 4.3 | $1.25 cache $0.20 | $2.50 | $0.558 −46% | 1M | Lower-cost Grok chat and tools |
| Grok Build 0.1 | $1.00 cache $0.20 | $2.00 | $0.476 −2.2× | 256K | Dedicated coding workflows |
| Grok 4.20 Multi-Agent (0309) | $1.25 cache $0.20 | $2.50 | $0.558 −46% | 1M | Pinned long-context agent loops |
| Claude Sonnet 5.5 | $2.00 cache $0.10 | $10.00 | $1.29 +24% | 1M | Claude-class coding agents |
| GPT-5.6 Sol | $4.00 cache $0.40 | $20.00 | $2.73 +2.6× · promo | 1.05M | OpenAI frontier workloads |
| DeepSeek V4 Pro | $1.32 cache $0.044 | $3.96 | $0.569 −45% | 1M | Low-cost reasoning alternative |
Frequently asked.
Grok 4.5 pricing questions, with SpaceXAI token rates separated from tool-call and cache assumptions.
Q · 01 What is Grok 4.5's API price? +
grok-4.5 at $2.00/M input, $0.30/M cached input, and $6.00/M output. These are USD prices per 1M tokens for prompts below 200K tokens; at or above that threshold every rate doubles to $4.00 / $0.60 / $12.00.Q · 02 Does Grok 4.5 support prompt caching? +
$0.30/M, versus $2.00/M for fresh input — an 85% discount, and cheaper than the $0.50/M the newer Grok 4.6 charges. SpaceXAI recommends setting a prompt cache key so long conversations route to the same server and reliably hit cache.Q · 03 What context window does Grok 4.5 have? +
500,000 tokens for Grok 4.5, the same window as the newer Grok 4.6. Grok 4.3 and the Grok 4.20 variants are listed at 1M, so the 500K models are not the longest-context Groks.Q · 04 Which regions can I call Grok 4.5 from? +
us-east-1 and us-west-2 — US regions only. At launch the docs carried a note that the model was not yet in the API console for EU users; that note is no longer on the page, and no EU region has replaced it.Q · 05 Is Grok 4.5 only for coding? +
Q · 06 How does Grok 4.5 compare with Grok 4.3 on price? +
$2/$6 versus Grok 4.3's $1.25/$2.50. It is the newer model, but Grok 4.3 remains a cheaper option with a larger 1M context window.