From 4a74190c12d32b47e71ef0ede018b1b96e56f3b8 Mon Sep 17 00:00:00 2001 From: jlan-nl Date: Sun, 19 Oct 2025 07:04:14 +0200 Subject: [PATCH] Fix: Add gpt 4.1 pricing for response endpoint (#15593) * Add gpt41, gpt-41-mini, and gpt-41-nano to pricing and context window json * Add gpt-41s to azure_llms dict * Undo json changes --------- Co-authored-by: IQHL (Hans Jacob Landelius) --- litellm/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/litellm/__init__.py b/litellm/__init__.py index b80b18e1c2f..a871279d37f 100644 --- a/litellm/__init__.py +++ b/litellm/__init__.py @@ -767,6 +767,9 @@ azure_llms = { "gpt-35-turbo": "azure/gpt-35-turbo", "gpt-35-turbo-16k": "azure/gpt-35-turbo-16k", "gpt-35-turbo-instruct": "azure/gpt-35-turbo-instruct", + "azure/gpt-41":"gpt-4.1", + "azure/gpt-41-mini":"gpt-4.1-mini", + "azure/gpt-41-nano":"gpt-4.1-nano" } azure_embedding_models = {