Skip to content
llmmodels

Anthropic: Claude 3.5 Haiku vs Qwen2.5-Coder-32B-Instruct

Anthropic: Claude 3.5 Haiku and Qwen2.5-Coder-32B-Instruct are evenly matched on the 4 benchmarks both report. Qwen2.5-Coder-32B-Instruct is about 1.8× cheaper on a blended (3:1 input:output) token price. Anthropic: Claude 3.5 Haiku has the larger context window (200K vs 32K). Qwen2.5-Coder-32B-Instruct has open weights, so you can self-host and fine-tune it; Anthropic: Claude 3.5 Haiku is API-only.

SpecAnthropic: Claude 3.5 HaikuQwen2.5-Coder-32B-Instruct
ProviderAnthropicAlibaba (Qwen)
ReleasedOct 22, 2024Nov 12, 2024 (better)
TypeChat LLMChat LLM
Parameters—33B
Context window200K (better)32K
Max output8K29K (better)
Input price / 1M$0.68$0.66 (better)
Output price / 1M$3.40$1 (better)
Input modalitiestext, image (better)text
Open weightsNoYes
LicenseProprietaryapache-2.0
Reasoning modeNoNo
Tool callingYesYes
API providers47 (better)
Epoch Capabilities Index124.8 (better)118.7
GPQA Diamond38.1%—
Aider Polyglot28.0% (better)16.4%
OTIS Mock AIME4.3%—
MATH Level 546.4%—
LiveBench43.5%46.2% (better)
MMLU74.3%79.1% (better)
GSM8K—93.0%
HellaSwag—83.0%

Cost example

For a workload of 10M input + 2M output tokens per month: Anthropic: Claude 3.5 Haiku costs $13.60 and Qwen2.5-Coder-32B-Instruct costs $8.60 at list price (poe / openrouter pricing).

About Anthropic: Claude 3.5 Haiku

Anthropic: Claude 3.5 Haiku is a proprietary chat llm from Anthropic, released Oct 22, 2024. It has a 200K-token context window and accepts text, image input. API pricing starts at $0.68 per million input tokens and $3.40 per million output tokens. It is available from 4 API providers. It scores 124.8 on the Epoch Capabilities Index. Full Anthropic: Claude 3.5 Haiku specs →

About Qwen2.5-Coder-32B-Instruct

Qwen2.5-Coder-32B-Instruct is an open-weight chat llm from Alibaba (Qwen), released Nov 12, 2024. It has 33B parameters and a 32K-token context window. API pricing starts at $0.66 per million input tokens and $1 per million output tokens. It is available from 7 API providers. It scores 118.7 on the Epoch Capabilities Index. Full Qwen2.5-Coder-32B-Instruct specs →

Compare other models

FAQ

Which is better, Anthropic: Claude 3.5 Haiku or Qwen2.5-Coder-32B-Instruct?

Anthropic: Claude 3.5 Haiku and Qwen2.5-Coder-32B-Instruct are evenly matched on the 4 benchmarks both report. Qwen2.5-Coder-32B-Instruct is about 1.8× cheaper on a blended (3:1 input:output) token price. Anthropic: Claude 3.5 Haiku has the larger context window (200K vs 32K). Qwen2.5-Coder-32B-Instruct has open weights, so you can self-host and fine-tune it; Anthropic: Claude 3.5 Haiku is API-only.

Is Anthropic: Claude 3.5 Haiku cheaper than Qwen2.5-Coder-32B-Instruct?

Anthropic: Claude 3.5 Haiku costs $0.68 input / $3.40 output per 1M tokens; Qwen2.5-Coder-32B-Instruct costs $0.66 / $1. Qwen2.5-Coder-32B-Instruct is cheaper overall.

Which has a bigger context window?

Anthropic: Claude 3.5 Haiku: 200,000 tokens. Qwen2.5-Coder-32B-Instruct: 32,768 tokens.

Are Anthropic: Claude 3.5 Haiku and Qwen2.5-Coder-32B-Instruct open source?

Anthropic: Claude 3.5 Haiku is proprietary; Qwen2.5-Coder-32B-Instruct is open-weight.