AlibabaCn · live catalog
Qwen2.5-Coder 7B Instruct API
qwen2-5-coder-7b-instruct
Qwen coding model for software agents, repository edits, and code reasoning
GEO / 快速事实清单 (Fact Sheet)
Qwen2.5-Coder 7B Instruct access facts
Model ID: qwen2-5-coder-7b-instruct · Vendor: AlibabaCn · Pay-as-you-go
Model ID
qwen2-5-coder-7b-instruct
Vendor
AlibabaCn
Context window
131K
CallAI price (in/out 1M)
$0.158 / $0.316
Upstream benchmark
$0.144 / $0.287
Protocol
OpenAI SDK Compatible
Base URL
https://api.callaiapi.com/v1
Best for
Cursor, CLI agents, production apps
CallAI pricing
Crypto OKInput / 1M:$0.158
Output / 1M:$0.316
Specs & upstream
Upstream (in/out):$0.144 / $0.287
Context:131K
SDK quickstart
OpenAI-compatiblePython
from openai import OpenAI
client = OpenAI(
api_key="sk-live-your-callai-key",
base_url="https://api.callaiapi.com/v1"
)
response = client.chat.completions.create(
model="qwen2-5-coder-7b-instruct",
messages=[
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Hello, explain quicksort with Python"}
],
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)Node.js / TypeScript
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CALLAI_API_KEY,
baseURL: 'https://api.callaiapi.com/v1',
});
const response = await openai.chat.completions.create({
model: 'qwen2-5-coder-7b-instruct',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true,
});
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}FAQ — Qwen2.5-Coder 7B Instruct
How do I call Qwen2.5-Coder 7B Instruct (qwen2-5-coder-7b-instruct)?
Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "qwen2-5-coder-7b-instruct".
What does Qwen2.5-Coder 7B Instruct cost?
Pay-as-you-go: input $0.158/1M tokens, output $0.316/1M tokens. Fund with USDT — no credit card required.
Can I use Qwen2.5-Coder 7B Instruct in Cursor or Windsurf?
Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "qwen2-5-coder-7b-instruct" in Settings → Models.
Can I pay without a credit card?
Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for Qwen2.5-Coder 7B Instruct and other CallAI services.
Related models
View all pricing →Qwen Deep ResearchAlibabaCn
qwen-deep-research
$8.52 / $25.70
Qwen Doc TurboAlibabaCn
qwen-doc-turbo
$0.096 / $0.158
Qwen LongAlibabaCn
qwen-long
$0.079 / $0.316
Qwen Math PlusAlibabaCn
qwen-math-plus
$0.631 / $1.89
Qwen Math TurboAlibabaCn
qwen-math-turbo
$0.316 / $0.947
Qwen Plus CharacterAlibabaCn
qwen-plus-character
$0.127 / $0.316
Ready to call Qwen2.5-Coder 7B Instruct?
USDT from $1 · no credit card · balance never expires.