anoman
Sign InGet API Key

Alibaba (Qwen)

Qwen 2.5 Coder 32B

modelopenrouter/qwen-2.5-coder-32b
MidStableCommunityβ˜… Low cost in tierStreamingToolsBatchUnited States

Context

33K

Input / 1M tokens

$0.6600

Output / 1M tokens

$1.00

Cached input / 1M tokens

β€” (bills at input price)

Cache write / 1M tokens

β€” (bills at input price)

About this model

Qwen 2.5 Coder 32B

Qwen 2.5 Coder 32B is tuned for code generation, completion, repair, and reasoning. It performs comparably to GPT-4o on coding benchmarks at a fraction of the cost.

Key facts

Maker
Alibaba (Qwen)
Context window
33K tokens
Max output
29K tokens
Lane
Community: needs account opt-in; the provider may use data for training
Modality
Text
Input price
$0.6600 per 1M tokens
Output price
$1.00 per 1M tokens
Processing region(s)
us
Route
Via OpenRouter
Cheapest plan
Available from the Pro plan
Price comparison
Priced below 84 of 129 pro-band community models on Anoman (blended price: 1 part input to 3 parts output).

More models by Alibaba (Qwen)

Released

2024-09

Training cutoff

2024-06

Parameters

32B (dense)

Ways to call

Ways to call Qwen 2.5 Coder 32B

Each model ID below is callable through the Anoman AI API. Price and processing region depend on the route.

Model IDRouteInput / output per 1M tokensRegion(s)LaneContext
openrouter/qwen-2.5-coder-32bVia OpenRouter$0.6600 / $1.00usCommunity (opt-in, may train)33K
qwen-2.5-coder-32b-openrouter-backupVia OpenRouter$0.6600 / $1.00usCommunity (opt-in, may train)33K

Best for

Use cases

  • IDE autocomplete + line completion
  • Code review + bug detection
  • Generating tests, docstrings, type annotations
  • Translating code between languages
  • Refactoring large diffs

Strengths

What it does well

  • HumanEval 92.7% β€” matches GPT-4o-class coding ability
  • Trained on 5.5T code tokens across 92 languages
  • Native FIM (fill-in-the-middle) for IDE workflows
  • Strong at long-form code understanding (LongBench-Code)

Limitations

Know the trade-offs

  • Optimized for code β€” general chat is weaker than Qwen 2.5 72B
  • Reasoning depth trails specialist models on math-heavy algorithm design
  • 32K context cap vs Qwen 2.5's 131K

Benchmarks

Published scores

Scores from official model cards and public leaderboards. Higher is better unless noted.

BenchmarkScoreMeasures
HumanEval92.7Python code generation, pass@1
MBPP82.0Mostly Basic Python Problems
LiveCodeBench31.4Recent contest problems (no benchmark contamination)
BigCodeBench38.3Realistic library-using tasks

Code example

Chat completion with Qwen 2.5 Coder 32B

from openai import OpenAI

client = OpenAI(
    base_url="https://api.anoman.io/v1",
    api_key="anm-sk-..."
)

response = client.chat.completions.create(
    model="openrouter/qwen-2.5-coder-32b",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Alternatives

Similar models in our catalog

Same maker first, then the closest price to Qwen 2.5 Coder 32B in the Anoman catalog.

Use Qwen 2.5 Coder 32B through Anoman.