33K context · — params · —
alibaba/qwen-2-5-7b-instruct
Qwen2.5 7B is the latest series of Qwen large language models. Qwen2.5 brings the following improvements upon Qwen2: - Significantly more knowledge and has greatly improved capabilities in coding and...
Reachability & verification
Live reachability
Target (Alibaba Cloud DashScope): https://dashscope.aliyun.com/compatible-mode/v1
Overseas reference latency (est.)
Live reachability probe
Measured in real time from the ModelHub gateway egress to this model's API endpoint. Green means reachable right now. Overseas reference latencies are estimates; the live probe is the proof of current reachability.
Official Path Verified by ModelHub
Pricing across providers
1Prices are shown in each provider's billing currency — ¥ (CNY) for Chinese providers, $ (USD) for overseas gateways.
| Provider | Input /1M | Output /1M | Blended | Ctx | p50 latency | API | Verified |
|---|---|---|---|---|---|---|---|
| Alibaba Cloud DashScopeqwen-2.5-7b-instruct | ¥0.04 | ¥0.1 | ¥0.055 | 33K | — | OAI | 119d ago |
Works with
Any OpenAI-compatible client works — point the base URL at the provider endpoint.
Capabilities
Code samples
from openai import OpenAI
client = OpenAI(
base_url="https://dashscope.aliyun.com/compatible-mode/v1",
api_key="YOUR_API_KEY",
)
resp = client.chat.completions.create(
model="qwen-2.5-7b-instruct",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)curl https://dashscope.aliyun.com/compatible-mode/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-2.5-7b-instruct",
"messages": [{"role": "user", "content": "Hello!"}]
}'import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://dashscope.aliyun.com/compatible-mode/v1",
apiKey: "YOUR_API_KEY",
});
const resp = await client.chat.completions.create({
model: "qwen-2.5-7b-instruct",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);Technical specs
Context
33K
Max output
33K
Parameters
—
Release
—
Training cutoff
—
License
—
Similar models
Frequently asked questions
How much does Qwen2.5 7B Instruct cost?
The cheapest tracked blended price is ¥0.055 per 1M tokens on Alibaba Cloud DashScope. See the pricing matrix above for input/output splits per provider.
Can I use Qwen2.5 7B Instruct from outside China?
Availability depends on the hosting provider. Use our Path Planner on the Alibaba Cloud DashScope page to map a verified official-vs-brokered access path, including payment and KYC constraints.
Is Qwen2.5 7B Instruct open source?
Yes — Qwen2.5 7B Instruct is open-weight under the — license. You can self-host it or use any listed inference provider.
Is Qwen2.5 7B Instruct OpenAI-compatible?
Yes — at least one tracked provider exposes an OpenAI-compatible endpoint, so Cursor, Cline, Aider and similar clients work with just a base-URL change.
What is the maximum context window?
Qwen2.5 7B Instruct supports up to 33K tokens of context with a maximum output of 33K tokens.
Need verified access to Qwen2.5 7B Instruct?
We broker vetted intros to Alibaba Cloud DashScope — payment, KYC and endpoint verification handled.