Alibaba Qwen
Qwen 3.8 Max
Qwen 的旗舰模型,上下文长度为 100 万,可用于复杂的信息综合、编程和视觉推理。
公开 API 价格
查看所有价格档位$2.205 in / $6.615 out / 1M
Input / 1M$2.205
Output / 1M$6.615
Cached / 1M$0.275625
API 模型 ID
兼容 OpenAI 的 API
qwen3.8-max- 端点
POST /api/v1/chat/completions- 输入
- Text · Image
- 输出
- Text · JSON · Tool calls
- 费率
- $2.205 in / $6.615 out / 1M
- 上下文窗口
- 1,000,000 个词元
示例提示词“Design a concise 3-shot storyboard for a 10-second architectural lighting reel, returning valid JSON.”
适用场景
- Drop-in OpenAI SDK compatibility via POST /api/v1/chat/completions with a 1,000,000-token context window
- 严格遵循 JSON 模式的输出与工具调用,让智能体和流水线能可靠地自动执行任务
- 每个响应的 usage.cost 都给出确切美元费用,提交时执行每个密钥的支出限额
- API 模型 ID
qwen3.8-max- 模型开发者
- Alibaba Qwen
- 模态
- 语言与推理
- 输入
- Text · Image
- 输出
- Text · JSON · Tool calls
- 端点列表
POST /api/v1/chat/completionsGET /api/v1/modelsMCP runstage_chat- 基础设施
- 直连 GPU 集群
- 上下文窗口
- 1,000,000 个词元
- 最大输出
- 128,000 个词元 (网关上限)
- JSON 模式
- 结构化 JSON 模式
- 停止序列
- 支持
请求参数
modelstring · 必填Exact Runstage model slug (qwen3.8-max).
messagesarray · 必填OpenAI-compatible conversation array with role and content.
max_tokensinteger · 可选Maximum completion tokens supported by the Runstage gateway (up to 128,000).
temperaturenumber · 可选Sampling temperature controlling determinism vs. creativity (0.0 – 2.0).
其他参数
top_presponse_formattoolstool_choicestop
复制 Qwen 3.8 Max 的 curl 示例
curl -X POST 'https://runstage.dev/api/v1/chat/completions' \
-H "Authorization: Bearer $RUNSTAGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "qwen3.8-max", "max_tokens": 512, "messages": [ { "role": "user", "content": "Design a concise 3-shot storyboard for a 10-second architectural lighting reel, returning valid JSON." } ] }'价格
| 计费单位和选项 | 费率(美元) |
|---|---|
| Input tokensPer 1,000,000 prompt tokens | $2.205 |
| Output tokensPer 1,000,000 completion tokens (including reasoning) | $6.615 |
| Cached input readPer 1,000,000 cached prompt tokens | $0.275625 |
| Typical studio turnExample 4,000 input + 500 output tokens | $0.0121 |
计费说明
- Read live per-token pricing from GET /v1/models. Always set maxRetries: 0 on chat completions.
- 按输入和生成的词元数从 Runstage 预付钱包扣费,每个密钥均有美元支出上限。
Runstage 的实时目录价格。使用美元预付点数,每个密钥均有支出限额。
在完整目录中比较