全部模型 / Alibaba · Qwen
qwen3.7-plus
数据同步于
| 输入 | 缓存读取 | 输出 | |
|---|---|---|---|
| Standard 默认 | $0.32 超过 256K: $1.60 / $4.80 | $0.032 | $1.28 |
| Official | $0.40 超过 256K: $2.00 / $6.00 | $0.040 | $1.60 |
| Alibaba · Qwen | |
| OpenAI Chat Completions | |
| > 256K | |
| Standard · Official | |
| · |
| 10M in + 1M out | $4.48 |
| 100M in + 20M out | $57.60 |
curl https://api.xhuoapi.ai/v1/chat/completions \
-H "Authorization: Bearer $XHUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen3.7-plus", "messages": [{"role": "user", "content": "Hello"}]}'
from openai import OpenAI
client = OpenAI(base_url="https://api.xhuoapi.ai/v1", api_key="YOUR_XHUOAPI_KEY")
resp = client.chat.completions.create(
model="qwen3.7-plus",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)