litellm/litellm
Jesus Velarde b3a361e648 fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted
A key or team restricted to an access group or a public model name got a 403 when the request named a deployment by its litellm_params.model, because every model access check keys by public name. Auth now admits such a name on the request path when the caller is granted at least one deployment it selects, and the router asks the proxy which of the deployments it resolved the caller may use, so the request is load balanced across the granted ones only.

The router core gets one host step, authorize_candidates, asked on every resolution of a request that names a deployment's litellm model for a keyed caller, and on a custom strategy's pre-routed pick. A caller left with no deployment gets the key model access denied 403 with no retry, fallback or passthrough. Dispatches in route_llm_request that skip the router refuse such a name when the caller could not have requested it in strict mode. Every other caller of the model gates keeps the strict default.
2026-11-26 03:17:39 -08:00
..
a2a_protocol refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
accounting fix(accounting): initialize Prometheus collectors lazily instead of at import time (#54393) 2026-11-25 09:33:57 -08:00
anthropic_interface refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
assistants refactor(types): annotate repeated bare-container parameters across method families (#54268) 2026-11-24 14:13:19 -08:00
batch_completion refactor(types): replace Unknown with proven types in 131 more files (#54119) 2026-11-24 02:26:51 -08:00
batches refactor(types): type the params models' get and read keys and base URLs through a str-or-None helper (#54589) 2026-11-26 04:13:56 +00:00
caching fix(hosted_vllm): keep vLLM's prompt_token_ids on the first streamed chat chunk (#51087) 2026-11-25 19:54:45 -08:00
chat_completions
cli
completion_extras fix(responses): preserve refusal text in bridged chat streams (#54496) 2026-11-25 12:50:20 -08:00
compression refactor(types): replace Unknown with proven types in 131 more files (#54119) 2026-11-24 02:26:51 -08:00
containers refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
decisions
deploy build(docker): build OpenSSL 3.5 LTS from source for Prisma instead of Wolfi libssl3 3.6 (#54426) 2026-11-25 18:12:01 -08:00
embeddings
endpoints/speech/speech_to_completion_bridge fix(gemini): return raw pcm16 when Gemini TTS answers WAV audio (#51145) 2026-11-24 08:45:12 -08:00
enterprise fix(proxy): fence the Gemini pass-through file list by owner (#54308) 2026-11-25 11:25:16 -08:00
evals refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
experimental_mcp_client
extraction
files chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
fine_tuning refactor(types): type the params models' get and read keys and base URLs through a str-or-None helper (#54589) 2026-11-26 04:13:56 +00:00
google_genai fix(google_genai): log streamGenerateContent calls when the client disconnects early (#54545) 2026-11-25 16:21:01 -08:00
harness refactor(typing): clear basedpyright Any errors across 35 files (#53599) 2026-11-24 00:39:02 +00:00
images feat(volcengine): add Ark Seedream image generation, editing, and pricing (#54076) 2026-11-26 07:52:44 +00:00
integrations refactor(types): type the dict-style accessors on the response models and their read sites (#54620) 2026-11-26 04:15:22 +00:00
interactions refactor(types): type the params models' get and read keys and base URLs through a str-or-None helper (#54589) 2026-11-26 04:13:56 +00:00
litellm_core_utils fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
llms feat(volcengine): add Ark Seedream image generation, editing, and pricing (#54076) 2026-11-26 07:52:44 +00:00
mcp_client refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
messages fix(anthropic): keep caller tool_use ids unless the upstream rejects them (#54468) 2026-11-26 05:55:01 +00:00
models refactor(typing): clear 102 basedpyright Any errors across 21 files (#54586) 2026-11-25 19:03:46 -08:00
ocr
packaging bump: litellm-enterprise 0.1.88 -> 0.1.90, litellm-proxy-extras 0.4.120 -> 0.4.122, litellm 1.112.0 -> 1.113.0 (#54314) 2026-11-24 16:46:51 -08:00
passthrough fix(bedrock): send pass-through calls the model id chat completions sends (#53836) 2026-11-25 18:42:28 -08:00
proxy fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
proxy-extras bump: litellm-enterprise 0.1.88 -> 0.1.90, litellm-proxy-extras 0.4.120 -> 0.4.122, litellm 1.112.0 -> 1.113.0 (#54314) 2026-11-24 16:46:51 -08:00
proxy_auth
rag refactor(typing): clear 102 basedpyright Any errors across 21 files (#54586) 2026-11-25 19:03:46 -08:00
realtime_api feat(gnani): add Prisma v2.5 and v3.0 realtime transcription (#53828) 2026-11-25 10:51:59 +00:00
redis fix(proxy): write a cold spend counter's cached spend once (#52806) 2026-11-24 13:00:34 -08:00
repositories perf(auth): read the auth prefetch owner rows through a rust repository (#53452) 2026-11-25 08:02:02 +09:00
rerank_api refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
responses chore(techdebt): remove fresh suppressions and dynamic getattr added on 2026-11-25 (#54662) 2026-11-26 08:31:53 +00:00
router_rust fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
router_strategy fix(gemini): return an error instead of an empty 200 when a Gemini image request gets no image (#29125) 2026-11-25 20:55:23 +00:00
router_utils fix(ocr): report an unreachable document URL as a 400, not a provider 500 (#54215) 2026-11-26 07:56:58 +00:00
runtime refactor(proxy)!: remove the TypeSafe pass-through route in favor of the unified decision endpoints (#52165) 2026-11-24 16:05:44 -08:00
rust fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
rust_bridge fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
sandbox refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
scripts fix(lint_config): check model_info and report settings a model needs (#54290) 2026-11-25 00:11:17 +00:00
search refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
secret_managers chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
skills refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
systemone
telemetry
text_completions refactor(types): type the dict-style accessors on the response models and their read sites (#54620) 2026-11-26 04:15:22 +00:00
types fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
ui refactor(ui): remove eight unused dashboard locals (#54591) 2026-11-26 02:37:07 +00:00
vector_store_files refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
vector_stores fix(passthrough): find a new Azure AI Search index in the DB on a registry miss (#51098) 2026-11-26 08:29:21 +00:00
videos refactor(types): type the kwargs reads in the videos, skills, evals, vector store and container entrypoints (#54630) 2026-11-26 05:07:52 +00:00
vscode-extension
__init__.py fix(ocr): report an unreachable document URL as a 400, not a provider 500 (#54215) 2026-11-26 07:56:58 +00:00
_internal_context.py fix(proxy): keep a request's slot, TPM and budget holds while it runs MCP tools (#54469) 2026-11-26 08:11:44 +00:00
_lazy_imports.py
_lazy_imports_registry.py
_logging.py fix(proxy): redact credential-named provider error fields that the name check skipped (#54302) 2026-11-24 23:54:47 +00:00
_process_defaults.py
_redis.py refactor(types): give untyped kwargs and args parameters proven types in 36 files (#54203) 2026-11-24 10:51:54 -08:00
_redis_credential_provider.py
_service_logger.py refactor(types): type bare dict data and request_data parameters across method families (#54192) 2026-11-24 08:39:27 -08:00
_uuid.py
_version.py
anthropic_beta_gated_fields.py
anthropic_beta_headers_config.json fix(bedrock,databricks): forward the server-side-fallback beta and drop it under drop_params where the model lacks it (#53857) 2026-11-24 03:09:16 +00:00
anthropic_beta_headers_manager.py refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
blog_posts.json
budget_manager.py refactor(types): replace Unknown with proven types in 86 files (#53803) 2026-11-24 12:45:20 +00:00
constants.py fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
cost.json
cost_calculator.py fix(a2a): bill chat route agent calls at the agent's own price (#51808) 2026-11-26 05:44:54 +00:00
exceptions.py fix(ocr): report an unreachable document URL as a 400, not a provider 500 (#54215) 2026-11-26 07:56:58 +00:00
guardrails.py
main.py fix(speech)!: use the provider api key get_llm_provider resolves (#39522) 2026-11-24 23:10:44 +00:00
model_prices_and_context_window_backup.json feat(volcengine): add Ark Seedream image generation, editing, and pricing (#54076) 2026-11-26 07:52:44 +00:00
policy_templates_backup.json
provider_endpoints_support_backup.json feat(volcengine): add Ark Seedream image generation, editing, and pricing (#54076) 2026-11-26 07:52:44 +00:00
py.typed
router.py fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
router_api.py fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
router_attempt.py
router_config.py
router_core.py
router_deprecated.py fix(proxy): serve a deployment's litellm model only through the deployments the caller is granted 2026-11-26 03:17:39 -08:00
router_host.py
router_python_host.py
scheduler.py
schema.prisma feat(mcp): persist per-server event settings (#53602) 2026-11-24 06:31:10 +00:00
setup_wizard.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
timeout.py refactor(types): give untyped kwargs and args parameters proven types in 36 files (#54203) 2026-11-24 10:51:54 -08:00
tool_loop.py
utils.py feat(volcengine): add Ark Seedream image generation, editing, and pricing (#54076) 2026-11-26 07:52:44 +00:00