通义千问 Qwen 模型
通过 AI Gateway 接入通义千问 Qwen 3.x 全系列——Qwen3.8-Max、Qwen3.8-Flash 等,一个 OpenAI 兼容 API,积分按量计费。
Alibaba's Qwen family covers a wide capability/speed range, with strong multilingual performance. The tiers below are available through AI Gateway's single OpenAI-compatible endpoint.
可用模型
| 模型 | 上下文 | 适用场景 |
|---|---|---|
qwen3.8-max | 1M | 旗舰质量 |
qwen3.8-flash | 128K | 高速日常调用 |
qwen3.7-max | 1M | 复杂推理任务 |
qwen3.7-plus | 1M | 均衡生产默认 |
qwen3.7-flash | 128K | 高频低延迟 |
qwen3.6-plus / qwen3.6-flash | 1M / 128K | 上代高性价比 |
qwen3.5-plus | 1M | 稳定长上下文 |
各模型实时积分价格见模型列表页。
快速开始
Python(OpenAI SDK)
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://your-domain.com/api/ai/v1"
)
response = client.chat.completions.create(
model="qwen3.8-max",
messages=[{"role": "user", "content": "翻译这段产品文档为英文。"}]
)
print(response.choices[0].message.content)
将
your-domain.com替换为你的 AI Gateway 站点域名。注册后在控制台获取 API Key。
为什么通过 AI Gateway
- 一个 API Key 通用于 Qwen、GPT、Claude、Gemini、DeepSeek…
- OpenAI-compatible — existing SDKs work unchanged
- 积分永不过期——按 Token 付费
相关页面
| 模型 | 上下文 | 类型 |
|---|---|---|
qwen3.5-plus | 1M | chat |
qwen3.6-flash | 131K | chat |
qwen3.6-plus | 1M | chat |
qwen3.7-flash | 131K | chat |
qwen3.7-max | 1M | chat |
qwen3.7-plus | 1M | chat |
qwen3.8-flash | 131K | chat |
qwen3.8-max | 1M | chat |
qwen3.8-max-0902 | 131K | chat |
| 模型 | 上下文 | 类型 |
|---|---|---|
qwen3.5-plus | 1M | chat |
qwen3.6-flash | 131K | chat |
qwen3.6-plus | 1M | chat |
qwen3.7-flash | 131K | chat |
qwen3.7-max | 1M | chat |
qwen3.7-plus | 1M | chat |
qwen3.8-flash | 131K | chat |
qwen3.8-max | 1M | chat |
qwen3.8-max-0902 | 131K | chat |
| 模型 | 上下文 | 类型 |
|---|---|---|
qwen3.5-plus | 1M | chat |
qwen3.6-flash | 131K | chat |
qwen3.6-plus | 1M | chat |
qwen3.7-flash | 131K | chat |
qwen3.7-max | 1M | chat |
qwen3.7-plus | 1M | chat |
qwen3.8-flash | 131K | chat |
qwen3.8-max | 1M | chat |
qwen3.8-max-0902 | 131K | chat |
| 模型 | 上下文 | 类型 |
|---|---|---|
qwen3.5-plus | 1M | chat |
qwen3.6-flash | 131K | chat |
qwen3.6-plus | 1M | chat |
qwen3.7-flash | 131K | chat |
qwen3.7-max | 1M | chat |
qwen3.7-plus | 1M | chat |
qwen3.8-flash | 131K | chat |
qwen3.8-max | 1M | chat |
qwen3.8-max-0902 | 131K | chat |
| 模型 | 上下文 | 类型 |
|---|---|---|
qwen3.5-plus | 1M | chat |
qwen3.6-flash | 131K | chat |
qwen3.6-plus | 1M | chat |
qwen3.7-flash | 131K | chat |
qwen3.7-max | 1M | chat |
qwen3.7-plus | 1M | chat |
qwen3.8-flash | 131K | chat |
qwen3.8-max | 1M | chat |
qwen3.8-max-0902 | 131K | chat |
通过 AI Gateway 接入的优势
- 统一接口:OpenAI 兼容格式,一个 Base URL 调用全部厂商模型
- 一个 Key:无需逐家注册,积分通用、永不过期
- 按量计费:Token 级积分结算,缓存命中更优惠
- 灵活切换:改一个字符串即可切换模型或厂商
数据来源说明
规格与价格来自平台实时目录;性能数据来自厂商或第三方公开资料。本页更新于 2026-10-13。
| 模型 | 上下文 | 类型 |
|---|---|---|
qwen3.5-plus | 1M | chat |
qwen3.6-flash | 131K | chat |
qwen3.6-plus | 1M | chat |
qwen3.7-flash | 131K | chat |
qwen3.7-max | 1M | chat |
qwen3.7-plus | 1M | chat |
qwen3.8-flash | 131K | chat |
qwen3.8-max | 1M | chat |
qwen3.8-max-0902 | 131K | chat |
通过 AI Gateway 接入的优势
- 统一接口:OpenAI 兼容格式,一个 Base URL 调用全部厂商模型
- 一个 Key:无需逐家注册,积分通用、永不过期
- 按量计费:Token 级积分结算,缓存命中更优惠
- 灵活切换:改一个字符串即可切换模型或厂商
实际表现
当前目录共 9 个在售模型,上下文窗口覆盖 131K 至 1M Token,定位分布:light ×3、flagship ×2、balanced ×2、previous generation ×2。
价格与计费
所有模型均按 Token 积分计费:输入、输出与缓存分别计量,缓存命中大幅折扣。实时单价见模型价格页,本页不固定数字。
常见问题
通义千问 Qwen 的上下文視窗是多大?
1,000,000 Token(1M)
怎麼計費?
按 Token 用量以點數計費,快取命中更優。即時單價見模型價格頁。
需要註冊原廠商帳號嗎?
不需要。一組 AI Gateway API Key 即可呼叫本模型及站內全部其他模型。
数据来源说明
规格与价格来自平台实时目录;性能数据来自厂商或第三方公开资料。本页更新于 2026-10-13。
全部模型
每个模型都有独立详情页:规格、官方参考价、积分价与接入示例。
qwen3-235b-a22b-2507qwen3-vl-30b-a3b-instructqwen3-vl-235b-a22b-instructqwen3-next-80b-a3b-thinkingqwen3-next-80b-a3b-instructqwen3-coder-nextqwen3-coder-flashqwen3-coder-30b-a3b-instructqwen3-coderqwen3-235b-a22b-thinking-2507qwen3-vl-30b-a3b-thinkingqwen2.5-vl-72b-instructqwen-plusqwen3.8-2.4t-a95bqwen3.8-omni-flashqwen3.8-max-primeqwen3.8-27bqwen3.6-35b-a3bqwen3.6-27bqwen3.5-plus-02-15qwen3.5-flash-02-23qwen3.5-397b-a17bqwen3.5-35b-a3bqwen3.5-122b-a10bqwen3-vl-8b-instructqwen3.8-maxqwen3.7-plusqwen3.7-maxqwen3.7-flashqwen3.6-flashqwen3.5-plusqwen3.8-max-0902qwen3.8-flashqwen3.6-plusReady to build with Qwen?
One API Key, every model. Transparent pay-as-you-go pricing with credits that never expire.
Create free account