Pricing comparison

Anthropic vs xAI (Grok) Pricing

xAI (Grok) is cheaper than Anthropic at the entry level: Grok 3 Mini costs $0.500 per 1M output tokens against $1.25 for Claude 3 Haiku — 2.5× the price. On current flagships, Anthropic's Claude Fable 5 costs $50.00/1M output against $6.00/1M for xAI (Grok)'s Grok 4.5. Prices are USD, current as of August 11, 2026.

Per-million-token pricing for Anthropic and xAI (Grok), with side-by-side flagship models, cheapest tiers, and context windows. Pricing data syncs weekly from a continuously-updated model catalog — last updated August 11, 2026.

Who wins on what

Cheapest input tokens

$0.20/1M

xAI (Grok)

Grok 4 Fast — $0.20/1M input

Cheapest output tokens

$0.50/1M

xAI (Grok)

Grok 3 Mini — $0.50/1M output

Longest context window

2.0M

xAI (Grok)

Grok 4 Fast — 2.0M input tokens

Lowest average output cost

$6.72/1M

xAI (Grok)

Provider-wide average across 45 models

Largest model catalog

45 models

xAI (Grok)

More options to match cost vs capability

Cheapest cached input

$0.20/1M

Anthropic

Claude Sonnet 5 — $0.20/1M cached read

Most reasoning models

5 models

xAI (Grok)

Models with dedicated reasoning / thinking support

Most vision models

6 models

xAI (Grok)

Models that accept image input

Side-by-side

36 models

Anthropic

Full Anthropic pricing →

Cheapest input

$0.250

Claude 3 Haiku

Cheapest output

$1.25

Claude 3 Haiku

Longest context

1.0M

Claude 4 Sonnet (2025-05-14)

Avg output / 1M

$26.11

Across catalog

Cheapest cached input

$0.200

Claude Sonnet 5

ModelIn/1MOut/1MCtx
Claude Opus 5
VisionReasoningToolsCache
$5.00$25.001.0M
Claude Sonnet 5
VisionReasoningToolsCache
$2.00$10.001.0M
Claude Fable 5
VisionReasoningToolsCache
$10.00$50.001.0M
Claude Opus 4.8
VisionReasoningToolsCache
$5.00$25.001.0M
Claude Opus 4.7$5.00$25.00200K
Claude 3 Haiku$0.250$1.25200K
45 models

xAI (Grok)

Full xAI (Grok) pricing →

Cheapest input

$0.200

Grok 4 Fast

Cheapest output

$0.500

Grok 3 Mini

Longest context

2.0M

Grok 4 Fast

Avg output / 1M

$6.72

Across catalog

Cheapest cached input

$0.200

Grok 4.20 (Non-Reasoning)

ModelIn/1MOut/1MCtx
Grok 4.5
VisionReasoningToolsCache
$2.00$6.00500K
Grok 4.3
VisionReasoningToolsCache
$1.25$2.501.0M
Grok Build 0.1
VisionReasoningToolsCache
$1.00$2.00256K
Grok 4.20 (Non-Reasoning)
VisionToolsCache
$1.25$2.501.0M
Grok 4.20 (Reasoning)
VisionReasoningToolsCache
$1.25$2.501.0M
Grok 3 Mini$0.300$0.500131K

All prices in USD per 1 million tokens. Showing top 6 models per provider, sorted by output cost.

Frequently asked questions

Is Anthropic or xAI (Grok) cheaper?

xAI (Grok) has the cheaper entry point at $0.50/1M output (Grok 3 Mini — $0.50/1M output). Provider-wide, Anthropic averages $26.11/1M output against $6.72/1M for xAI (Grok). Which is cheaper for you depends on which model tier your workload actually needs.

How much do Anthropic and xAI (Grok) cost per 1M tokens?

Anthropic starts at $1.25 per 1M output tokens (Claude 3 Haiku), with its current flagship Claude Fable 5 at $50.00. xAI (Grok) starts at $0.500 (Grok 3 Mini), with Grok 4.5 at $6.00. Input tokens cost less than output on both.

Which has the larger context window, Anthropic or xAI (Grok)?

xAI (Grok) — Grok 4 Fast — 2.0M input tokens. For comparison, Anthropic's largest is 1.0M tokens (Claude 4 Sonnet (2025-05-14)) and xAI (Grok)'s is 2.0M tokens (Grok 4 Fast).

Which has more reasoning models, Anthropic or xAI (Grok)?

Anthropic lists 4 reasoning models and xAI (Grok) lists 5. Reasoning models bill their internal thinking as output tokens, so a reasoning call costs several times a standard completion of the same visible length — compare them on total tokens billed, not headline rate.

Should I switch from Anthropic to xAI (Grok) to save money?

Only if the cheaper model still meets your quality bar. Token price is one input; the ones that decide your bill are prompt size, response length, retries and how much conversation history you resend each turn. Model the switch against your real traffic before committing. Prices here are current as of August 11, 2026.

Related comparisons

See the full AI model leaderboard — every model ranked by intelligence, real-world usage, and value.

Run the numbers for your workload

Calcaas multiplies per-token costs by your real usage patterns — inputs, outputs, retries, and conversation history — across both providers in one model.