Skip to content
llmmodels

Claude 3 Sonnet vs Gemma 2 27B

Claude 3 Sonnet wins 4 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (119.7 vs 118.6). Gemma 2 27B has open weights, so you can self-host and fine-tune it; Claude 3 Sonnet is API-only.

SpecClaude 3 SonnetGemma 2 27B
ProviderAnthropicGoogle DeepMind
ReleasedMar 4, 2024Jul 13, 2024 (better)
TypeChat LLMChat LLM
Parameters—27B
Context window—8K
Max output—2K
Input price / 1M—$0.65
Output price / 1M—$0.65
Input modalitiestext, image (better)text
Open weightsNoYes
LicenseProprietarygemma
Reasoning modeNoNo
Tool callingNoNo
API providers—4 (better)
Epoch Capabilities Index119.7 (better)118.6
GPQA Diamond40.6% (better)36.5%
OTIS Mock AIME2.5% (better)1.4%
MATH Level 518.2%27.9% (better)
LiveBench—38.2%
MMLU75.9% (better)75.7%

About Claude 3 Sonnet

Claude 3 Sonnet is a proprietary chat llm from Anthropic, released Mar 4, 2024. It has accepts text, image input. It scores 119.7 on the Epoch Capabilities Index. Full Claude 3 Sonnet specs →

About Gemma 2 27B

Gemma 2 27B is an open-weight chat llm from Google DeepMind, released Jul 13, 2024. It has 27B parameters and a 8K-token context window. API pricing starts at $0.65 per million input tokens and $0.65 per million output tokens. It is available from 4 API providers. It scores 118.6 on the Epoch Capabilities Index. Full Gemma 2 27B specs →

Compare other models

FAQ

Which is better, Claude 3 Sonnet or Gemma 2 27B?

Claude 3 Sonnet wins 4 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (119.7 vs 118.6). Gemma 2 27B has open weights, so you can self-host and fine-tune it; Claude 3 Sonnet is API-only.

Are Claude 3 Sonnet and Gemma 2 27B open source?

Claude 3 Sonnet is proprietary; Gemma 2 27B is open-weight.