不同模型系列对 Chat Completions API 参数有不同的默认值和约束。完整的模型列表请参阅模型列表。Documentation Index
Fetch the complete documentation index at: https://platform.kimi.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
参数对比
当
temperature 接近 0 时,n 只能为 1,否则将返回 invalid_request_error。Kimi K2.6 — thinking 参数
Kimi K2.6 支持通过thinking 参数控制是否启用深度思考。接受 {"type": "enabled"} 或 {"type": "disabled"}。
由于 OpenAI SDK 没有原生的 thinking 参数,需要使用 extra_body 传递: