Qwen2.5 Coder 32B Instruct

Alibaba Qwenqwen/qwen-2.5-coder-32b-instructProviders: 1
Inputi$0.66per 1M tokens
Outputi$1per 1M tokens
Contexti32K32,768 tokens
ReleasedNov 11, 2024Max output: 29K

Where it stands

Quality in independent tests against price, next to 135 other models. Up means more capable, left means cheaper.

100110120130140150160170$0.01$0.03$0.1$0.3$1$3$10$30$100Overall indexPrice per million tokens, log scale (3 parts input to 1 part output)↖ Cheaper and smarterQwen2.5 Coder 32B Instruct
Scores: Epoch AI (CC BY 4.0). Prices: OpenRouter. View as a table

About this model

Qwen2.5 Coder 32B Instruct is an AI model from Alibaba Qwen, made available through the API on November 11, 2024. It can read up to 32,768 tokens in one request, roughly 61 pages of text, and write up to 29,491 tokens in a single answer.

Through the API it costs $0.66 per million input tokens and $1 per million output tokens. Its pricing sits in the middle of the market.

Its weights are openly published (Qwen/Qwen2.5-Coder-32B-Instruct), so it can also be downloaded and run on your own hardware.

Quality scores

Rankings →
119.4Overall index · #128 of 136

Benchmark data: Epoch AI, licensed CC BY 4.0

Where to use it

Companies that serve this model through an API: 1. Prices per million tokens, cheapest first.

ProviderInputiOutputiContextiUptime (24 h)i
Cloudflare
$0.66$132K99.1%

Availability and prices come from OpenRouter’s public API and are refreshed daily. Uptime is the share of successful requests over the last 24 hours. Some providers run a compressed version of open models (fp8, int4), which is cheaper but can be slightly less accurate.

Use it in your code

Call Qwen2.5 Coder 32B Instruct through OpenRouter’s OpenAI-compatible API: create a key on openrouter.ai, then run one of these examples.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "qwen/qwen-2.5-coder-32b-instruct", "messages": [{"role": "user", "content": "Hello! What can you do?"}]}'

The same code works with every model on this site: only the model ID changes. Many labs also offer their own API and SDK.

What it costs in practice

  • 1,000 chat replies
    ≈ 500 tokens in, 300 out each
    $0.63
  • Summarise a 100-page document
    ≈ 50,000 tokens in, 1,000 out
    $0.034
  • An app with 10,000 requests a day for a month
    ≈ 1,000 tokens in, 400 out each
    $318

Cost calculator →

Similar-priced alternatives

ModelInputiOutputiContexti
$0.66$1.981MCompare with ⇄
Kimi K2.7 CodeMoonshot AI
$0.66$3.30256KCompare with ⇄
Aion 3.5 MiniAion Labs
$0.70$1.40256KCompare with ⇄
$0.60$2.40256KCompare with ⇄
GLM 5Z.ai (Zhipu)
$0.60$1.92200KCompare with ⇄
$0.60$61MCompare with ⇄

News about Alibaba Qwen

See all →

Frequently asked questions

How much does Qwen2.5 Coder 32B Instruct cost?
Qwen2.5 Coder 32B Instruct costs $0.66 per million input tokens and $1 per million output tokens through the API. For example, 1,000 chat replies of about 500 tokens in and 300 out cost around $0.63.
What is the context window of Qwen2.5 Coder 32B Instruct?
Qwen2.5 Coder 32B Instruct can read up to 32,768 tokens in one request, about 61 pages of text. It can write up to 29,491 tokens in a single answer.
Is Qwen2.5 Coder 32B Instruct open source?
Yes. Its weights are published (Qwen/Qwen2.5-Coder-32B-Instruct), so you can download it and run it on your own hardware, or use it through one of 1 API providers.
Who makes Qwen2.5 Coder 32B Instruct?
Qwen2.5 Coder 32B Instruct is made by Alibaba Qwen. It became available through the API on November 11, 2024.
How good is Qwen2.5 Coder 32B Instruct?
Qwen2.5 Coder 32B Instruct has an overall index of 119.4 in Epoch AI’s independent tests, ranking #128 of 136 models we track.
Can Qwen2.5 Coder 32B Instruct read images?
No. Qwen2.5 Coder 32B Instruct only accepts text as input.
What are the alternatives to Qwen2.5 Coder 32B Instruct?
Models with a similar price from other companies include DeepSeek V4 Pro 0813, Kimi K2.7 Code and Aion 3.5 Mini. You can compare them side by side on this page.