全部模型 / Alibaba · Qwen
qwen3.8-max
数据同步于
| 输入 | 缓存读取 | 输出 |
| Standard 默认 | $1.60 | $0.20 | $4.80 |
| Official | $2.00 | $0.25 | $6.00 |
| Alibaba · Qwen |
| |
| OpenAI Chat Completions |
| |
| |
| |
| Standard · Official |
| · |
| 10M in + 1M out | $20.80 |
| 100M in + 20M out | $256 |
curl https://api.xhuoapi.ai/v1/chat/completions \
-H "Authorization: Bearer $XHUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen3.8-max", "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.8-max",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)