Last verified
LATEST GROK500K CONTEXTTEXT + IMAGE INPUTCONFIGURABLE REASONINGTOOLS + CODE EXECEU API PENDING

Grok 4.5 API Pricing

Grok 4.5 is xAI's latest frontier model for coding, agentic tasks, and knowledge work. The official xAI pricing page lists $2.00/M input, $0.50/M cached input, and $6.00/M output; the model page lists 500K context and text + image input.

Input - per 1M tokens
$2.00/M
Latest Grok 4.5 live
Output - per 1M tokens
$6.00/M
Reasoning billed as output live
Cached input
$0.50/M
Prompt cache xAI row -75%
Effective - agentic blend
$1.19/M
92/8 split - 82% cache
§ 01 / TERMINAL

Run the numbers.

Live calculator pre-loaded with Grok 4.5 rates from xAI's pricing page. The model supports configurable reasoning, tool use, code execution, and text plus image input; EU API-console availability is still pending per xAI docs.

$ /mo
Workload split
Prompt cache hit rate
Tokens you can process
Words equivalent (English)
Effective rate
Open full calculator (all models · share URL · CSV) →
§ 02 / SCENARIOS

Real-world presets.

§ 03 / TOKENIZER

Paste text. See tokens. See cost.

Estimate · grok-tokenizer-estimate · ≈3.85 chars/token Auto-counts as you type

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.

Characters 487
Words 77
Tokens (estimated) 126 tokens
Cost as input · uncached $0.000252 USD
Cost as output · uncached $0.000756 USD
Cost as cached input $0.000063 USD
§ 04 / SHELF

Up against the shelf.

All models →
Model Input /M Output /M Effective blended Context Best for
Grok 4.5 Current $2.00 cache $0.50 $6.00 $1.19 latest Grok 500K Coding, agents, and knowledge work
Grok 4.3 $1.25 cache $0.20 $2.50 $0.56 cheaper previous Grok 1M Lower-cost Grok chat and tools
Grok Build 0.1 $1.00 cache $0.20 $2.00 $0.52 coding early access 256K Dedicated coding workflows
Grok 4.20 Multi-Agent $1.25 cache $0.20 $2.50 $0.56 2M context 2M Pinned long-context agent loops
Claude Sonnet 5 $3.00 cache $0.30 $15.00 $1.92 Anthropic coding 1M Claude-class coding agents
GPT-5.6 Sol $3.00 cache $0.30 $18.00 $2.16 OpenAI flagship 1M OpenAI frontier workloads
DeepSeek V4 Pro $0.43 cache $0.00 $0.87 $0.14 budget reasoning 1M Low-cost reasoning alternative

Frequently asked.

Grok 4.5 pricing questions, with xAI token rates separated from tool-call and cache assumptions.

Q · 01 What is Grok 4.5's API price? +
xAI lists grok-4.5 at $2.00/M input, $0.50/M cached input, and $6.00/M output. These are USD prices per 1M tokens.
Q · 02 Does Grok 4.5 support prompt caching? +
Yes. The model detail page lists cached input at $0.50/M, versus $2.00/M for fresh input. xAI 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? +
The xAI models page lists 500,000 tokens for Grok 4.5. Grok 4.3 remains listed at 1M context, and Grok 4.20 Multi-Agent remains the 2M-context Grok option.
Q · 04 Is Grok 4.5 available in the EU API console? +
Not yet according to xAI's Grok 4.5 overview page. The docs say Grok 4.5 is not available in the API console for EU users yet and that availability is expected later in July 2026.
Q · 05 Is Grok 4.5 only for coding? +
No. xAI describes it as a frontier model for coding, agentic tasks, and knowledge work. It supports configurable reasoning and tools including function calling, web search, X search, and code execution.
Q · 06 How does Grok 4.5 compare with Grok 4.3 on price? +
Grok 4.5 is more expensive: $2/$6 versus Grok 4.3's $1.25/$2.50. It is the latest model, but Grok 4.3 remains a cheaper option with a larger 1M context window.