From 6d43c21ec641baee73e486ec3f9b72c1c36a850d Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Tue, 30 Jun 2026 19:19:48 +0000 Subject: [PATCH] fix(anthropic): drop redundant supports_output_config from Vertex/Azure Sonnet 5 The Vertex AI and Azure AI Sonnet 5 entries carried supports_output_config: true, which the gen-5 siblings (vertex_ai/claude-opus-4-8, azure_ai/claude-fable-5, etc.) do not. The flag only feeds AnthropicConfig._model_supports_effort_param, which already returns true for these entries via supports_xhigh/max_reasoning_effort, so output_config.effort still forwards on both routes. Removing it is behavior neutral and matches the existing per-platform convention for gen-5 Claude. --- litellm/model_prices_and_context_window_backup.json | 9 +++------ model_prices_and_context_window.json | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 5bd70690d48..b16e1015255 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -2737,8 +2737,7 @@ "supports_tool_choice": true, "supports_vision": true, "supports_xhigh_reasoning_effort": true, - "supports_max_reasoning_effort": true, - "supports_output_config": true + "supports_max_reasoning_effort": true }, "azure_ai/claude-sonnet-4-6": { "supports_adaptive_thinking": true, @@ -35235,8 +35234,7 @@ "supports_tool_choice": true, "supports_vision": true, "supports_xhigh_reasoning_effort": true, - "supports_max_reasoning_effort": true, - "supports_output_config": true + "supports_max_reasoning_effort": true }, "vertex_ai/claude-sonnet-4-6": { "supports_adaptive_thinking": true, @@ -42703,8 +42701,7 @@ "supports_tool_choice": true, "supports_vision": true, "supports_xhigh_reasoning_effort": true, - "supports_max_reasoning_effort": true, - "supports_output_config": true + "supports_max_reasoning_effort": true }, "vertex_ai/claude-sonnet-4-6@default": { "supports_adaptive_thinking": true, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 5fc431d721b..3e4c5b947a1 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -2737,8 +2737,7 @@ "supports_tool_choice": true, "supports_vision": true, "supports_xhigh_reasoning_effort": true, - "supports_max_reasoning_effort": true, - "supports_output_config": true + "supports_max_reasoning_effort": true }, "azure_ai/claude-sonnet-4-6": { "supports_adaptive_thinking": true, @@ -35412,8 +35411,7 @@ "supports_tool_choice": true, "supports_vision": true, "supports_xhigh_reasoning_effort": true, - "supports_max_reasoning_effort": true, - "supports_output_config": true + "supports_max_reasoning_effort": true }, "vertex_ai/claude-sonnet-4-6": { "supports_adaptive_thinking": true, @@ -42938,8 +42936,7 @@ "supports_tool_choice": true, "supports_vision": true, "supports_xhigh_reasoning_effort": true, - "supports_max_reasoning_effort": true, - "supports_output_config": true + "supports_max_reasoning_effort": true }, "vertex_ai/claude-sonnet-4-6@default": { "supports_adaptive_thinking": true,