47 model prices
  1. Home
  2. Models
  3. xAI
  4. Grok 4.5

Grok 4.5 API pricing and context window

Grok 4.5 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens on the xAI API. Cached input reads cost $0.30 per 1M. It accepts up to 500,000 input tokens. A typical chat request (10K input, 1K output) costs about $0.026. Prices last updated November 27, 2026.

Last updated: Provider pricing pagePricing data: LiteLLM (MIT)

Input
$2.00
per 1M tokens
Output
$6.00
per 1M tokens
Cached input
$0.30
per 1M tokens
Context window
500,000
tokens

Pricing options

Input /1MOutput /1Mvs standard (input / output)
Prompt over 200K tokens$4.00$12.00+100% / +100%

Typical task cost

TaskCost
Chat request (10K in + 1K out)$0.026
Codebase question (100K in + 2K out)$0.212
Same question with cached context (100K cached + 2K out)$0.042
Long prompt (220K in + 2K out)$0.904
Filling the whole context once (500K in)$2.00
1M tokens a month (750K in + 250K out)$3.00

Estimate your own workload in the calculator

Grok 4.5 compared with the previous and next version

ModelInput /1MOutput /1MWhat changes
NewerGrok 4.7$2.00 0%$6.00 0%Grok 4.5 → Grok 4.7: cached input: $0.30 → $0.50; long-context cached input: $0.60 → $1.00; Batch API: listed only for Grok 4.7
OlderGrok 4.3$1.25 -38%$2.50 -58%Grok 4.3 → Grok 4.5: input: $1.25 → $2.00; output: $2.50 → $6.00; cached input: $0.20 → $0.30; context: 1M → 500K
+4 more differenceslong-context input: $2.50 → $4.00; long-context output: $5.00 → $12.00; long-context cached input: $0.40 → $0.60; Batch API: listed only for Grok 4.3

Capabilities and details

Similar models by price

ModelProviderInput /1MOutput /1MContext windowvs this model (input / output)
Mistral Medium 3.5Mistral$1.50$7.50256K-25% / +25%
Gemini 3.5 FlashGoogle$1.50$9.001M-25% / +50%
Gemini 2.5 ProGoogle$1.25$10.001M-38% / +67%
GPT-5OpenAI$1.25$10.00272K-38% / +67%
GPT-5.1OpenAI$1.25$10.00272K-38% / +67%

Price history

DateInput /1MOutput /1MCached input /1M
$2.00$6.00$0.30

Tracking started on November 21, 2026. A new row appears only when a price changes.

Embed this price badge

Grok 4.5 API price

The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.

<a href="https://vibecodingturkey.com/models/grok-4-5"><img src="https://vibecodingturkey.com/models/badge/grok-4-5.svg" alt="Grok 4.5 API price" height="20"></a>
[![Grok 4.5 API price](https://vibecodingturkey.com/models/badge/grok-4-5.svg)](https://vibecodingturkey.com/models/grok-4-5)

Questions

How is Grok 4.5 different from Grok 4.3?

Grok 4.3 → Grok 4.5: input: $1.25 → $2.00; output: $2.50 → $6.00; cached input: $0.20 → $0.30; context: 1M → 500K; long-context input: $2.50 → $4.00; long-context output: $5.00 → $12.00; long-context cached input: $0.40 → $0.60. +1 more differences in the table above.

Does Grok 4.5 cost more for long prompts?

Yes. Once a prompt passes 200,000 tokens, the whole request is billed at $4.00 input and $12.00 output per 1M. A 220K-token prompt with a 2K answer costs about $0.904.

Does Grok 4.5 support prompt caching?

Yes. Cached input reads cost $0.30 per 1M tokens, 85% less than standard input.

How much does Grok 4.5 cost per 1M tokens?

$2.00 per 1M input tokens and $6.00 per 1M output tokens on the xAI API, as of November 27, 2026.