Models / Qwen2.5 VL 7B
Qwen2.5 VL 7B
Qwen Tier 1Apache-2.0Lightweight vision-language model. Cost-effective for image classification and simple visual QA.
qwen/qwen2.5-vl-7bContext Window
131K
Max Output
8K
Providers
1
Released
2025-01
Capabilities
chatvisionstreaming
Pricing by Provider
| Provider | Input $/1M | Output $/1M | Latency p50 | Latency p95 | Status |
|---|---|---|---|---|---|
| alibaba | $0.10 | $0.40 | 250ms | 600ms |
Quick Start
Python
import magicrouter
mr = magicrouter.Client(
provider_keys={"alibaba": "your-api-key"}
)
response = mr.chat(
"qwen/qwen2.5-vl-7b",
"Your prompt here"
)
print(response.choices[0].message.content)TypeScript
import { MagicRouter } from "magicrouter";
const mr = new MagicRouter({
providerKeys: { alibaba: "your-api-key" }
});
const response = await mr.chat({
model: "qwen/qwen2.5-vl-7b",
messages: [{ role: "user", content: "Your prompt here" }]
});
console.log(response.choices[0].message.content);cURL
curl https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen2.5-vl-7b-instruct",
"messages": [{"role": "user", "content": "Your prompt here"}]
}'