Skip to content
llmmodels

Claude Sonnet 5 vs Qwen3.8 27B

Claude Sonnet 5 and Qwen3.8 27B are evenly matched on the 2 benchmarks both report. Qwen3.8 27B is about 10× cheaper on a blended (3:1 input:output) token price. Qwen3.8 27B has the larger context window (1M vs 1M). Qwen3.8 27B has open weights, so you can self-host and fine-tune it; Claude Sonnet 5 is API-only.

SpecClaude Sonnet 5Qwen3.8 27B
ProviderAnthropicAlibaba (Qwen)
ReleasedJun 29, 2026Aug 14, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters—28B
Context window1M1M (better)
Max output125K128K (better)
Input price / 1M$2$0.035 (better)
Output price / 1M$10$1.50 (better)
Input modalitiestext, image, pdf, file (better)text, image, video
Open weightsNoYes
LicenseProprietaryapache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers5672 (better)
Epoch Capabilities Index156.9 (better)152.6
GPQA Diamond90.5%—
WebDev Arena15371593 (better)
OTIS Mock AIME94.7%—
FrontierMath65.6%—
ARC-AGI-2—42.4%
SimpleQA Verified33.7%—

Cost example

For a workload of 10M input + 2M output tokens per month: Claude Sonnet 5 costs $40.00 and Qwen3.8 27B costs $3.35 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 Qwen3.8 27B

Qwen3.8 27B is an open-weight reasoning llm from Alibaba (Qwen), released Aug 14, 2026. It has 28B parameters, a 1M-token context window and accepts text, image, video input. API pricing starts at $0.035 per million input tokens and $1.50 per million output tokens. It is available from 72 API providers. It scores 152.6 on the Epoch Capabilities Index. Full Qwen3.8 27B specs →

Compare other models

FAQ

Which is better, Claude Sonnet 5 or Qwen3.8 27B?

Claude Sonnet 5 and Qwen3.8 27B are evenly matched on the 2 benchmarks both report. Qwen3.8 27B is about 10× cheaper on a blended (3:1 input:output) token price. Qwen3.8 27B has the larger context window (1M vs 1M). Qwen3.8 27B has open weights, so you can self-host and fine-tune it; Claude Sonnet 5 is API-only.

Is Claude Sonnet 5 cheaper than Qwen3.8 27B?

Claude Sonnet 5 costs $2 input / $10 output per 1M tokens; Qwen3.8 27B costs $0.035 / $1.50. Qwen3.8 27B is cheaper overall.

Which has a bigger context window?

Claude Sonnet 5: 1,000,000 tokens. Qwen3.8 27B: 1,024,000 tokens.

Are Claude Sonnet 5 and Qwen3.8 27B open source?

Claude Sonnet 5 is proprietary; Qwen3.8 27B is open-weight.