From e0bb0206eb626820cd9bf4a83a4f9d3250b141ee Mon Sep 17 00:00:00 2001 From: Emmanuel Acheampong Date: Fri, 20 Mar 2026 09:53:00 -0700 Subject: [PATCH] feat(crusoe): add supports_reasoning flag for DeepSeek-R1 and Kimi-K2-Thinking These are reasoning/thinking models but were missing the flag, causing litellm.supports_reasoning() to return False and reasoning-token handling to not activate. Co-Authored-By: Claude Opus 4.6 (1M context) --- litellm/model_prices_and_context_window_backup.json | 2 ++ model_prices_and_context_window.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 43caee55425..db7265dd3fe 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -20453,6 +20453,7 @@ "mode": "chat", "output_cost_per_token": 7e-06, "supports_function_calling": false, + "supports_reasoning": true, "supports_system_messages": true, "supports_tool_choice": false }, @@ -20504,6 +20505,7 @@ "mode": "chat", "output_cost_per_token": 2.5e-06, "supports_function_calling": false, + "supports_reasoning": true, "supports_system_messages": true, "supports_tool_choice": false }, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 58b5a582e02..a852d3bef01 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -20453,6 +20453,7 @@ "mode": "chat", "output_cost_per_token": 7e-06, "supports_function_calling": false, + "supports_reasoning": true, "supports_system_messages": true, "supports_tool_choice": false }, @@ -20504,6 +20505,7 @@ "mode": "chat", "output_cost_per_token": 2.5e-06, "supports_function_calling": false, + "supports_reasoning": true, "supports_system_messages": true, "supports_tool_choice": false },