← All models

Anthropic

qwen-2.5-coder-32b-instruct

qwen/qwen-2.5-coder-32b-instruct

Price per million tokens

Input
$0.836
Output
$1.266
Cache write
not offered
Cache read
not offered

What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.

Limits

Context window
32,768 tokens
Max output
32,768 tokens
Images
text only

What it costs to run

WorkloadInputOutputCostPer 1,000 calls
Short chat turn1,000500$0.0015$1.47
Long document summary50,0002,000$0.0443$44.31
Agent step with tools20,0001,500$0.0186$18.61
1M in, 1M out1,000,0001,000,000$2.1016$2101.56

Calling it

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