xAI
grok-4.5 API Pricing
xAI charges $2.00 per 1M input tokens and $6.00 per 1M output tokens across a 1M context window. Verified 2026-07-08 against the official xAI pricing page.
Most capable xAI option for general tasks
Input / 1M tokens
$2.00
Output / 1M tokens
$6.00
Context window
1M
What it costs to run
| Workload | Tokens | Cost |
|---|---|---|
| Single short call | 2K in, 500 out | $0.00700 |
| Typical chat turn | 10K in, 1K out | $0.026 |
| Long document pass | 100K in, 2K out | $0.212 |
| 1,000 chat turns | 10M in, 1M out | $26.00 |
Price history
No price move recorded for grok-4.5 since tracking began on 2026-07-08. Every future change lands here with the before and after.
How it compares
Ranked on the blended cost of a typical chat turn (10K in, 1K out), not the input rate alone.
| gemini-2.5-pro | $0.022 per turn | |
| OpenAI | gpt-5 | $0.022 per turn |
| OpenAI | gpt-5.1 | $0.022 per turn |
| gemini-omni-flash | $0.024 per turn | |
| gemini-3.5-flash | $0.024 per turn | |
| xAI | grok-4.5 | $0.026 per turn |
| OpenAI | o3 | $0.028 per turn |
| OpenAI | gpt-4.1 | $0.028 per turn |
| Anthropic | claude-sonnet-5 | $0.030 per turn |
| OpenAI | gpt-5.2 | $0.032 per turn |
| OpenAI | gpt-5.3-codex | $0.032 per turn |
Head to head
Full cost breakdowns against the models grok-4.5 is usually weighed against, including the workload shape where the cheaper option flips.
TechFastForward coverage of grok-4.5
What we wrote when this model, or the rest of its line, was news.
- SpaceXAI Bets Cursor IDE Data to Own Coding Models2026-07-10
- Grok 4.3 Cuts Frontier Model Costs With Bedrock Launch2026-06-19
- xAI Grok Skills Launches Persistent Expertise in 20262026-06-08
- xAI Composer 2.5 Beats Grok 4.20 on Agentic Code 20262026-06-05
- xAI Grok 4.3 Cuts Cost 20 Percent and Tops Legal AI2026-06-03
- xAI's Grok 4.3 Arrives at $1.25 Per Million Tokens, and Bundles a Voice Clone API That Changes Enterprise AI2026-05-11
Free JSON API
Every tracked model, including this one, is available as JSON. Free to use with attribution and a link back.
curl https://techfastforward.com/api/data/llm-pricingMaintained by Jordan Hale, TechFastForward. Prices are read daily from the official provider page and recorded only when they move. See every tracked model on the LLM API Pricing Tracker.