快速模式

模驿API 的 OpenAI 兼容接口支持快速模式(Fast mode,原名 Priority processing)。

使用快速模式

在 Chat Completions 或 Responses API 请求中加入:

json
"service_tier": "fast"

Python 示例:

python
from openai import OpenAI

client = OpenAI(
    api_key="sk-moyiapi-xxxxxx",
    base_url="https://api.moyiapi.cn/v1",
)

resp = client.responses.create(
    model="gpt-5.6-sol",
    input="帮我分析这个需求",
    service_tier="fast",
)
print(resp.output_text)

旧写法 "service_tier": "priority" 仍然兼容,两者效果相同。

适用模型

适用于所有支持快速模式的 GPT 系列模型。gpt-5.6-sol 开启后最高可达标准速度的 2.5 倍。快速模式按标准价 2 倍计费。

响应差异

响应对象里的 service_tier 表示本次实际使用的档位。对于 GPT-5.6 及更早模型,开启快速模式后该字段可能仍返回 "priority",这是正常现象。

准备好了?三步即可开始登录控制台 · 购买额度 · 创建 API Key
DiscordGet community help instantly
快速模式 · 帮助文档