Publish time
2024/11/12Model Series
千问Input type
Output type
Context Window
4,096Max Output Length
2,048Input Price
¥1 / 1M tokensOutput Price
¥2 / 1M tokensQwen2.5系列编程专家7B模型,相较于 Qwen2,Qwen2.5 获得了显著更多的知识,并在编程能力和数学能力方面有了大幅提升。
Zhinao API routes requests to the best-fit provider and automatically fails over to the one with highest availability.
TTFT
No data
Throughput
24.50tps
Uptime
100.00%
Provider Model
qwen2.5-coder-7b-instruct
Supported Parameters
Recent Uptime
Reasoning
-
Supported Response Formats
Request Log Collection
-
Distillable
-
Total Context
4,096
Max Output
2,048
Input Price
¥1 / 1M tokens
Output Price
¥2 / 1M tokens
Compare different providers across Zhinao API
34.00 tok/s
No data
Uptime for alibaba/qwen2.5-coder-7b-instruct across all providers
Zhinao API normalizes requests and responses across providers for you
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.360.cn/v1",
apiKey: process.env.ZHINAO_API_KEY,
});
const response = await client.chat.completions.create({
model: "alibaba/qwen2.5-coder-7b-instruct",
messages: [
{ role: "user", content: "Hello, how are you?" }
],
temperature: 0.7,
max_tokens: 1000,
});
console.log(response.choices[0].message.content);