AI Model Release Tracker - Timeline of Major AI Models from 2022-2026

Home/Compare/Claude Sonnet 4 vs Code Llama

Claude Sonnet 4 vs Code Llama

2 vs 0 benchmarks won

Anthropic
Claude Sonnet 4
Meta
Code Llama
Overview
CompanyAnthropicMeta
Release dateMay 22 2025Aug 24 2023
Model type
Open sourceNoYes
Specifications
Parameters
Context window
Benchmarks
Science reasoning
GPQA Diamond
75.4%
Software engineering
SWE-Bench Verified
72.7%
Multimodal understanding
MMMU
Timeline
Release gapCode Llama shipped 637 days before Claude Sonnet 4

Which is better: Claude Sonnet 4 or Code Llama?

Claude Sonnet 4 leads Code Llama on 2 of the tracked benchmarks (GPQA Diamond, SWE-Bench Verified, MMMU). Code Llama shipped 637 days before Claude Sonnet 4, so benchmark comparisons should account for the intervening progress.

Code Llama is an open-source / open-weight model; Claude Sonnet 4 is proprietary.

Direct benchmark comparisons are unavailable — at least one of these models has not published scores on GPQA Diamond, SWE-Bench Verified, or MMMU.

Frequently asked questions

When was Claude Sonnet 4 released?
Claude Sonnet 4 was released by Anthropic on May 22 2025.
When was Code Llama released?
Code Llama was released by Meta on Aug 24 2023.
Is Claude Sonnet 4 or Code Llama open source?
Code Llama is an open-source / open-weight model released by Meta. Claude Sonnet 4 is a proprietary model released by Anthropic.

Other comparisons