Models

Claude Sonnet 4.5 vs Grok 4.5

Compare Claude Sonnet 4.5 from Anthropic and Grok 4.5 from Grok on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

AnthropicClaude Sonnet 4.5GrokGrok 4.5
Anthropic logo
Claude Sonnet 4.5
Anthropic · text, image → text

Sonnet 4.5 is the best model in the world for agents, coding, and computer usage. It is also our most accurate and detailed model for long-running tasks, with enhanced knowledge in coding, finance, and cybersecurity. This model supports a thinking parameter to enable thinking requests in Claude mode.

Input$3.30 /M
Output$16.50 /M
Grok logo
Grok 4.5
Grok · text, image → text

Grok 4.5 was trained on datasets spanning knowledge in coding, science, engineering, and math. With both intelligent and efficient reasoning, Grok 4.5 excels at real engineering tasks and exceeds comparable leading models at these tasks.

Input$2.00 /M
Output$6.00 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Claude Sonnet 4.5
Grok 4.5
Input /M
$3.30
$2.00
Output /M
$16.50
$6.00
Cache read /M
$3.30
$0.50
Context length
1,000,000
500,000
Max output
64,000
500,000
Time to First Token
1.6 s
1.6 s
Throughput
42.9 tok/s
27.4 tok/s
Modalities
textimage
textimage
Supported Parameters
thinkingtoolsfunction callingstructured outputs
thinkingtoolsfunction callingstructured outputslong context
API Formats
Released
-
July 2026

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

claude-sonnet-4-5grok-4.5

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

claude-sonnet-4-5grok-4.5

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
claude-sonnet-4-5grok-4.5
1400144014801520
Overall
14551470
Coding
15141523
Math
14281478
Hard prompts
14831495
Instruction following
14631466
Multi-turn
14771479
Creative writing
14491454
Longer query
14841485
Chinese
14811511
English
14691475

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

Grok 4.5
$210 /mo
Claude Sonnet 4.5
$446 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Claude Sonnet 4.5, Grok 4.5?

Grok 4.5: $6.00/M output tokens; Claude Sonnet 4.5: $16.50/M. Use the cost calculator above to estimate your own workload.

How do their coding arena scores compare?

Grok 4.5: 1523; Claude Sonnet 4.5: 1514 (LMArena coding leaderboard).

Which responds faster?

Grok 4.5: 1.6s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

Claude Sonnet 4.5 accepts 1,000,000 and Grok 4.5 accepts 500,000 input tokens. Maximum output per request is 64,000 tokens on Claude Sonnet 4.5 and 500,000 tokens on Grok 4.5.

Which one generates tokens faster?

Claude Sonnet 4.5 at 42.9 tok/s and Grok 4.5 at 27.4 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

Claude Sonnet 4.5 accepts text and image input and supports thinking, tool calling, function calling and structured outputs; Grok 4.5 accepts text and image input and supports thinking, tool calling, function calling, structured outputs and long context.

Can I call Claude Sonnet 4.5 and Grok 4.5 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.