Qwen/Qwen2.5-Coder-32B-InstructAPI pricing
Qwen2.5-Coder-32B-Instruct is Alibaba's instruction-tuned code model in the Qwen2.5-Coder series, with about 32.5 billion parameters. It is aimed at code generation, code reasoning and code fixing, as well as code agents.
- 每100万枚代币的价格
- $0.20 / $0.20input / output−79%
- 缓存的输入
- $0.10per 1M tokens
- 上下文
- 32K tokens29K max output
- 服务提供商
- 4
- 最快
- 41 tok/sCloudflare
服务提供商
4 家服务商 ·
32K context · 8.1K max output
支持的参数7
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format- 未确认
工具
32K context
支持的参数9
- 抽样
温度top_ptop_k种子logit_bias- 处罚
频率惩罚存在惩罚- 输出
停止response_format- 未确认
工具
32K 上下文 · 29K 最大输出
支持的参数11
- 抽样
温度top_ptop_kmin_p种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format- 未确认
工具
- 1 more provider through partner hosts · from $0.21 in · $0.21 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/qwen2.5-coder-32b", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/qwen2.5-coder-32b",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/qwen2.5-coder-32b",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Qwen/Qwen2.5-Coder-32B-Instruct 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/qwen2.5-coder-32b;其余代码保持不变。
About Qwen/Qwen2.5-Coder-32B-Instruct
- 标价
- $0.66 / $1.00in / out per 1M
- 保存与列表
- 78 %on a 1 : 3 input-to-output mix
- 请求示例
- $0.002210,000 in + 1,000 out
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
Qwen/Qwen2.5-Coder-32B-Instruct costs from $0.20 per 1M input tokens and $0.20 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. Its list price is $0.66 per 1M input tokens and $1.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 78 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0022, and 1,000 such requests about $2.21.
4 providers serve Qwen/Qwen2.5-Coder-32B-Instruct on OpenCheap. Its context window is 32K tokens (32,768), room for roughly 25,000 words of English in one request.
Qwen/Qwen2.5-Coder-32B-Instruct is one of 110 Qwen models on OpenCheap.
The public list price is $0.66 per 1M input tokens and $1.00 per 1M output tokens. OpenCheap is from $0.20 and $0.20, as of 2026-12-04 11:48 UTC.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Qwen/Qwen2.5-Coder-32B-Instruct API cost per 1M tokens?
Qwen/Qwen2.5-Coder-32B-Instruct costs from $0.20 per 1M input tokens and $0.20 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Qwen/Qwen2.5-Coder-32B-Instruct request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0022, and 1,000 such requests about $2.21. Every answer reports its own cost in usage.cost.
Is Qwen/Qwen2.5-Coder-32B-Instruct cheaper on OpenCheap than its list price?
Its list price is $0.66 per 1M input tokens and $1.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 78 % less here.
Which providers serve Qwen/Qwen2.5-Coder-32B-Instruct?
4 providers serve Qwen/Qwen2.5-Coder-32B-Instruct on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of Qwen/Qwen2.5-Coder-32B-Instruct?
Its context window is 32K tokens (32,768), room for roughly 25,000 words of English in one request.
How do I call the Qwen/Qwen2.5-Coder-32B-Instruct API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/qwen2.5-coder-32b. One OpenCheap key works for every model; the rest of your code stays the same.
More from Qwen
- Qwen3.8 Flashqwen3.8-flash$0.14 / $0.44 per 1M · 1M context
- Qwen 3 Coder 480Bqwen3-coder$0.075 / $0.25 per 1M · 262K context
- Qwen3 Coder Nextqwen3-coder-next$0.03 / $0.20 per 1M · 262K context
- Qwen3 235B A22B Instruct 2507qwen3-235b-a22b-2507$0.0014 / $0.0075 per 1M · 262K context
- Qwen3.6 27Bqwen3.6-27b$0.0053 / $0.053 per 1M · 262K context
- Qwen/Qwen3-32Bqwen3-32b$0.0096 / $0.032 per 1M · 131K context
- Qwen 2.5 7Be2ee-qwen-2.5-7b-p$0.052 / $0.14 per 1M · 32K context
- Qwen 3.6 35B A3Be2ee-qwen3.6-35b-a3b$0.19 / $1.24 per 1M · 128K context
类似型号
- Mercury Coder SmallInception · 32K context$0.25 / $1.00 per 1M
- Mistral Small 3.2 24B (2506)Mistral · 256K 上下文$0.07 / $0.19 per 1M21 % cheaper
- open-mistral-7bMistral · 32K context$0.26 / $0.26 per 1M
- 小米 Mimo V2.6 固件刷机小米 · 1M 上下文$0.021 / $0.25 per 1M
- deepseek-v4-flashDeepSeek · 100万上下文$0.073 / $0.15 per 1M36 % cheaper
- Reka Flash 3Reka · 65K context$0.10 / $0.21 per 1M8 % cheaper
Compare Qwen/Qwen2.5-Coder-32B-Instruct with any model →Cheapest LLM API