Comprehensive side-by-side LLM comparison
Claude Sonnet 4 leads with 3.3% higher average benchmark score. Llama 4 Maverick offers 1.7M more tokens in context window than Claude Sonnet 4. Llama 4 Maverick is $17.23 cheaper per million tokens. Llama 4 Maverick is available on 7 providers. Both models have their strengths depending on your specific coding needs.
Anthropic
Claude Sonnet 4 was created as the balanced offering in the Claude 4 family, designed to provide strong intelligence with practical speed and cost efficiency. Built to serve as a versatile workhorse for diverse applications, it balances advanced capabilities with operational considerations for everyday enterprise and consumer use.
Meta
Llama 4 Maverick was developed as a variant in Meta's fourth-generation language model family, designed to explore specialized capabilities and training approaches. Built to push the boundaries of open-source model development, it represents experimentation with advanced techniques in the Llama lineage.
1 month newer

Llama 4 Maverick
Meta
2025-04-05

Claude Sonnet 4
Anthropic
2025-05-22
Cost per million tokens (USD)

Claude Sonnet 4

Llama 4 Maverick
Context window and performance specifications
Average performance across 2 common benchmarks

Claude Sonnet 4

Llama 4 Maverick
Available providers and their performance metrics

Claude Sonnet 4
Anthropic
Bedrock
ZeroEval

Claude Sonnet 4

Llama 4 Maverick

Claude Sonnet 4

Llama 4 Maverick

Llama 4 Maverick
DeepInfra
Fireworks
Groq
Lambda
Novita
Sambanova
Together