Qwen2.5 Coder 32B Instruct
Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). Qwen2.5-Coder brings the following improvements upon CodeQwen1.5: - Significantly improvements in **code generation**, **code reasoning**...
Qwen2.5 Coder 32B Instruct 在 NextModel 中是什么?
Qwen2.5 Coder 32B Instruct 是 NextModel 目录中的 OpenRouter 模型,常用于 General chat via OpenRouter、API workloads 工作负载。当前展示价格为输入 $0.124 / 1M tokens、输出 $0.188 / 1M tokens 每 100 万 token,上下文窗口为 32.8k token。
适用场景
- General chat via OpenRouter
- API workloads
OpenAI 兼容调用示例
保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID qwen--qwen-2.5-coder-32b-instruct。
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="qwen/qwen-2.5-coder-32b-instruct",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)相似替代项
Aion 1.0
80Available through the NextModel gateway via OpenRouter.
Available through the NextModel gateway via OpenRouter.
Aion-RP-Llama-3.1-8B ranks the highest in the character evaluation portion of the RPBench-Auto benchmark, a roleplaying-specific variant of Arena-Hard-Auto, where LLMs evaluate each other’s responses. It is a fine-tuned base model...
常见问题