Skip to content
Qwen2.5 Coder 32B Instruct logo

Qwen2.5 Coder 32B Instruct

Verified

Open-weight LLM optimized for code generation and programming tasks.

Alibaba QwenLanguage ModelsOpenII 12.9
Model page
Updated 2026-06-15

About Qwen2.5 Coder 32B Instruct

The model uses the Qwen2.5 architecture with 32 billion parameters and a 128k token context length. This setup supports processing extended codebases and complex multi-file projects. Instruction tuning aligns it for following detailed developer prompts in code-related scenarios.

Developers apply it to code completion, debugging, refactoring, and generating scripts or algorithms. Its open weights enable local deployment, fine-tuning on proprietary datasets, and integration into custom tools. The text modality concentrates performance on programming languages, documentation, and technical problem-solving.

Capabilities

Code generation
Code completion and editing
Long-context code understanding
Debugging and error analysis
Multi-language programming support
Technical instruction following

Benchmarks & performance

Independent evaluation scores and measured speed.

12.9
Intelligence Index

Source: Artificial Analysis

How Qwen2.5 Coder 32B Instruct compares

Qwen2.5 Coder 32B Instruct (striped bar) vs other language models on intelligence, speed and price.

Intelligence

Artificial Analysis Intelligence Index · Higher is better · Qwen2.5 Coder 32B Instruct ranks #54 of 67

17
DeepSeek V3
16
R1 Distill Llama 70B
16
Qwen2.5 72B Instruct
15
Qwen3 32B
14
Command A
13
Mistral Large 2407
13
Qwen2.5 Coder 32B Instruct
13
Qwen3 14B
13
Mistral Small 3
13
Qwen3 30B A3B
12
Granite 4.1 8B
11
Qwen3 8B
11
LFM2-24B-A2B

Price

USD per 1M output tokens · Lower is better · Qwen2.5 Coder 32B Instruct ranks #88 of 141

$0.95
DeepSeek V3.1 Terminus
$0.95
MiniMax M2.1
$0.97
Qwen3 Coder Flash
$1.0
MiniMax M2
$1.0
MiniMax M2.7
$1.0
Hermes 3 405B Instruct
$1.0
Qwen2.5 Coder 32B Instruct
$1.0
Weaver
$1.1
Qwen3 Next 80B A3B Instruct
$1.1
INTELLECT-3
$1.2
KAT-Coder-Pro V2
$1.2
Virtuoso Large
$1.2
Morph V3 Fast

Sources: Artificial Analysis (intelligence, speed) · OpenRouter (price).

Best for

Debugging and Error Analysis in Large Repositories

The model excels at identifying issues and providing fixes within extensive codebases thanks to its long-context code understanding and dedicated debugging capabilities.

Code Generation from Technical Specifications

It performs well when translating detailed technical instructions into functional code across multiple programming languages.

Code Completion and Editing in Extended Contexts

The model supports precise code completion and editing tasks that require maintaining coherence over 128000 tokens of surrounding code.

Strengths & limitations

Strengths

  • +Strong coding specialization
  • +Effective handling of large code contexts
  • +Developer-oriented instruction tuning
  • +Balanced performance at 32B scale

Limitations

  • Text-only modality
  • Weaker on non-coding tasks
  • Risk of code hallucinations in complex scenarios

Cost calculator

Estimate what Qwen2.5 Coder 32B Instruct would cost for your usage.

$0.00116
per request
$11.6
estimated / month

Based on Qwen2.5 Coder 32B Instruct's $0.66/1M input · $1.00/1M output. Estimate only — actual cost varies by provider and caching.

Quick start

OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. Only the model slug changes between models.

JavaScript · openai
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://openrouter.ai/api/v1",
  apiKey: process.env.OPENROUTER_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "qwen/qwen-2.5-coder-32b-instruct",
  messages: [{ role: "user", content: "Hello!" }],
});

console.log(completion.choices[0].message.content);

Model slug: qwen/qwen-2.5-coder-32b-instruct

Editor's verdict

Our take on Qwen2.5 Coder 32B Instruct

Qwen2.5 Coder 32B Instruct is Alibaba Qwen's open-weight language models with a 128K-token context window.

On independent testing it scores 12.9 on the Artificial Analysis Intelligence Index.

At $1.00 per 1M output tokens, it is mid-priced for its class.

As an open-weight model you can self-host it or call it through a hosted API.

Best suited to strong coding specialization and effective handling of large code contexts.

Did you find this helpful?

Frequently asked questions

The model has a context window of 128000 tokens.

User reviews

Real, verified reviews from the community shape this model's rating.

Loading reviews…

Sign in to review

Other Qwen models

Sibling versions in the Qwen family from Alibaba Qwen.

Promote Qwen2.5 Coder 32B Instruct

Add this badge to your website, or share the tool.

DFeatured on DhanasviQwen2.5 Coder 32B Instruct 1