Model Comparison

Claude 3.5 Haiku vs Qwen2.5-Coder 32B InstructWhich is better in 2026?

Claude 3.5 Haiku shows notably better performance in the majority of benchmarks. Qwen2.5-Coder 32B Instruct is 17.8x cheaper per token.

Verdict: Claude 3.5 Haiku vs Qwen2.5-Coder 32B Instruct — which is better?

Claude 3.5 Haiku (by Anthropic) and Qwen2.5-Coder 32B Instruct (by Alibaba Cloud / Qwen Team) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Claude 3.5 Haiku outperforms in 2 benchmarks (MATH, MMLU-Pro), while Qwen2.5-Coder 32B Instruct is better at 1 benchmark (HumanEval). Claude 3.5 Haiku shows notably better performance in the majority of benchmarks.

On price, Qwen2.5-Coder 32B Instruct is roughly 17.8x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Claude 3.5 Haiku also accepts a larger context window (200,000 input tokens), making it the stronger choice for long documents and large codebases.

Choose Claude 3.5 Haiku if…

  • you want the strongest raw capability — it leads on 2 of 3 shared benchmarks
  • you process long inputs — it offers a 200,000 token context window
  • you want the most recent training data — it shipped Oct 2024

Choose Qwen2.5-Coder 32B Instruct if…

  • cost matters — it's about 17.8x cheaper per token
  • you need open weights you can self-host or fine-tune

Performance Benchmarks

Comparative analysis across standard metrics

3 benchmarks

Claude 3.5 Haiku outperforms in 2 benchmarks (MATH, MMLU-Pro), while Qwen2.5-Coder 32B Instruct is better at 1 benchmark (HumanEval).

Claude 3.5 Haiku shows notably better performance in the majority of benchmarks.

Sun Jun 28 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Qwen2.5-Coder 32B Instruct costs less

For input processing, Claude 3.5 Haiku ($0.80/1M tokens) is 8.9x more expensive than Qwen2.5-Coder 32B Instruct ($0.09/1M tokens).

For output processing, Claude 3.5 Haiku ($4.00/1M tokens) is 44.4x more expensive than Qwen2.5-Coder 32B Instruct ($0.09/1M tokens).

In conclusion, Claude 3.5 Haiku is more expensive than Qwen2.5-Coder 32B Instruct.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sun Jun 28 2026 • llm-stats.com
Anthropic
Claude 3.5 Haiku
Input tokens$0.80
Output tokens$4.00
Best providerAWS Bedrock
Alibaba Cloud / Qwen Team
Qwen2.5-Coder 32B Instruct
Input tokens$0.09
Output tokens$0.09
Best providerLambda
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Claude 3.5 Haiku accepts 200,000 input tokens compared to Qwen2.5-Coder 32B Instruct's 128,000 tokens. Claude 3.5 Haiku can generate longer responses up to 200,000 tokens, while Qwen2.5-Coder 32B Instruct is limited to 128,000 tokens.

Anthropic
Claude 3.5 Haiku
Input200,000 tokens
Output200,000 tokens
Alibaba Cloud / Qwen Team
Qwen2.5-Coder 32B Instruct
Input128,000 tokens
Output128,000 tokens
Sun Jun 28 2026 • llm-stats.com

License

Usage and distribution terms

Claude 3.5 Haiku is licensed under a proprietary license, while Qwen2.5-Coder 32B Instruct uses Apache 2.0.

License differences may affect how you can use these models in commercial or open-source projects.

Claude 3.5 Haiku

Proprietary

Closed source

Qwen2.5-Coder 32B Instruct

Apache 2.0

Open weights

Release Timeline

When each model was launched

Claude 3.5 Haiku was released on 2024-10-22, while Qwen2.5-Coder 32B Instruct was released on 2024-09-19.

Claude 3.5 Haiku is 1 month newer than Qwen2.5-Coder 32B Instruct.

Claude 3.5 Haiku

Oct 22, 2024

1.7 years ago

1mo newer
Qwen2.5-Coder 32B Instruct

Sep 19, 2024

1.8 years ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

Claude 3.5 Haiku is available from Bedrock, Google, Anthropic. Qwen2.5-Coder 32B Instruct is available from Lambda, DeepInfra, Hyperbolic, Fireworks.

Claude 3.5 Haiku

bedrock logo
AWS Bedrock
Input Price:Input: $0.80/1MOutput Price:Output: $4.00/1M
google logo
Google
Input Price:Input: $0.80/1MOutput Price:Output: $4.00/1M
anthropic logo
Anthropic
Input Price:Input: $1.00/1MOutput Price:Output: $5.00/1M

Qwen2.5-Coder 32B Instruct

lambda logo
Lambda
Input Price:Input: $0.09/1MOutput Price:Output: $0.09/1M
deepinfra logo
Deepinfra
Input Price:Input: $0.18/1MOutput Price:Output: $0.18/1M
hyperbolic logo
Hyperbolic
Input Price:Input: $0.20/1MOutput Price:Output: $0.20/1M
fireworks logo
Fireworks
Input Price:Input: $0.89/1MOutput Price:Output: $0.89/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (200,000 tokens)
Higher MATH score (69.4% vs 57.2%)
Higher MMLU-Pro score (65.0% vs 50.4%)
Less expensive input tokens
Less expensive output tokens
Has open weights
Higher HumanEval score (92.7% vs 88.1%)

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Claude 3.5 Haiku and Qwen2.5-Coder 32B Instruct side-by-side, then vote on the output you prefer.

Claude 3.5 Haiku
✓ Preferred
Qwen2.5-Coder 32B Instruct
Open in Playground
AI Model Comparison Table
Feature
Anthropic
Claude 3.5 Haiku
Alibaba Cloud / Qwen Team
Qwen2.5-Coder 32B Instruct

FAQ

Common questions about Claude 3.5 Haiku vs Qwen2.5-Coder 32B Instruct.

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

Claude 3.5 Haiku shows notably better performance in the majority of benchmarks. Claude 3.5 Haiku is made by Anthropic and Qwen2.5-Coder 32B Instruct is made by Alibaba Cloud / Qwen Team. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Claude 3.5 Haiku compare to Qwen2.5-Coder 32B Instruct in benchmarks?

Claude 3.5 Haiku scores HumanEval: 88.1%, MGSM: 85.6%, DROP: 83.1%, MATH: 69.4%, MMLU-Pro: 65.0%. Qwen2.5-Coder 32B Instruct scores HumanEval: 92.7%, GSM8k: 91.1%, MBPP: 90.2%, HellaSwag: 83.0%, Winogrande: 80.8%.

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

Qwen2.5-Coder 32B Instruct is 8.9x cheaper for input tokens. Claude 3.5 Haiku costs $0.80/M input and $4.00/M output via bedrock. Qwen2.5-Coder 32B Instruct costs $0.09/M input and $0.09/M output via lambda.

What are the context window sizes for Claude 3.5 Haiku and Qwen2.5-Coder 32B Instruct?

Claude 3.5 Haiku supports 200K tokens and Qwen2.5-Coder 32B Instruct supports 128K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude 3.5 Haiku and Qwen2.5-Coder 32B Instruct?

Key differences include context window (200K vs 128K), input pricing ($0.80 vs $0.09/M), licensing (Proprietary vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude 3.5 Haiku and Qwen2.5-Coder 32B Instruct?

Claude 3.5 Haiku is developed by Anthropic and Qwen2.5-Coder 32B Instruct is developed by Alibaba Cloud / Qwen Team.