Grok 4.5 API Pricing Calculator

Compare what your prompts cost across every major LLM — with exact token counts for OpenAI models, right in your browser.

Prices verified 2026-07-24 · per 1M tokens · sources linked per provider

Input / 1M tokens

$2

Cached input / 1M

$0.3

Output / 1M tokens

$6

Context window: 500,000 tokensAPI model ID: grok-4.5

≥200k-token prompts: $4 in / $12 out.

At Grok 4.5's rates ($2 per 1M input tokens, $6 per 1M output), a call with 1,000 input and 500 output tokens costs $0.005. At 10,000 requests a month, that workload runs $50.00. A heavier call — a 100,000-token prompt returning 2,000 tokens — costs $0.212.

Grok 4.5 is the priciest xAI Grok model at this workload, 2.0× the per-call cost of Grok 4.3.

Cache-read input is billed at $0.3 per 1M tokens — 85% below the standard input rate, so a long system prompt reused across calls mostly bills at the discounted rate.

Grok 4.5's context window is 500,000 tokens. ≥200k-token prompts: $4 in / $12 out.

ModelCost / callCost / month× best price
Grok 4.3cheapest$0.00375$3.75
Grok 4.5$0.008$8.002.1×

More xAI Grok models: Grok 4.3 — or all xAI Grok pricing

Token counter

0 tokens

Token counts are exact for OpenAI models (tiktoken o200k_base, run in your browser). For other providers the count is an estimate — notably Claude Opus 4.7+/Sonnet 5 and similar newer models use a tokenizer that produces roughly 30% more tokens for the same text.

Related tools

Scaling AI content or ops? Elegant Atomics builds growth systems for B2B SaaS — Trevor’s company. Work with us →