pypi litellm 1.112.0
v1.112.0

58 minutes ago

Verify this release

cosign verify \
  --certificate-identity https://github.com/BerriAI/project-releaser/.github/workflows/release.yml@refs/heads/main \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  ghcr.io/berriai/litellm:v1.112.0

Same command for the docker.io/litellm/litellm image

What's new in 1.112.0

810 PRs. 121 added, 317 fixed, 60 changed, 12 improved, 2 removed. 12 need action

Action required

  • Cost tracking and pricing: Switch queries that use ProviderName or PublisherName to ServiceProviderName (#52105)
  • AWS Bedrock: Move Bedrock use of supports_prompt_cache_breakpoint to supports_bedrock_converse_cache_point (#52180)
  • OpenAI: Catch litellm.PermissionDeniedError for 403 errors instead of litellm.APIError (#52179)
  • Chat completions: Remove previous_response_id from chat completions and Messages requests (#53038)
  • Logging and observability: Pass the full key alias when filtering spend logs by key_alias (#47795)
  • Keys, teams and auth: Update clients that filter spend logs by another user's user_id or key, which now get 403 (#52449)
  • Other providers: Set an explicit key on JSON-configured providers that relied on OPENAI_API_KEY (#50819)
  • Anthropic: Have an admin opt in before sending client fallbacks in extra_body (#48373)
  • MCP: Opt in to gateway DCR registration if your upstream rejects the client's redirect address (#53059)
  • Deployment: Set LITELLM_SALT_KEY to at least 14 bytes before enabling fips_mode (#52099)
  • AWS Bedrock: Raise budgets on keys that call bedrock/mantle/ in GovCloud if they sit near their limit (#52864)
  • Realtime: Check budgets for Realtime WebRTC callers, since those calls are now billed (#53282, #53548)

Highlights

  • Deployment: Added a --control-plane flag to serve the control plane API from the existing image (#49654, #49655, #49656, #49657, #49658, #49659, #49660, #49661, #49662, #51762)
  • Realtime: Added Azure gpt-live-1 sessions on /v1/live/sessions (#53238)
  • Keys, teams and auth: Added carryover of unused budget into the next period with a cap (#53309)
  • Keys, teams and auth: Added support for signed-in Cursor CLI subscriptions (#52205)
  • Routing and fallbacks: Added opt-in priority queues for async non-streaming chat after upstream 429 or 529 responses (#51892)
  • Logging and observability: Added an OTel span for every failed retry and fallback attempt (#50310)
  • Admin UI: Added app groups with shared budgets and usage in Customer Management (#53232)
  • Admin UI: Fixed SSO login redirecting to http:// behind TLS termination, broken since v1.108.0 (#52213)
  • Vertex AI and Gemini: Added Meta Muse models on Vertex AI with native Responses routing (#50768)

All changes

OpenAI (16)
  • Added pricing for omni-moderation-csam-latest (#52047)
  • Added pricing for OpenAI gpt-6.2-astra, gpt-6.2-sol and gpt-6.2-astra-law (#52316)
  • Added gpt-live-1.1 to the cost map at the published per-minute rate (#52926)
  • Fixed Decisions prompt cache fields prompt_cache_key and prompt_cache_options not reaching OpenAI (#51457)
  • Fixed gpt-4o-transcribe audio input spend being underreported, now billed at $6.00 per 1M tokens (#52303)
  • Fixed gpt-4o-mini-tts speech cost missing the audio output tokens OpenAI bills (#52317)
  • Fixed SVG authoring tokens in OpenAI image responses never being billed (#52571)
  • Fixed uncached system prompts on GPT-6.2 by sending bridged system prompts as input messages (#52599)
  • Fixed max_input_tokens for chatgpt/gpt-5.6-sol, chatgpt/gpt-5.6-terra and chatgpt/gpt-5.6-luna to 922000 (#52614)
  • Fixed 400 on very long system prompts sent with truncation: auto through chat-to-Responses translation (#52964)
  • Fixed gpt-6-rosalind long context and cache write prices being billed 50% too high (#53050)
  • Fixed chat and embedding requests failing when the Authorization header is omitted, broken since v1.108.1 (#53132)
  • Fixed gpt-4o-mini-tts spend running 20 to 35 percent above OpenAI's bill (#53150)
  • Fixed OpenAI-compatible backend errors dropping error.param and nesting the body in error.message (#53217)
  • Changed upstream 403 on OpenAI-style providers to raise PermissionDeniedError without retries (#52179)
  • Changed OpenAI 403 invalid_request_error responses to raise PermissionDeniedError (#53177)
Azure (15)
  • Added Azure US Government cost map rows for gpt-5.6, gpt-4.1, gpt-4o and ada-002 (#52135)
  • Added pricing for Azure gpt-6.2-astra, gpt-6.2-sol and azure_ai/Microsoft-Decision-1.1 (#52293)
  • Added azure_ai/kimi-k3.1-pro pricing so calls are no longer tracked at $0 (#52873)
  • Fixed pass-through GET and DELETE without a body sending {} upstream and returning 400 (#50833)
  • Fixed Azure Responses models losing phase on replay and streamed text deltas missing phase (#51059)
  • Fixed Azure Document Intelligence OCR ignoring extra_body options like pages and outputContentFormat (#51102)
  • Fixed chat and Messages failing with 400, 401 or 404 on Foundry project and /openai/v1 base URLs (#51144)
  • Fixed reasoning_effort being rejected or dropped on Azure AI DeepSeek V4 Flash and Pro (#51775)
  • Fixed unclosed session warnings after Azure and base64 embedding clients are evicted from the cache (#52266)
  • Fixed Compact failing with 500 on a Foundry model router by calling Azure Responses natively (#52474)
  • Fixed Azure AI Foundry GPT-5 Chat receiving the legacy token field instead of max_completion_tokens (#52680)
  • Fixed azure_ai/ chat and embeddings returning 404 on Azure OpenAI resource URLs (#52759)
  • Fixed Azure bridged streams emitting chunks with a null model (#53126)
  • Fixed chat calls on mixed Azure groups reaching batch-only deployments and getting 400 (#53454)
  • Changed azure/gpt-image-1.5 retirement date to 2027-06-16 and set a successor for azure_ai/Codestral-2501 (#52699)
Anthropic (11)
  • Added advisories for repeated observed Anthropic prompt cache misses (#51943, #51973)
  • Added forwarding of diagnostics on /v1/messages to Anthropic (#52969)
  • Fixed Anthropic Messages 400 extra_body: Extra inputs are not permitted by sending extra_body fields at top level (#48373)
  • Fixed 401 from the Rust gateway for Anthropic SDK clients that send the key as X-Api-Key (#49410)
  • Fixed Anthropic and Bedrock failing on history where one tool call's arguments hold several JSON objects (#52216)
  • Fixed 400 on temperature=1 for Claude models that removed sampling params, broken since v1.110.0 (#52341)
  • Fixed adaptive thinking being dropped on tool-call follow-up turns when modify_params is on (#52615)
  • Fixed Responses tool results losing the references needed to load deferred tools (#52977)
  • Fixed streams failing when a data: line is not a JSON object, across chat, responses and /v1/messages (#53393)
  • Fixed /v1/messages failing under anthropic-version: 2026-10-21 when temperature, top_p or top_k is set (#53407)
  • Changed Claude subscription OAuth usage covered by the seat allowance to log $0, with overage at API rates (#52901)
AWS Bedrock (31)
  • Added us. and global. cost map rows for Daybreak Blue and Daybreak Red (#52122)
  • Added pricing for Bedrock Mantle models under bedrock_mantle/ and bedrock/mantle/, fixing Haiku 4.5 cost (#52231)
  • Added Bedrock pricing rows for OpenAI GPT-6.2 Astra and GPT-6.2 Sol (#52332)
  • Added deprecation dates for GovCloud Mantle Nemotron Nano 12B v2 and 9B v2 (#52552)
  • Added per-caller STS session tags and session names for Bedrock AssumeRole (#52978)
  • Fixed native chat and /v1/responses calls ignoring aws_bedrock_runtime_endpoint (#50582)
  • Fixed Bedrock prefill 400 on Claude 5.x when the last user message is empty (#50701)
  • Fixed Bedrock embedding extra_body values being ignored in favor of LiteLLM defaults (#51710)
  • Fixed guarded_text parts in system and assistant messages being dropped on Bedrock (#51776)
  • Fixed bedrock/<region>/<model> on /v1/messages ignoring the region, including GovCloud models (#52136)
  • Fixed Bedrock passthrough logs missing the prompt, request settings and stream flag (#52146)
  • Fixed Bedrock ca. inference profiles dropping reasoning_effort and logging no cost (#52152)
  • Fixed Bedrock Claude prompt caching turning off when supports_prompt_cache_breakpoint is false, broken since v1.106.0 (#52180)
  • Fixed bedrock_mantle/openai.gpt-6.2-sol and -astra failing through the proxy (#52359)
  • Fixed missing Ultrafast pricing for bedrock_mantle/openai.gpt-6.2-astra and aligned GPT-6.2 rows with AWS cards (#52464)
  • Fixed ConverseStream and native passthrough billing Priority streams at the default tier rate (#52565)
  • Fixed token counting for GovCloud Mantle Claude models using the commercial us-east-1 endpoint (#52708)
  • Fixed Claude on Bedrock dropping the BM25 tool search tool from chat requests (#52959)
  • Fixed Nova embedding prompt tokens and spend to follow the count Bedrock meters (#53142)
  • Fixed Nova 2 embedding cost ignoring text sent beside an image (#53296)
  • Fixed Nova 2 audio and video embeddings billing a flat 768 tokens instead of the clip length (#53307)
  • Fixed native Bedrock chat dropping caller-supplied cache checkpoints under drop_params (#53370)
  • Fixed Bedrock model_id profile models failing beside an ARN model and base_model billing 0 (#53461)
  • Fixed SageMaker and Bedrock agent streams returning an empty 200, now 502 when AWS sends no events (#53482)
  • Fixed 400 on tool_choice for Bedrock Mistral Large 3 and Ministral 3 (#53589)
  • Fixed Bedrock token counting returning 500, now 401 when AWS credentials are missing (#53593)
  • Changed Converse structured output for GPT models to also send text.format.strict (#52419)
  • Changed Claude Platform on AWS /v1/messages to be served by the Rust path (#52681)
  • Changed bedrock/mantle/ GovCloud calls to bill at GovCloud rates, about 20% higher than before (#52864)
  • Changed GovCloud Claude models to use Bedrock native structured output for response_format JSON schemas (#53175)
  • Changed Bedrock count-tokens pass-through 400 and 429 refusals to log as warnings, not errors (#53595)
Vertex AI and Gemini (35)
  • Added Meta Muse models on Vertex AI with native Responses routing (#50768)
  • Added Google's finish reason in provider_specific_fields on the last streamed Gemini chunk (#52242)
  • Added gemini/gemini-4-neon pricing so calls to it are cost tracked (#52640, #52648)
  • Added gemini/genie-4 to the cost map so its spend is tracked (#52872)
  • Added explicit text inputs for Gemini embeddings, and invalid local media now returns 400 instead of a retried 500 (#53135)
  • Fixed 400 on every service_tier value for Vertex Gemini by sending tier headers (#34959)
  • Fixed Gemini Embedding 2 batch cost ignoring media tokens so video inputs billed $0 (#49682)
  • Fixed Gemini requests failing when a past tool call has null or truncated arguments (#50020)
  • Fixed Gemini image chat returning the thought draft image in message.images and /v1/responses (#50709)
  • Fixed snake_case generation_config being dropped on generateContent (#51139)
  • Fixed one json_schema row failing every other row in a Vertex batch file, broken since v1.81.3 (#51790)
  • Fixed 400 for reasoning_effort set to xhigh on gemini-4-hydrogen (#52060)
  • Fixed gemini/ image edit with no image returning 500, it now returns 400 (#52087)
  • Fixed Gemini image generations and edits failing when n is above 1 (#52103)
  • Fixed Gemini 400 when a client alters the thought signature carried in a tool call id (#52207)
  • Fixed Gemini non-streamed content_filter choices dropping Google's finish reason (#52208)
  • Fixed Gemini thought signatures being stripped for proxy model names without gemini in them (#52212)
  • Fixed 400 on Gemini image models for unsupported thinking levels and logprobs when drop_params is on (#52514)
  • Fixed cached input tokens on Gemini and Vertex image generation being billed at the full input rate (#52572)
  • Fixed logprobs requests still erroring on Gemini models that refuse them when drop_params is on (#52700)
  • Fixed thinking tokens missing from non-streamed Gemini content filter replies, so cost now includes them (#52930)
  • Fixed 500 on /v1/responses with Gemini when tool calls are split across assistant turns (#52960)
  • Fixed some percent-encoded Gemini file id forms resolving differently in access checks and requests (#53004)
  • Fixed /gemini file get and delete not checking ownership, non-owner keys now get 403 (#53171, #53210)
  • Fixed Gemini streams cut before a finish reason ending as a normal stop, they now raise an error (#53187)
  • Fixed blank answers from Gemini malformed finish replies so retries and fallbacks run (#53231)
  • Fixed Gemini dropping distinct parallel tool calls that share a name and arguments (#53233)
  • Fixed Gemini and Vertex AI silently dropping video_url content parts (#53406)
  • Fixed 422 on overlapping Gemini generateContent calls for small-budget keys (#53412)
  • Fixed Gemini tool and response schemas dropping const, which returned {} or null values (#53413)
  • Fixed Gemini 3+ dropping web search beside function tools and now reports web_search_call items (#53423)
  • Fixed Vertex image edits redrawing a new picture each turn and failing with 400 on the third turn (#53435)
  • Changed Claude on Vertex AI /v1/messages to be served by the Rust path (#52314)
  • Changed Gemini to keep mid-conversation system messages in place so prompt caching hits (#53623)
  • Improved the 400 error for n > 1 with image modalities on Vertex Gemini chat and Responses (#53598)
Other providers (50)
  • Added Moonshot Kimi K3 and Together AI Inkling model support (#33922)
  • Added Vispark provider with Vision Small, Medium and Large models (#41192)
  • Added Gradium text-to-speech on /v1/audio/speech (#46427)
  • Added Sarvam Token Factory models such as glm5.3 and gemma4, with pricing and reasoning_effort support (#49792)
  • Added NVIDIA NIM model discovery in Add Model and refreshed the bundled catalog (#50439)
  • Added ResetData provider and stopped sending OPENAI_API_KEY to keyless JSON-configured providers (#50819)
  • Added a LiteLLM User-Agent to Sarvam chat requests (#52012)
  • Added dashscope qwen4-max and the max reasoning effort for ChatGPT GPT-5.6 (#52097)
  • Added 8s clip prices for Fal Pixverse effects, transition and extend, which recorded $0 spend (#52107)
  • Added deprecation_source and successor_model to retired github_copilot rows (#52160)
  • Added github_copilot pricing for MAI Code 2 and MAI Code 2 Flash so spend is no longer zero (#52338)
  • Added fal_ai pricing for HeyGen Avatar 6 and Microsoft MAI-Image-2.7 endpoints (#52340)
  • Added automatic copilot-integration-id header for GitHub Copilot with a custom GitHub App (#52386)
  • Added github_copilot pricing for GPT-6.2 Astra and GPT-6.2 Sol so spend is no longer zero (#52395)
  • Added together_ai/Qwen/Qwen4-Max pricing so Together AI spend no longer logs as zero (#52487)
  • Added Gnani Prisma v2.5 and v3 REST transcription support (#52520)
  • Added zero pricing for Cohere free-tier Command A Reasoning, Translate and Vision (#52687)
  • Added fal_ai Iris-Z depth estimation pricing, previously tracked at $0 (#52715)
  • Added cost map rows for fal.ai Ideogram 4.6 text to image and edit (#52927)
  • Added pricing for the Fireworks US-only Kimi K3.1 Pro endpoint (#53377)
  • Added the Perplexity Orchestrator provider with perplexity_orchestrator/ models and cost tracking (#53583)
  • Fixed Cohere v2 chat ignoring tool_choice and rejecting reasoning_effort and json_schema response_format (#50834)
  • Fixed 400 on GitHub Copilot models with a key ref and an empty or whitespace stored key (#52032)
  • Fixed explicit reasoning settings being dropped or rejected on OpenCode Go chat completions (#52156)
  • Fixed a stale input limit for Baseten Kimi K3.1 Pro (#52158)
  • Fixed /v1/messages mid-conversation system reminders being rewritten as user turns on Databricks Claude Opus 5.5 (#52214)
  • Fixed Together Kimi-K3.1-Pro sending reasoning_effort: max upstream as high (#52294)
  • Fixed fal_ai Seedance 2.5 1080p videos being billed at the 720p rate (#52304)
  • Fixed DashScope 1h cache writes being billed at the 5m rate (#52331)
  • Fixed dashscope/qwen4-max cache reads and writes billed at the input price (#52334)
  • Fixed Groq replies without service_tier failing with 400 on chat and 500 on /v1/messages (#52431)
  • Fixed Ollama embeddings failing with 400 when prompt_eval_count is missing from the response (#52432)
  • Fixed automatically selected advanced Tavily searches being priced as basic (#52564)
  • Fixed Groq Whisper transcriptions returning no cost (#52570)
  • Fixed Voyage voyage/ embeddings ignoring VOYAGE_API_BASE (#52645)
  • Fixed Codex CLI on gpt-5.6-* always returning 400 through the chatgpt provider (#52731)
  • Fixed SAP replies from Gemini 3.x being rejected when reasoning_content is a list (#52741)
  • Fixed four Fireworks AI spot router models being billed above the price Fireworks now lists (#52928)
  • Fixed Fireworks AI deepseek-v4p1-flash-1017 ultrafast price at twice the listed rate and added its -flex router id (#52947)
  • Fixed wrong spend for Fireworks AI router calls on chat completions and /v1/messages (#52973)
  • Fixed W&B wandb/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B output price to $0.47 per 1M tokens (#52983)
  • Fixed together_ai/tencent/Hy4 spend tracking at zero by adding its pricing (#52985)
  • Fixed Databricks gemini-4-carbon and gemini-4-hydrogen prices to the Databricks rates (#52986)
  • Fixed Perplexity image embedding spend, which was logged up to 20x under the real charge (#53125)
  • Fixed Together AI speech cost for per-character priced models like orpheus-3b-0.1-ft (#53130)
  • Fixed Mistral on Vertex AI and Bedrock returning 400 for tool call ids that are not 9 characters (#53416)
  • Fixed OCI streams failing after one token with 500 "cannot use a decompressobj multiple times" (#53439)
  • Fixed vLLM errors relaying error.type as BadRequestError instead of the provider's type (#54031)
  • Improved SAP chat and embedding calls by caching the OAuth token instead of fetching one per call (#49260)
  • Improved GitHub Copilot errors to say whether the key is wrong or the connection is missing (#52352)
Chat completions (11)
  • Fixed custom provider streams crashing with APIConnectionError: 'is_finished' when a chunk omits a field (#43501)
  • Fixed internal MCP and fake_stream params being sent in provider request bodies, causing 400 errors (#46083)
  • Fixed 500 on a non-object extra_headers, which now answers 400 naming the field (#50581)
  • Fixed custom prompt manager system messages being sent twice per async call and on SDK fallbacks (#51836)
  • Fixed Gateway chat completions returning 501 on max_tokens, top_p and stop for Bedrock and Anthropic (#52211)
  • Fixed failed llama-3 requests returning their error about 23 seconds late without Hugging Face access (#52232)
  • Fixed comma-separated model with stream: true returning 500 after billing both providers, now returns 400 (#52264)
  • Fixed non-streaming path-model chat responses returning the provider model name instead of the alias (#53192)
  • Fixed stream_timeout being ignored on async streams and timeouts returning 500 instead of 408 (#53442)
  • Fixed streamed chat with n above 1 giving delta.role to only one choice (#53582)
  • Changed previous_response_id on chat completions and Messages to return 400 (#53038)
Responses API (20)
  • Fixed cancelled polling responses completing later and the model call continuing to bill after cancel or delete (#49384)
  • Fixed audio output on bridged endpoints returning an empty 200, now 400 unless drop_params is on (#49960)
  • Fixed Responses WebSocket logging only the first refused turn per socket and delaying failure rows (#50731)
  • Fixed GET /v1/responses/{id}/input_items ignoring limit, order, after, before and include (#51259)
  • Fixed tool call arguments arriving empty when Codex models send them only in done events (#52069)
  • Fixed streamed /v1/responses requests staying in memory until a full garbage collection (#52215)
  • Fixed duplicate authorization headers going upstream and causing 401 from OpenAI (#52259)
  • Fixed streaming /v1/responses calls being retried and replaying events after a reasoning item reached the client, broken since v1.111.0-rc.1 (#52461, #52616)
  • Fixed 500 on /v1/responses and 400 on /v1/responses/input_tokens when bridged requests send object input (#52483)
  • Fixed truncated Responses streams ending with response.completed instead of an incomplete status (#52489)
  • Fixed stored Responses chains billing the system prompt twice (#52694)
  • Fixed changing Claude Code billing metadata preventing prompt cache reuse (#52732)
  • Fixed lifecycle events after output being discarded when a Responses stream fails (#52858)
  • Fixed Codex hanging when a provider call fails over the Responses websocket, errors now carry the HTTP status (#52874, #52942)
  • Fixed system prompt caching on GPT-6.2 requests that use the default store: true (#52906)
  • Fixed drop_params not dropping unsupported temperature on OpenAI o-series Responses requests (#53234)
  • Fixed Responses WebSocket closing with code 1011 on an http:// api_base (#53240)
  • Fixed Codex compaction_trigger on /v1/responses returning no compaction item for Claude on Bedrock (#53266)
  • Fixed cut /v1/responses streams on Claude billing an estimate or logging no spend row (#53394)
  • Fixed Codex over ws /v1/responses failing after its first tool call on providers without native WebSocket (#53410)
Messages API (9)
  • Fixed the OpenAI stream running on after a bridged /v1/messages stream is closed early (#51274)
  • Fixed several Rust gateway /v1/messages parity bugs in Bedrock signing and Anthropic base URL handling (#52042)
  • Fixed /v1/messages thinking blocks lacking a signature and bridged openai/ output returning content: [] (#52116)
  • Fixed /v1/messages downloading the Anthropic beta headers map on every cold worker (#52188)
  • Fixed prompt cache misses on stateless Messages requests to GPT-6.2 that include dropped continuation params (#52743)
  • Fixed thread refusals losing their error codes and triggering deployment cooldown (#53292)
  • Fixed /v1/messages streaming sending empty tool inputs when OpenAI sends arguments only at the end (#53306)
  • Fixed streaming /v1/messages sending only pings until the turn ended when the proxy adds its retrieve tool (#53658)
  • Changed Claude on Bedrock Mantle /v1/messages to be served by the Rust gateway (#52328)
Realtime (7)
  • Added Azure gpt-live-1 sessions on /v1/live/sessions (#53238)
  • Added Gemini Live avatar support on /v1/realtime for Vertex AI (#53270)
  • Added gpt-live-1 over WebRTC with sideband attach, and billing of Realtime WebRTC calls against budgets (#53282, #53548)
  • Fixed push-to-talk transcription splitting into several transcripts under a realtime_input_transcription guardrail (#50594)
  • Fixed realtime WebSocket routing ignoring a team's model alias (#52124)
  • Fixed Gemini and Vertex Live barge-ins reporting a completed response instead of a cancelled response.done (#52596)
  • Fixed 403 on Realtime WebSocket and 401 on WebRTC calls when the Bearer scheme is not capitalized (#53259)
Embeddings, images and audio (7)
  • Fixed custom image handlers not receiving n, size, quality, response_format and user (#52051)
  • Fixed additional_drop_params ignoring provider-specific embedding params like input_type (#52098)
  • Fixed additional_drop_params being ignored as a tuple or with non-string entries on image calls (#52390)
  • Fixed 500 on image generation when the upstream returns a null cached_tokens in usage (#52857)
  • Fixed custom embedding HTTP clients losing upstream error statuses (#52904)
  • Fixed empty usage logged for transcriptions with text, srt, vtt formats and for Groq (#53256)
  • Improved /v1/audio/speech to stream audio as it arrives and log spend for stream: true (#46222)
Batches and files (3)
  • Fixed wildcard keys like gpt-* not using the team's deployment on files, batches and RAG routes, broken since v1.96.0 (#49744)
  • Fixed batch uploads with alias rows failing on model-routed JSONL files (#51843)
  • Fixed Vertex and Bedrock batches counting 0 input tokens against model_batch_enqueued_token_limit (#53257)
Vector stores (2)
  • Added YAML-configured fallbacks for unified vector store search when a store is unavailable (#52093)
  • Added failover of native vector store search passthrough to the store's configured fallbacks (#52856)
Token counting (4)
  • Fixed token counting for custom-named deployments to use the base_model tokenizer (#50734)
  • Fixed tokenizer to match tiktoken on lone surrogates and out-of-range token ids (#51720)
  • Fixed count_tokens undercounting for grok-4.3 hosts and Azure grok-4-1-fast-non-reasoning (#53418)
  • Fixed token count routes ignoring the caller's team, tags and aliases when picking a deployment (#53425)
MCP (11)
  • Added Parallel's free web search server to the MCP discovery registry (#52141)
  • Fixed GitHub MCP sign-in looping on the connect page, broken since v1.107.0 (#51788)
  • Fixed 401 and 500 errors on keyed MCP servers when the MCP JWT signer is on (#51867)
  • Fixed 503 on every hosted admin MCP request for proxy admins on proxies with large key and team data (#52096)
  • Fixed registry.json showing the alias as description and title instead of the saved description and server name (#52319)
  • Fixed /mcp flattening an upstream -32042 URL elicitation error into text instead of a JSON-RPC error (#52384)
  • Fixed repeated MCP sign-in prompts when several permission refusals happen at once (#52809)
  • Fixed MCP OAuth token refresh forgetting a missing scope so reconnecting left the tool broken (#53200)
  • Fixed MCP /authorize redirecting forever when the dashboard session key is dead (#53383)
  • Changed MCP tools that cost nothing to stay callable for users at or over their budget (#52130)
  • Changed gateway DCR registration for MCP OAuth bridges to opt-in, fixing 403 oauth_principal_mismatch (#53059)
Agents (1)
  • Fixed Pi context compaction not emitting LiteLLM Compaction events (#52655)
Guardrails (16)
  • Added an opt-in pre_call scan of tool descriptions as text for the PANW and Presidio guardrails (#50301)
  • Added image scanning on /apply_guardrail with a Bedrock guardrail (#51016)
  • Added Model Armor scanning of MCP tool results with post_mcp_call (#51887)
  • Added opt-in Bedrock guardrail scan of tool-call arguments and tool descriptions (#52999)
  • Added reject_unregistered_guardrails to reject requests that name an unregistered guardrail (#53214)
  • Fixed rewritten tool_calls from the Generic Guardrail API not reaching the client (#50413)
  • Fixed /apply_guardrail requests not being logged, including blocked ones, with verdict and cost (#51014)
  • Fixed the Alice guardrail sending each prompt to Alice four times (#51392)
  • Fixed Gray Swan guardrail treating error: true or invalid scores as clean, now follows fail_open (#52191)
  • Fixed per-request extra_body not reaching generic guardrail API services (#52438)
  • Fixed post-call MASK leaving reasoning text unmasked on /v1/responses output (#52504)
  • Fixed /v1/messages guardrail rewrites dropping tool_result is_error and system output_config (#52828)
  • Fixed policy template competitor name generation returning no names with newer OpenAI models (#53311)
  • Fixed tool_permission returning 400 on every Gemini streamGenerateContent stream (#53600)
  • Changed Straiker streaming to hold tool calls for the verdict and log blocked prompts to callbacks (#51872)
  • Changed /v1/messages guardrails to see Anthropic's web_search tool and decide whether it reaches the provider (#53376)
Caching (9)
  • Added the option to exclude embeddings from response caching (#52902)
  • Fixed cache hit logs showing us-central1 instead of the deployment's vertex_location (#52150)
  • Fixed high memory on large cached requests and cache misses when max_tokens was lowered (#52267)
  • Fixed async Redis calls failing when ssl: false is set together with ssl_check_hostname (#52344)
  • Fixed proxy boot crash when cache_params.default_redis_ttl is set with a Redis cache (#52440)
  • Fixed Cache-Control: no-cache and no-store request headers being ignored (#52840)
  • Fixed repeated requests missing the response cache when OpenTelemetry tracing is on (#52971)
  • Fixed error when repeating cached Anthropic Responses SDK calls (#53188)
  • Fixed cache hits changing the stored finish reason on tool call responses (#53236)
Routing and fallbacks (20)
  • Added opt-in priority queues for async non-streaming chat after upstream 429 or 529 responses (#51892)
  • Added optional conversation limit so the complexity router classifies short asks in long conversations (#52183)
  • Added selecting conversation headers for router session affinity (#52193)
  • Added retries, fallbacks and cooldowns from router_settings to the native gateway (#52274)
  • Added an option to reject raw model name collisions across model groups (#52895)
  • Added an optional classifier output limit for auto routers, settable from the dashboard (#52979)
  • Added gateway sharing of router cooldowns, allowed-fails counts and usage through Redis (#53060)
  • Fixed request tags being ignored for routing when pre-call guardrails run (#50488)
  • Fixed priority request headers and counters stopping after a priority pool's tokens run out (#52081)
  • Fixed streamed /v1/messages and /v1/responses dropping one error when a cross-group fallback also fails (#52217)
  • Fixed native gateway not retrying or falling back on /v1/messages streams that fail before content (#52466)
  • Fixed fallbacks being skipped when a rerouted request's picked deployment fails (#52510)
  • Fixed team order and weighted failover on Responses, Messages and SDK requests (#53264)
  • Fixed one caller's bad credential cooling down a shared deployment for every other caller (#53431)
  • Fixed concurrent /vertex_ai/* calls all landing on one deployment with least-busy routing (#53588)
  • Fixed streamed responses missing from deployment TPM and cached input tokens missing from team per-model TPM (#54489)
  • Changed silent_model mirroring so clients can no longer opt out with is_silent_experiment in metadata (#52083)
  • Changed content policy errors with no matching content_policy_fallbacks entry to use generic fallbacks (#52132)
  • Changed fallback_on_unsupported_params: false to return provider 413 and 422 errors to the caller (#52195)
  • Improved large routers by reading cooldowns only for the deployments a request can use (#52913)
Cost tracking and pricing (40)
  • Added pricing for OpenRouter and Perplexity decisions models and lowered pplx-decider-v1-27b input to $0.02/1M (#45476)
  • Added key and user metadata objects to daily activity usage export rows (#49360)
  • Added cost map rows for Fal Seedance 2.5 Flash, Cloudflare Inkling 2 Small and Fal Pixverse clips (#51929)
  • Added pricing_currency so chat completion requests can declare token prices in another currency (#51934, #51971, #51979)
  • Added fal_ai/bria/rmbg-3 pricing (#52041)
  • Added cost map rows for Databricks, fal_ai and Bedrock EU models and updated fal_ai H3 Max rates (#52162)
  • Added pricing for fal_ai Kling Image V4, Azure gpt-6-luna flex and Bedrock Mantle Claude 5.5 (#52299)
  • Added per-app surcharge percentages on customer requests instead of one gateway-wide value (#52406, #52492)
  • Added missing Bedrock regional, Mantle and Azure Government pricing so costs no longer fall back to other regions (#52458)
  • Added azure/us-gov/gpt-4o-mini pricing and removed a wrong deprecation date from claude-mythos-preview (#52557)
  • Added pricing for github_copilot/gemini-4-neon (#52704)
  • Added replacement models and deprecation links for 286 more dated model listings (#52710)
  • Added GMI Gemini 4 Hydrogen to the cost map and refreshed Azure and Together retirement dates (#52763)
  • Added replacement models for more dated models in the model price map (#52893)
  • Added Together, Perplexity, InferenceAPIs and AssemblyAI pricing rows and filled model metadata (#52912)
  • Added Baseten baseten-bison-latest and baseten-groundhog-latest decision models to the cost map (#53165)
  • Added runwayml/seedance2_5_flash video model pricing (#53166)
  • Added retirement dates for Databricks gpt-5 and gpt-5-mini (#53168)
  • Fixed custom model prices silently not saving despite a successful response (#48746)
  • Fixed forwarded Anthropic credentials on /v1/messages ignoring a deployment's custom prices, broken since v1.109.0 (#52313)
  • Fixed pass-through spend rows logging 0 prompt and completion tokens, broken since v1.110.0 (#52527)
  • Fixed Responses dropping the file-search charge when web search runs in the same request (#52555)
  • Fixed wrong limits, prices and capability flags on several registry models and added recent models (#52619)
  • Fixed Fireworks AI kimi-latest being costed at the Kimi K3 rate instead of Kimi K3.1 Pro (#52634)
  • Fixed Databricks GPT-6.2 Astra and Sol being priced at OpenAI rates instead of Databricks DBU rates (#52635, #52762)
  • Fixed generateContent spend showing under /chat/completions or no endpoint on the Usage page (#52701)
  • Fixed together_ai/Qwen/Qwen4-Max being priced at the launch rate instead of the promotional rate (#52814)
  • Fixed custom priority prices for image input and cached image tokens being dropped in billing (#52972)
  • Fixed an extra spend row for forwarded-credential requests that time out after a retry, broken since v1.110.2 (#53072)
  • Fixed $0 logged cost for Azure AI GPT-5.6 and OpenRouter DeepSeek V4 requests (#53149)
  • Fixed speech billing ignoring a deployment's custom input_cost_per_character (#53265)
  • Fixed charges from failed requests being dropped when error logs are disabled (#53271)
  • Fixed logged spend for gpt-4o-mini-tts aac and flac speech running about 19% above OpenAI's bill (#53308)
  • Fixed a failed fallback writing two billed failure rows for one timed-out call (#53313)
  • Fixed Fireworks DeepSeek V4.1 Flash 1017 pricing and ChatGPT sign-in input windows in the cost map (#53331)
  • Fixed $0 cost and missing x-litellm-response-cost header on image generations with custom litellm_params pricing (#53994)
  • Fixed Prometheus budget gauges double-counting request cost and Rust spend deliveries never applying (#54074)
  • Changed FOCUS export to the 1.5 schema and removed the ProviderName and PublisherName columns (#52105)
  • Changed xai/grok-build-0.1 to end of life on 2026-11-19 in the model price map (#53167)
  • Changed fal.ai FLUX 3 Max video pricing to the regular rate after the promotion ended (#53670)
Logging and observability (21)
  • Added an OTel span for every failed retry and fallback attempt (#50310)
  • Added opt-in prefix block hashes in spend logs for workload replay (#52120)
  • Fixed settings refreshes starting extra generic API logger flush loops and keeping an old logging header (#50879)
  • Fixed OTel V2 still sending Langfuse traces to key or team hosts that were refused (#51344)
  • Fixed spend-log retention never deleting guardrail index rows, which grew by one row per request (#51518)
  • Fixed streaming success logging callbacks sometimes disappearing before they finish (#52067)
  • Fixed disconnected streams logging an invented finish reason, now finish_reason_unspecified when unknown (#52088)
  • Fixed async Interactions stream success logging being lost, dropping spend logs and callbacks (#52300)
  • Fixed stale request fields in streaming failure callbacks and failed attempts holding finished requests in memory (#52408)
  • Fixed DD_TAGS not being sent on Datadog logs and LLM Observability spans (#52415)
  • Fixed provider failures after a client disconnect never reaching failure callbacks (#52450)
  • Fixed turn_off_message_logging leaving generated images in logged Chat Completions and Responses output (#52605)
  • Fixed Responses API traces and Prometheus deployment metrics showing None instead of the real provider (#52622, #52709)
  • Fixed duplicate success logging on cached responses calls with large base64 images (#52852)
  • Fixed model group rate limit callbacks missing exception in kwargs on async router failures (#52861)
  • Fixed warnings from background tasks such as Redis subscribe failed, retrying missing from the proxy log (#53539)
  • Fixed Rust gateway log lines printing raw secret values, now shown as REDACTED (#53714)
  • Fixed authorization_token values showing in debug logs, now shown as REDACTED (#53740)
  • Fixed spend logs and daily usage counting requests that failed authentication (#54990)
  • Changed spend logs key_alias filter to an exact match, which fixes slow queries on large logs (#47795)
  • Changed plain Python logs to print a Rust log line's fields after the message (#53717)
Keys, teams and auth (49)
  • Added support for signed-in Cursor CLI subscriptions (#52205)
  • Added mapping of customer org, customer member and customer team from JWT claims (#52399)
  • Added configurable customer identity headers so nonstandard tenant and user headers are read on inference requests (#52467)
  • Added a per-app setting that controls whether requests may create unknown customer organizations or members (#52485)
  • Added current budget-window spend to /user/info, /v2/user/info and /team/info (#52673)
  • Added percentage-based team budget email alerts through metadata.max_budget_alert_emails (#52859, #52860)
  • Added budget alert webhook events for app, app_customer_org and app_customer_member scopes (#52955)
  • Added custom additional spend windows for customer budgets beyond monthly and yearly (#52976)
  • Added linked shared budget templates for app member budgets (#52989)
  • Added customer header requirements per gateway, team or key (#53045)
  • Added carryover of unused budget into the next period with a cap (#53309)
  • Fixed GET /audit returning 500 for pages holding key or team update rows, broken since v1.108.0 (#50929)
  • Fixed /scim/v2 errors to use the RFC 7644 SCIM Error schema so Okta shows the reason (#51322)
  • Fixed budget reservations reading output caps the provider never sees, letting parallel calls overspend, broken since v1.102.0 (#51752)
  • Fixed enforce_fallback_model_access using a client-sent model_group_alias instead of the saved one (#52077)
  • Fixed raised team rpm or tpm limits not applying to throttled keys until the key cache expires, broken since v1.111.0 (#52169)
  • Fixed a view-only Default Role being ignored for users with no stored role, who could still create keys (#52295)
  • Fixed wrong keys on a no-database proxy returning 400 or being accepted, now returns 401 (#52349)
  • Fixed a JWT key mapping without jwt_issuer being ignored for 5 minutes when issuers is set, broken since v1.103.0 (#52350)
  • Fixed model_max_budget on a model group ignoring requests sent under its global aliases (#52385)
  • Fixed exhausted member, end user and organization limits being skipped before the body read when the team is not cached (#52388)
  • Fixed JWT team callers getting 403 on subpaths of a granted pass-through endpoint (#52397)
  • Fixed DB model credentials returning as ciphertext after rotating the master key with LITELLM_SALT_KEY set (#52413)
  • Fixed 401 No api key passed in when a client lists x-litellm-api-key in the Connection header (#52427)
  • Fixed custom auth requests ignoring the key's own max_budget (#52654)
  • Fixed two first JWT sign-ins of one new user racing and one failing (#52756)
  • Fixed keys with no user being able to read other userless keys' info through /key/info (#52838)
  • Fixed a stalled model access group registry scan blocking later authentication requests (#52899)
  • Fixed failed team database reads reporting 404 Team doesn't exist in db, now 503 (#52923)
  • Fixed org admin spend log reads not following the organizations they administer (#52943)
  • Fixed master key rotation leaving some stored secrets encrypted under the old key (#52998)
  • Fixed budget_limits windows resetting at the wrong time when litellm_settings.timezone is not UTC (#53012, #53020)
  • Fixed the Rust gateway not reading the api-key header ahead of x-api-key like the proxy (#53026)
  • Fixed customer auth errors naming built-in headers instead of the configured custom headers (#53043)
  • Fixed known app customers receiving 503 when PostgreSQL goes down (#53056)
  • Fixed budget resets overwriting newer limits set through /key/update (#53064)
  • Fixed daily and monthly budget windows reopening or miscounting across DST changes (#53065)
  • Fixed budget windows like 45m resetting before their full interval elapsed (#53151)
  • Fixed zero spend recorded on operator OAuth deployments when an invalid Authorization header is sent (#53170)
  • Fixed proxy admins signed in through OAuth logging no user email (#53184)
  • Fixed 401 on JWT team reads during a database outage, which now answers 503 after a retry (#53260)
  • Fixed proxy startup failing on audience and public_key_url under litellm_jwtauth (#53288)
  • Fixed zero-budget keys getting 200 on Google generateContent URLs that leave the model out of the path (#53404)
  • Fixed 500 on /key/generate with an organization and model_rpm_limit or model_tpm_limit (#53447)
  • Changed /spend/logs so every key reads its own rows and out-of-scope filters return 403 (#52449)
  • Changed GET /customer/info to require the proxy admin role (#52451)
  • Changed unknown JWT team claims to return a generic 401 instead of a 404 naming the team (#53044)
  • Changed key and team budget_limits to return 422 for negative caps, bad durations and duplicate windows (#53218)
  • Improved /team/info and /team/member_update by paging team members instead of loading full rosters (#51885)
Admin UI (53)
  • Added Simplified Chinese (zh-CN) to the Admin UI account menu language options (#48257, #52990)
  • Added Cmd/Ctrl+B shortcut to toggle the dashboard sidebar (#51257)
  • Added opt-in bulk actions for virtual keys on the Virtual Keys page (#52138)
  • Added email labels, bulk actions and threshold editing to Manage alerts (#52139)
  • Added reuse of saved budget groups for customer organizations (#52411)
  • Added per-app budgets for customers on the Usage page, with an app defined as a Team, Project or Virtual Key (#52477, #52493, #52608)
  • Added CSV export of the full skill download history (#52569)
  • Added token usage and cache costs to the Customer Portal (#52601)
  • Added app-scoped read access to Customer Management for non-admins through object permissions (#52781)
  • Added health status on AI Hub for models published through a wildcard such as bedrock/* (#52875)
  • Added linking of overall app budgets to shared budget presets (#52946)
  • Added app groups with shared budgets and usage in Customer Management (#53232)
  • Added custom team metadata to the team settings view without needing edit mode (#53459)
  • Added a badge in Cost Tracking settings when config.yaml controls cost margins (#53475)
  • Added CSV export to the Request Logs page (#53501)
  • Fixed Admin UI buttons and Aria Agent questions failing when served over plain HTTP (#52129)
  • Fixed Aria Agent date tools returning 400 on DeepSeek model groups (#52189)
  • Fixed SSO login redirecting to http:// behind TLS termination, broken since v1.108.0 (#52213)
  • Fixed Logging Callbacks delete for config.yaml rows, which are now marked and cannot be deleted from the UI (#52507)
  • Fixed auto router setup not recognizing in. and ca. Bedrock inference profiles (#52574)
  • Fixed temporary budget increases replacing permanent custom limits in Customer Management (#52787)
  • Fixed the env-credential login warning linking to Quick Start instead of the step that disables it (#52788)
  • Fixed missing spacing below the Add Fallbacks button (#52793)
  • Fixed user Details showing the old role after saving a role change until reload (#52991)
  • Fixed auto-router strategy changes replacing the simple setup with advanced controls (#53054)
  • Fixed Create Key offering teams that block member keys (#53139)
  • Fixed 403s on compliance checks when opening a log as a user with an explicit Models list (#53160)
  • Fixed saved team policies looking empty after reopening a team (#53434)
  • Fixed picking a member model replacing the inherited model list when extending a member key (#53445)
  • Fixed SSO users without email showing a UUID as their name and in owner search (#53476)
  • Fixed the Logs public model filter returning zero rows (#53489)
  • Fixed the log details drawer showing only the user ID instead of email for internal users (#53499)
  • Fixed keys that never reset hiding their lifetime spend on the key Spend card (#53537)
  • Changed Projects to show by default for admins and removed the Projects toggle (#49391)
  • Changed the customer portal layout to show less repeated text and truncate long names (#52381)
  • Changed the Projects nav item to no longer show a Beta badge (#52389)
  • Changed the Applications sidebar page to list every application in a table instead of a dropdown (#52496)
  • Changed Model Hub to match the model catalog layout, with API setup under Quick start and searchable providers (#52672)
  • Changed customer budget editing to a modal with preset and Custom choices and unified usage tables (#52682)
  • Changed customer portal budget navigation to remove duplicated app member and organization budget tables (#52784, #53066)
  • Changed the login page to show the new LiteLLM logo (#52789)
  • Changed the dashboard to follow the system color scheme when no theme is saved (#52792)
  • Changed about 120 English Admin UI labels to use one name per concept (#52968)
  • Changed settings and catalog page headers to match Virtual Keys, with create and refresh controls below descriptions (#53278, #53283, #53284)
  • Changed team member defaults to live in a new Member Defaults tab (#53371)
  • Changed the key overview to always show inherited team, member and org budgets (#53375)
  • Changed Teams and Budgets create buttons to sit above the tabs and made Manage alerts a primary button (#53440)
  • Changed the Usage page to open on month-to-date instead of the last seven days (#53457)
  • Changed sidebar item "Models + Endpoints" to "Model Management" and shortened three page titles to match the sidebar (#53466)
  • Changed zh-CN locale to keep acronyms like USD, URL and RPM in English (#53472)
  • Changed the virtual key Overview tab, header and loading state, with a new "Can still spend" figure (#53514)
  • Removed the decision models announcement banner above the models table (#53202)
  • Removed the old username and password login page with the Deprecated banner (#53205)
Lens (17)
  • Added /lens/login so a LiteLLM login can sign in to standalone Lens (#53190, #53212, #53213)
  • Added forwarding of agent spans to Lens through POST /v1/traces with a gateway key (#53285)
  • Added dashboard display of the Lens UI served by the connected Lens instead of a pinned copy (#53473)
  • Fixed the full gateway sidebar showing on the Lens workspace (#52771)
  • Fixed Lens's own analysis calls being sent back to Lens as traces in an endless loop (#53158)
  • Fixed Lens merging separate runs of one prompt into a single run when the agent sends no session id (#53186, #53194, #53197)
  • Fixed requests over 1 MiB reaching Lens with no cost record (#53268)
  • Fixed the Lens upgrade notice showing on unconfigured gateways and misleading localhost launch links on hosted ones (#53534)
  • Fixed Lens dropping the cost record for requests with large tool definitions (#53711)
  • Changed the workspace switcher's last entry to open Lens instead of the previous workspace (#52563)
  • Changed embedded Lens to the released 0.1.0 UI with compact headers and a hideable activity chart (#53041)
  • Changed Lens-connected gateways to send model call traces, including prompts and replies, to Lens (#53042)
  • Changed Lens's own calls to be labeled lens-signals and removed the x-lens-internal header (#53163)
  • Changed Lens traces to omit agent harness context such as AGENTS.md and status reminders (#53226)
  • Changed gateway cost records sent to Lens to omit request and response bodies (#53274)
  • Changed the Admin UI Lens page to the Lens 0.2.0 UI with Alerts and Profiles tabs (#53281)
  • Changed Lens to show Claude Code's own traces and logs instead of the gateway's records of its calls (#53485)
Deployment (19)
  • Added labels and annotations for the gateway ConfigMap in the Helm chart (#44061)
  • Added a --control-plane flag to serve the control plane API from the existing image (#49654, #49655, #49656, #49657, #49658, #49659, #49660, #49661, #49662, #51762)
  • Added a FIPS 140-3 proxy Docker image (#50330)
  • Added support for include_litellm_headers: false to omit x-litellm-* response headers (#52949)
  • Fixed os.environ/ references in config.yaml not resolving in the Rust gateway (#52025)
  • Fixed the startup schema drift check never reporting drift when schema updates are disabled (#52435)
  • Fixed the Helm migration Job being OOMKilled when the prisma package is not writable, broken since v1.105.1 (#52460)
  • Fixed /health/readiness and /key/info staying on 503 or 500 after a read replica reconnect timed out (#52592)
  • Fixed Rust database pool waiting out a long timeout on a refusing Postgres, which delayed readiness after recovery (#52617)
  • Fixed <defunct> zombie processes left behind after startup in the Docker image (#52642)
  • Fixed the componentized gateway ignoring the configured Postgres connection cap (#52729)
  • Fixed proxy failing to boot on Unix-socket Postgres when the database URL uses ?host=, broken since v1.108.0 (#52797)
  • Fixed Rust SSE streams being buffered by nginx-style reverse proxies (#53025)
  • Fixed migration jobs crashing when psycopg cannot load libpq (#53146)
  • Changed fips_mode to encrypt stored secrets with the FIPS provider's AES-256-GCM (#51429)
  • Changed /health to stop returning Python stack traces in each unhealthy endpoint's error (#52005)
  • Changed the Rust proxy to read config booleans and YAML the same way the Python proxy does (#52023)
  • Changed fips_mode to require a LITELLM_SALT_KEY of at least 112 bits to start (#52099)
  • Changed the FIPS image to install cryptography, grpcio and libpq from Chainguard apks (#52997)
SDK (7)
  • Added aagent_eval_attempt to run one graded agent evaluation attempt (#53366)
  • Added EvalAgent to compare custom agents with supported harnesses in one evaluation (#53381)
  • Fixed raw text request bodies with lone UTF-16 surrogates failing UTF-8 encoding (#49599)
  • Fixed No module named 'fastapi' on Messages streaming and cache hits with pip install litellm (#52339)
  • Fixed litellm.asystemone on litellm_proxy/... models losing confidence, decision_id and proxy cost (#53195)
  • Fixed completion routing discarding separate connect, write and pool timeouts (#53391)
  • Fixed e.response.text being empty on provider errors for SDK callers (#53587)
Performance (14)
  • Added native Rust gateway answers on /v1/messages for the master key and plain virtual keys with LITELLM_RUST_FIRST (#52813)
  • Added native Rust gateway rate limiting for keys with rpm_limit, tpm_limit and max_parallel_requests (#52839)
  • Added native Rust gateway support for dynamic_rate_limiter_v3 model capacity sharing (#53015)
  • Added native Rust gateway reads of virtual keys through the shared auth cache (#53332)
  • Added native Rust gateway handling of virtual keys that have a models list (#53333)
  • Fixed request stalls during config reloads when the credentials table is large (#52305)
  • Fixed every proxy worker opening six extra Postgres connections at boot (#52378)
  • Fixed worker memory growing after failed calls with large request bodies (#52600)
  • Improved restricted end-user registry refreshes so they no longer scan unrestricted users every minute (#51772)
  • Improved CPU use on long prompts by caching token counts per tokenizer (#51904)
  • Improved OpenAI-compatible chat streaming speed by decoding each chunk once (#51905)
  • Improved request overhead by reducing frequent auto-router recovery queries when there are no observations (#52523)
  • Improved memory use by no longer keeping a second full copy of large responses such as generated images (#52524)
  • Improved inference latency by caching customer app definition lookups instead of querying Postgres per request (#52688)
Other (14)
  • Added opt-in to skip redundant reverse shadow evaluations on the same model group (#52192)
  • Added optional rubric grades to shadow evaluations, with APIs to start rubric evaluations and read grade distributions (#52321)
  • Added startup and shutdown hooks for custom callbacks that run during the proxy lifespan (#52908)
  • Fixed the lite codex catalog dropping configured service tiers and display names (#49422)
  • Fixed Decisions API calls failing with litellm_proxy/... models or when litellm.use_litellm_proxy is on (#51611)
  • Fixed dict-subclass inputs such as addict Dict OCR documents being read as empty on the Rust path (#51812)
  • Fixed Skills Hub losing legacy source and metadata on partial edits and ZIP replacement (#51977)
  • Fixed priority limiter counting cache-read tokens, which caused 429s about 10x too early (#52209)
  • Fixed native gateway routes answering with the provider's model name instead of the requested model (#52428)
  • Fixed decisions answers being matched to questions by position instead of by name (#52597)
  • Fixed native gateway answering requests that only the Python proxy supports (#52790)
  • Fixed 400 on /v1/decisions for OpenAI input_json content parts (#52805)
  • Fixed 500 on GET /audit and GET /audit/{id} for update rows saved before the earlier write fix (#53305)
  • Fixed OAuth pass-through routes rejecting client_id in authorization URLs, broken since v1.110.1 (#53379)

Backport #53942 · Backport #53960 · Backport #54018 · Backport #54085 · Backport #55008 · Full changelog

Don't miss a new litellm release

NewReleases is sending notifications on new releases.