diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.py index b47cb19a5..2f2450340 100644 --- a/litellm/proxy/auth/auth_checks.py +++ b/litellm/proxy/auth/auth_checks.py @@ -908,6 +908,9 @@ def _model_is_within_list_of_allowed_models( return True if "all-proxy-models" in allowed_models: return True + # Note: This is here to maintain backwards compatibility. This Used to be in our code and removing could impact existing customer code + if "openai/*" in allowed_models: + return True if model in allowed_models: return True if _model_matches_patterns(model=model, allowed_models=allowed_models) is True: