LLMPrice
Updated daily
Direct API pricing comparison

Claude Sonnet 5 vs Grok 4.6

Compare current direct API token prices and estimated monthly workload costs for Claude Sonnet 5 and Grok 4.6.

2direct models
Pricing only.Grok 4.6 is cheaper in 3 of 4 comparable standard workload presets below. This is a pricing comparison only; it does not rank model quality.
Published direct rates

Token pricing side by side

USD per 1M text tokens
ModelInputCachedOutputContextMax outputSource
Claude Sonnet 5Anthropic · Direct API
$2$0.2$101M128KDirect
Grok 4.6xAI · Direct API
$2$0.5$6500KDirect
Monthly estimates

Same workload, different API bill

These four presets use 30 active days, standard direct rates, no retries, no reasoning-token add-on, no cache writes, and the cached-input percentage shown in each row.

Standard workloadClaude Sonnet 5Grok 4.6Lower monthly estimate
Chat10,000/day · 2,000 in · 500 out · 25% cached$2,430$1,875Grok 4.6 by $555 / mo
Coding2,000/day · 12,000 in · 1,800 out · 55% cached$1,807.2$1,494Grok 4.6 by $313.2 / mo
Agent1,200/day · 32,000 in · 2,500 out · 65% cached$1,856.16$1,720.8Grok 4.6 by $135.36 / mo
Documents400/day · 180,000 in · 2,000 out · 15% cached$3,976.8$3,978Claude Sonnet 5 by $1.2 / mo
Custom workload

Use your own traffic

The main calculator includes batch mode, long-context rules, retries, reasoning tokens, cache writes, and other model-specific pricing logic that a static comparison cannot fully capture.

Related comparisons

Compare nearby alternatives