创建完成 (Legacy)
这是兼容性端点,不是当前主推荐路径。新接入请优先使用 /v1/chat/completions 或 /v1/responses。
当前生产状态
截至 2026 年 3 月 23 日,Crazyrouter 生产环境确认:
- 路由仍然存在
- 使用经典示例模型
gpt-3.5-turbo-instruct 发起请求时,返回 503
- 错误码为
model_not_found
- 错误信息为“temporarily unavailable”
也就是说,这个端点目前更适合“兼容旧客户端时再按需测试”,而不是作为默认新接入方案。
当前建议
- 新项目直接使用
Chat Completions
- 需要 GPT-5 推理、Web Search 等新能力时,优先使用
Responses
- 只有在你已经有旧版客户端、并且确认自己手上的 legacy 模型在当前环境可用时,才继续尝试
/v1/completions
Retest 模板
如果你必须验证某个旧模型是否还能走这个端点,建议先用 /v1/models 确认模型 ID,再做最小请求:
curl https://crazyrouter.com/v1/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "YOUR_LEGACY_MODEL",
"prompt": "Say hello in three words.",
"max_tokens": 16
}'
本次生产环境实际错误示例:
{
"error": {
"code": "model_not_found",
"message": "Model gpt-3.5-turbo-instruct is temporarily unavailable",
"type": "new_api_error"
}
}