qwen logo
qwen

Qwen2.5 Coder 32B Instruct

Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). $0.66 per million input tokens, $1 per million output tokens. 32,768 token context window, maximum output of 32,768 tokens. Includes independent benchmarks from Artificial Analysis.

Overview

Model specifications

Context
32,768 tokens
Maximum output
29,491 tokens
Architecture
text->text
Tokenizer
Qwen
Knowledge cutoff
2024-06-30
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.66
/M tokens
Output
$1
/M tokens
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

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!"}]}'
Capabilities

InputOutput

Input
text
Output
text
API

Supported API parameters

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyseedstoptemperaturetop_ktop_p
Available providers

1 Provider

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Cloudflare

unknown
Context
33K
Maximum output
29K
Input
$0.660
Output
$1.00
Cache read
Not provided
Cache write
Not provided
qwen

models

All models