Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
Meta-llama
Meta-llama

Claude Sonnet 4.6 vs Llama 3.1 405B Instruct

A detailed comparison of pricing, benchmarks, and capabilities

108 out of our 483 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Claude Sonnet 4.6 wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Supports vision
  • Has reasoning mode

Llama 3.1 405B Instruct wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Better at math
Price Advantage
Llama 3.1 405B Instruct
Benchmark Advantage
Claude Sonnet 4.6
Context Window
Claude Sonnet 4.6
Speed
Claude Sonnet 4.6

Pricing Comparison

Price Comparison

MetricClaude Sonnet 4.6Llama 3.1 405B InstructWinner
Input (per 1M tokens)$3.00$0.90 Llama 3.1 405B Instruct
Output (per 1M tokens)$15.00$0.90 Llama 3.1 405B Instruct
Cache Read (per 1M)$0.30$0.45 Claude Sonnet 4.6
Cache Write (per 1M)$3.75N/A Claude Sonnet 4.6
Using a 3:1 input/output ratio, Llama 3.1 405B Instruct is 85% cheaper overall.

Claude Sonnet 4.6 Providers

No provider data available

Llama 3.1 405B Instruct Providers

No provider data available

Benchmark Comparison

8
Benchmarks Compared
3
Claude Sonnet 4.6 Wins
0
Llama 3.1 405B Instruct Wins

Benchmark Scores

BenchmarkClaude Sonnet 4.6Llama 3.1 405B InstructWinner
Intelligence Index
Overall intelligence score
42.617.4
Coding Index
Code generation & understanding
43.014.5
Math Index
Mathematical reasoning
-3.0-
MMLU Pro
Academic knowledge
-73.2-
GPQA
Graduate-level science
79.751.5
LiveCodeBench
Competitive programming
-30.5-
Aider
Real-world code editing
-66.2-
AIME
Competition math
-21.3-
Claude Sonnet 4.6 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Other models

Context & Performance

Context Window

Claude Sonnet 4.6
1,000,000
tokens
Llama 3.1 405B Instruct
131,000
tokens
Claude Sonnet 4.6 has a 87% larger context window.

Speed Performance

MetricClaude Sonnet 4.6Llama 3.1 405B InstructWinner
Tokens/second56.7 tok/s33.7 tok/s
Time to First Token1.07s0.71s
Claude Sonnet 4.6 responds 68% faster on average.

Capabilities

Feature Comparison

FeatureClaude Sonnet 4.6Llama 3.1 405B Instruct
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude Sonnet 4.6Llama 3.1 405B Instruct
LicenseProprietaryOpen Source
AuthorAnthropicMeta-llama
ReleasedFeb 2026Jul 2024

Claude Sonnet 4.6 Modalities

Input
textimage
Output
text

Llama 3.1 405B Instruct Modalities

Input
text
Output
text

Related Comparisons

Compare Claude Sonnet 4.6 with:

Compare Llama 3.1 405B Instruct with:

Frequently Asked Questions

Llama 3.1 405B Instruct has cheaper input pricing at $0.90/M tokens. Llama 3.1 405B Instruct has cheaper output pricing at $0.90/M tokens.
Claude Sonnet 4.6 scores higher on coding benchmarks with a score of 43.0, compared to Llama 3.1 405B Instruct's score of 14.5.
Claude Sonnet 4.6 has a 1,000,000 token context window, while Llama 3.1 405B Instruct has a 131,000 token context window.
Claude Sonnet 4.6 supports vision. Llama 3.1 405B Instruct does not support vision.