Claude 3.5 SonnetvsLLaMA 3.1
Claude 3.5 Sonnet | LLaMA 3.1 | |
|---|---|---|
| API pricingUSD per 1M tokens · lower wins | ||
Cheapest inputLowest input rate across third-party providers, excluding the lab itself. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | — | $0.02DeepInfra |
Cheapest outputLowest output rate across third-party providers, excluding the lab itself. May come from a different provider than the cheapest input. | — | $0.04DeepInfra |
| Benchmarks | ||
BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 46% | 14% |
| BenchmarksPublished by one model only | ||
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 33.4% | — |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 59.4% | — |
| Overview | ||
| Company | Anthropic | Meta |
| Release date | Jun 20 2024 | Jul 23 2024 |
| Access | Proprietary | Open Weight |
Other comparisons
Claude 3.5 SonnetvsGPT-6 AstraLLaMA 3.1vsGPT-6 AstraClaude 3.5 SonnetvsGemini 3.8 FlashLLaMA 3.1vsGemini 3.8 FlashClaude 3.5 SonnetvsGrok 4.6LLaMA 3.1vsGrok 4.6Claude 3.5 SonnetvsDeepSeek-V4.1-FlashLLaMA 3.1vsDeepSeek-V4.1-FlashClaude 3.5 SonnetvsMistral Medium 3.5LLaMA 3.1vsMistral Medium 3.5Claude 3.5 SonnetvsKimi K3LLaMA 3.1vsKimi K3
Frequently asked questions
Claude 3.5 Sonnet leads LLaMA 3.1 on 1 of the 1 benchmark they both report (BullshitBench v2). Claude 3.5 Sonnet shipped 33 days before LLaMA 3.1, so benchmark comparisons should account for the intervening progress.
Claude 3.5 Sonnet is proprietary, while LLaMA 3.1 is open weight.
On BullshitBench v2, Claude 3.5 Sonnet leads at 46% vs LLaMA 3.1 at 14%.