国产分组(官方价 × 0.6)
qwen3.8-flash
价格已核验
API Model 参数
qwen3.8-flash
输入价格 (¥/1M)
¥0.4800
输出价格 (¥/1M)
¥1.62
输出/输入倍率
×3.375
价格来源:
https://alphatech.net.cn/api/pricing,采集时间 2026-10-11T08:10:39.293Z。
采用分组 cn(group_ratio ×0.6),输入 USD/1M = 0.057143 × 2 × 0.6 = $0.0686,人民币按 ¥7/USD 折算。
Python SDK 快速接入
from openai import OpenAI
# 初始化客户端,指向 AlphaTech 中继节点
client = OpenAI(
api_key="your_alphatech_api_key",
base_url="https://alphatech.net.cn/v1"
)
# 发送文本对话请求
response = client.chat.completions.create(
model="qwen3.8-flash",
messages=[
{"role": "system", "content": "你是由 AlphaTech 网关调度的 AI 助手。"},
{"role": "user", "content": "请简要介绍你的核心特点。"}
],
temperature=0.7,
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content or ""
print(content, end="", flush=True) cURL 原生请求
curl https://alphatech.net.cn/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_alphatech_api_key" \
-d '{
"model": "qwen3.8-flash",
"messages": [{"role": "user", "content": "Hello via AlphaTech"}]
}' Node.js / TypeScript SDK 接入
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.ALPHATECH_API_KEY,
baseURL: 'https://alphatech.net.cn/v1'
});
async function main() {
const stream = await client.chat.completions.create({
model: 'qwen3.8-flash',
messages: [{ role: 'user', content: 'Explain distributed consensus algorithms.' }],
stream: true,
});
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}
}
main();