Skip to content
llmmodels

Claude Sonnet 5 vs GPT OSS 120B

Claude Sonnet 5 wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (156.9 vs 140.2). GPT OSS 120B is about 25× cheaper on a blended (3:1 input:output) token price. Claude Sonnet 5 has the larger context window (1M vs 128K). GPT OSS 120B has open weights, so you can self-host and fine-tune it; Claude Sonnet 5 is API-only.

SpecClaude Sonnet 5GPT OSS 120B
ProviderAnthropicOpenAI
ReleasedJun 29, 2026 (better)Aug 5, 2025
TypeReasoning LLMReasoning LLM
Parameters—117B
Context window1M (better)128K
Max output125K (better)118K
Input price / 1M$2$0.09 (better)
Output price / 1M$10$0.36 (better)
Input modalitiestext, image, pdf, file (better)text
Open weightsNoYes
LicenseProprietaryapache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers5680 (better)
Epoch Capabilities Index156.9 (better)140.2
GPQA Diamond90.5% (better)75.8%
Terminal-Bench—18.7%
Aider Polyglot—41.8%
WebDev Arena1537—
OTIS Mock AIME94.7% (better)88.9%
FrontierMath65.6%—
SimpleQA Verified33.7%—
METR Time Horizon—42 min

Cost example

For a workload of 10M input + 2M output tokens per month: Claude Sonnet 5 costs $40.00 and GPT OSS 120B costs $1.62 at list price (Anthropic / openrouter pricing).

About Claude Sonnet 5

Claude Sonnet 5 is a proprietary reasoning llm from Anthropic, released Jun 29, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $10 per million output tokens. It is available from 56 API providers. It scores 156.9 on the Epoch Capabilities Index. Full Claude Sonnet 5 specs →

About GPT OSS 120B

GPT OSS 120B is an open-weight reasoning llm from OpenAI, released Aug 5, 2025. It has 117B parameters and a 128K-token context window. API pricing starts at $0.09 per million input tokens and $0.36 per million output tokens. It is available from 80 API providers. It scores 140.2 on the Epoch Capabilities Index. Full GPT OSS 120B specs →

Compare other models

FAQ

Which is better, Claude Sonnet 5 or GPT OSS 120B?

Claude Sonnet 5 wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (156.9 vs 140.2). GPT OSS 120B is about 25× cheaper on a blended (3:1 input:output) token price. Claude Sonnet 5 has the larger context window (1M vs 128K). GPT OSS 120B has open weights, so you can self-host and fine-tune it; Claude Sonnet 5 is API-only.

Is Claude Sonnet 5 cheaper than GPT OSS 120B?

Claude Sonnet 5 costs $2 input / $10 output per 1M tokens; GPT OSS 120B costs $0.09 / $0.36. GPT OSS 120B is cheaper overall.

Which has a bigger context window?

Claude Sonnet 5: 1,000,000 tokens. GPT OSS 120B: 131,072 tokens.

Are Claude Sonnet 5 and GPT OSS 120B open source?

Claude Sonnet 5 is proprietary; GPT OSS 120B is open-weight.