Home › Providers › x-ai › SpaceXAI: Grok 4.5

SpaceXAI: Grok 4.5 API Pricing

SpaceXAI: Grok 4.5 is an API model from x-ai. It costs $2 per 1M input tokens and $6 per 1M output tokens, with cached input at $0.3. Its context window is 500,000 tokens with up to 450,000 output tokens. A workload of 10M input + 2M output tokens costs about $32 per month.
Input
$2
per 1M tokens
Output
$6
per 1M tokens
Cached input
$0.3
per 1M tokens
Context window
500K
500,000 tokens
Blended (80/20)
$2.8
per 1M tokens

Grok 4.5 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM.

How much does SpaceXAI: Grok 4.5 cost for a real workload?

At 10M input + 2M output tokens per month, SpaceXAI: Grok 4.5 costs about $32 ($20 input + $12 output). Try your own volumes in the cost calculator.

What are cheaper alternatives to SpaceXAI: Grok 4.5?

Compare SpaceXAI: Grok 4.5 with other models

SpaceXAI: Grok 4.5 vs SpaceXAI: Grok Build 0.1SpaceXAI: Grok 4.5 vs SpaceXAI: Grok 4.3 (batch)SpaceXAI: Grok 4.5 vs SpaceXAI: Grok 4.3SpaceXAI: Grok 4.5 vs SpaceXAI: Grok 4.20 Multi-AgentSpaceXAI: Grok 4.5 vs SpaceXAI: Grok 4.20SpaceXAI: Grok 4.5 vs SpaceXAI: Grok 4.7

Frequently asked questions

How much does SpaceXAI: Grok 4.5 cost?

SpaceXAI: Grok 4.5 costs $2 per 1M input tokens and $6 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $32.

What is the context window of SpaceXAI: Grok 4.5?

SpaceXAI: Grok 4.5 has a context window of 500,000 tokens and can return up to 450,000 output tokens per response.

What are cheaper alternatives to SpaceXAI: Grok 4.5?

Cheaper models include OpenAI: GPT-5.2 (batch) ($0.875 in / $7 out), Magnum v4 72B ($2.5 in / $5 out), Z.ai: GLM 5.2 ($0.0341 in / $7 out). See the full list on this page.

Is SpaceXAI: Grok 4.5 free to use?

No. SpaceXAI: Grok 4.5 is a paid model at $2 input / $6 output per 1M tokens. 20 free models are listed on the free models page.

Provider: x-ai · Model ID: x-ai/grok-4.5 · Modality: text+image+file->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices