Parameter Comparison
When
temperature is close to 0, n can only be 1. Otherwise, the API returns invalid_request_error.Kimi K2.5 β thinking Parameter
Kimi K2.5 supports thethinking parameter to control whether deep thinking is enabled. Accepts {"type": "enabled"} or {"type": "disabled"}.
Since the OpenAI SDK doesnβt have a native thinking parameter, use extra_body: