From 51f8e5a57bdedc7e3801a161e7c5267f1d6c32e7 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 004568d7618..0b82ed81606 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -22070,6 +22070,7 @@ "mode": "chat", "output_cost_per_token": 7e-06, "supports_function_calling": false, + "supports_reasoning": true, "supports_system_messages": true, "supports_tool_choice": false }, @@ -22121,6 +22122,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 8a5a455e6bd..a39b0c38b4c 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -22118,6 +22118,7 @@ "mode": "chat", "output_cost_per_token": 7e-06, "supports_function_calling": false, + "supports_reasoning": true, "supports_system_messages": true, "supports_tool_choice": false }, @@ -22169,6 +22170,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 },