Skip to main content
LiteLLM is moving to Rust Read the latest updates.

LiteLLM v1.113.0rc1 adds input and output token rate limits and LDAP group sync

Released

Deploy this version​

docker run \
-e LITELLM_MASTER_KEY=sk-<paste-a-long-random-key> \
-e DATABASE_URL=postgresql://<user>:<password>@<host>:5432/<dbname> \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:1.113.0-rc.1

This release is published as ghcr.io/berriai/litellm:v1.113.0-rc.1. See the GitHub release and the full releases page.

The published GitHub tag is v1.113.0-rc.1. These notes compare it with v1.112.0-rc.2, the previous release candidate. Changes backported onto rc/1.112.0 and already shipped in v1.112.0 are omitted.

Customer-facing changes come first. Test, CI and internal changes are listed at the bottom.

Breaking Changes

Changes from v1.112.0, the latest stable release, that need action when upgrading.

/v1/messages requests that route to OpenAI models now answer 400 when they send container, top_k, inference_geo or code execution allowed_callers. Before, these fields were ignored. Remove them from /v1/messages requests that route to OpenAI models. In the same change, 1 hour cache marks write OpenAI's 12 hour cache at 2x, and key allowlists, tool policies and content guardrails now act on MCP on any model. See PR #54173.

Non-admin keys need /watsonx and /langfuse in allowed_passthrough_routes. These pass-through routes forward with the proxy's own credentials, and before, any valid key could use them. Non-admin keys now lose /watsonx and /langfuse until an admin grants the route, so add both routes to allowed_passthrough_routes for the keys that use them. See PR #55007.

The proxy refuses to start when a custom guardrail path in the config names an instance. Before, a guardrail path that named an instance was silently skipped, so the proxy booted looking healthy and the guardrail never ran. Such a config now stops startup and fails --validate_config. Point custom guardrail paths at a class, not an instance. See PR #50838.

The /typesafe/... pass-through route is removed and now returns 404. Move callers to /v1/systemone for the native request body or to /v1/decisions for the OpenAI-shaped body. See PR #52165.

Key Highlights​

v1.113.0rc1 is the current release candidate for 1.113.0.

  • Token rate limits: per-key and per-team model input and output token limits (ITPM/OTPM) in the v3 rate limiter
  • LDAP group sync: LDAP groups sync to team memberships, with LDAP authoritative for matched teams when writes are on
  • Semantic cache controls: semantic cache on/off, similarity threshold and TTL overrides per key, user and team
  • Lens: an authenticated SDK callback sends traces to Lens without manual OTLP setup
  • New provider: Huawei Cloud MaaS, with cost map pricing
  • Startup: a proxy with a database no longer crashes at startup on Python 3.10 and prisma 0.13+, broken since v1.111.0
  • Worker recycling: requests on pooled keep-alive connections are no longer dropped when workers recycle, broken since v1.107.0
  • Redis: the Redis connection count no longer climbs every 10 minutes, because the async pool is reused
  • Presidio: PII in streamed and non-streamed tool calls is now masked
  • Prometheus: histograms and metrics are back with PROMETHEUS_MULTIPROC_DIR or a separate metrics port, broken since v1.110.0

New Providers and Endpoints​

New Providers (1 new provider)​

ProviderSupported LiteLLM EndpointsDescription
Huawei Cloud MaaS/v1/chat/completions, /v1/responses, /v1/messagesGLM 5.3, GLM 5.2 and DeepSeek V4.1 Flash under huawei_maas/, with cost map pricing

New Models / Updated Models​

New Model Support (45 new catalog entries)​

Counts are new catalog identifiers compared with v1.112.0, including aliases and regional variants. Prices are the values bundled in this release, in USD, and runtime pricing-map reloads can update them.

ProviderModelContext WindowInput ($/1M tokens)Output ($/1M tokens)Features / special pricing
Amazon Bedrockus-gov.openai.gpt-5.6-cyber922,000$16.875$101.25Chat; Reasoning; Vision; Tool calling
Databricksdatabricks/databricks-gemini-nano-banana-2-1131,072$1.87502$9.37503Chat; Vision; Prompt caching; $37.49998 per 1M image output tokens
Databricksdatabricks/databricks-kimi-k3-1-pro-fast1,048,576$1.99997$9.99999Chat; Reasoning; Vision; Tool calling; Prompt caching
Databricksdatabricks/system.ai.gemini-4-neon1,048,576$3$15Chat; Reasoning; Vision; Tool calling; Prompt caching; Audio input; Video input
ElevenLabselevenlabs/scribe_v2_realtime---Transcription; Audio input; $0.000061 per second of input
ElevenLabselevenlabs/scribe_v2_realtime/keyterms---Transcription; $0.000014 per second of input
fal.aifal_ai/krea/v3/edit/lora---Image generation; Vision; $0.26 per image
fal.aifal_ai/krea/v3/text-to-image/lora---Image generation; $0.12 per image
fal.aifal_ai/recraft/vectorize/pro---Image generation; Vision; $0.04 per image
Fireworks AIfireworks_ai/accounts/fireworks/models/glm-5p3-spot1,048,576$0.7$2.2Chat; Reasoning; Tool calling; Prompt caching; Structured output
Fireworks AIfireworks_ai/accounts/fireworks/models/hy4-flash524,288$0.07$0.281Chat; Reasoning; Vision; Tool calling; Prompt caching; Structured output
Fireworks AIfireworks_ai/accounts/fireworks/models/inkling-2-small1,048,576$0.3$1Chat; Reasoning; Vision; Tool calling; Prompt caching; Structured output
Fireworks AIfireworks_ai/accounts/fireworks/models/qwen4-max262,144$1.5$4.5Chat; Reasoning; Vision; Tool calling; Prompt caching; Structured output
Fireworks AIfireworks_ai/accounts/fireworks/routers/glm-5p3-flash-flex1,048,576$0.075$0.25Chat; Vision; Tool calling; Prompt caching; Structured output
Fireworks AIfireworks_ai/accounts/fireworks/routers/glm-5p3-flex1,048,576$0.7$2.2Chat; Reasoning; Tool calling; Prompt caching; Structured output
Fireworks AIfireworks_ai/accounts/fireworks/routers/kimi-k3p1-pro-ultrafast1,048,576$5$25Chat; Reasoning; Vision; Tool calling; Prompt caching; Structured output
Huawei Cloud MaaShuawei_maas/deepseek-v4.1-flash1,000,000$0.3$1.2Chat; Reasoning; Vision; Tool calling; Prompt caching
Huawei Cloud MaaShuawei_maas/deepseek-v4.1-flash-10171,000,000$0.3$1.2Chat; Reasoning; Vision; Tool calling; Prompt caching
Huawei Cloud MaaShuawei_maas/glm-5.21,000,000$1.4$4.4Chat; Reasoning; Tool calling
Huawei Cloud MaaShuawei_maas/glm-5.31,000,000$1.4$4.4Chat; Reasoning; Tool calling; Prompt caching
MiniMaxminimax/MiniMax-H3-Image-$2.3-Image generation; $3.8 per 1M image output tokens
MiniMaxminimax/MiniMax-H3-Image-Highspeed-$2.3-Image generation; $7.6 per 1M image output tokens
Nacenace/parse-high---OCR; $0.007 per page
Nacenace/parse-low---OCR; $0.0035 per page
Nacenace/parse-medium---OCR; $0.005 per page
NVIDIA NIMnvidia_nim/moonshotai/kimi-k3.1-pro---Chat
OpenAIgpt-6-astra-healthcare922,000$10$50Responses; Reasoning; Vision; Tool calling; Prompt caching; Structured output; PDF input; Computer use; Web search
OpenAIgpt-6.1-sol-healthcare922,000$2$10Responses; Reasoning; Vision; Tool calling; Prompt caching; Structured output; PDF input; Computer use; Web search
OpenAIgpt-6.2-astra-healthcare922,000$8$40Responses; Reasoning; Vision; Tool calling; Prompt caching; Structured output; PDF input; Computer use; Web search
OpenAIgpt-6.2-sol-healthcare922,000$2$10Responses; Reasoning; Vision; Tool calling; Prompt caching; Structured output; PDF input; Computer use; Web search
Together AItogether_ai/deepseek-ai/DeepSeek-V4.1-Flash-1017-fast1,048,576$0.6$2.4Chat; Reasoning; Vision; Tool calling; Prompt caching; Structured output
Vertex AIvertex_ai/gemini-4-neon-cyber-permissive1,048,576$3$15Chat; Reasoning; Vision; Tool calling; Prompt caching; Structured output; PDF input; Computer use; Web search; Audio input; Video input
Volcenginevolcengine/dola-seedream-5-0-flash-260915---Image generation; $0.018 per image
Volcenginevolcengine/dola-seedream-5-0-pro-260628---Image generation; $0.09 per image
Volcenginevolcengine/dola-seedream-5-5-261028---Image generation; $0.035 per image
Volcenginevolcengine/doubao-seedream-4-0-20260415---Image generation; $0.028571 per image
Volcenginevolcengine/doubao-seedream-4-0-260415---Image generation; $0.028571 per image
Volcenginevolcengine/doubao-seedream-5-0-flash-260915---Image generation; $0.017143 per image
Volcenginevolcengine/doubao-seedream-5-0-pro-260628---Image generation; $0.085714 per image
Volcenginevolcengine/doubao-seedream-5-5-261028---Image generation; $0.032857 per image
Volcenginevolcengine/seedream-4-0-250828---Image generation; $0.03 per image
Volcenginevolcengine/seedream-4-5-251128---Image generation; $0.04 per image
Volcenginevolcengine/seedream-5-0-lite-260128---Image generation; $0.035 per image
xAIxai/grok-4.6-latest500,000$2$6Chat; Reasoning; Vision; Tool calling; Prompt caching; Structured output; Web search
xAIxai/grok-4.7-latest500,000$2$6Chat; Reasoning; Vision; Tool calling; Prompt caching; Structured output; Web search

Amazon Bedrock​

  • Add the May 23, 2027 end of life date for Claude Opus 4.5 models - PR #53933
  • Add Bedrock GovCloud us-gov.openai.gpt-5.6-cyber pricing at its model card price - PR #54277
  • Add native pricing and serving of Claude on the bedrock_mantle provider on the Rust gateway - PR #54946
  • Fix Bedrock model discovery ignoring the configured control-plane endpoint - PR #50840
  • Fix a one minute worker stall on small Bedrock tools with shared $defs - PR #51137
  • Fix failures on Bedrock deployments with an empty api_base or runtime endpoint - PR #51244
  • Fix 400 on computer and browser toolsets with Bedrock invoke /v1/messages - PR #51756
  • Fix expired AWS SSO logins or missing profiles returning 500 instead of 401 - PR #53362
  • Fix 400 on encoding_format for OpenAI SDK embeddings on Bedrock Nova 2 - PR #53755
  • Fix Bedrock pass-through UnknownOperationException for bedrock/invoke/<id> and bedrock/converse/<id> models - PR #53836
  • Fix /v1/messages 400 for the server-side-fallback beta on Bedrock Invoke, Mantle and Databricks - PR #53857
  • Fix forwarded Anthropic keys replacing IAM auth on Bedrock fallbacks - PR #54209
  • Fix 400 on Mantle gemma-4 tool schemas that include propertyNames - PR #54214
  • Fix pass-through Bedrock Mantle Messages calls logging $0 or billing at Anthropic rates - PR #54236
  • Fix Nova audio and video embeddings billing $0 on deployments that set only a token price, broken since v1.112.0 - PR #54304
  • Fix 400 from Bedrock Invoke when Claude Code adds tools mid-conversation with inline-tools-2026-09-15 - PR #55032

Anthropic​

  • Add a January 22, 2027 retirement date for claude-opus-4-5 in the cost map - PR #53883
  • Fix 400 from Claude on /v1/messages when mixed Claude and Gemini groups send unsigned thinking blocks - PR #51793
  • Fix safeguards classifier and compaction summary calls logging under a random session id - PR #53405
  • Fix 500 on a malformed thinking_blocks, which now answers 400 naming the field - PR #53762
  • Fix 1 phantom output token logged when an error frame follows message_start, now logs 0 - PR #53914
  • Fix Anthropic cache tokens missing from the response token total used by usage-based routing - PR #53999
  • Fix 500 when a list or object advisor block id appears in message history - PR #54167
  • Fix inherited Anthropic keys replacing configured bearer credentials on Anthropic fallbacks - PR #54271
  • Fix rate-limit gauges not updating for streamed /v1/messages, /anthropic pass-through and Foundry Claude - PR #54373

Azure​

  • Fix streamed Azure chats dropping prompt_filter_results and finish-chunk content_filter_results - PR #50932
  • Fix pass-through to a new Azure AI Search index failing with a 500 until each instance syncs - PR #51098
  • Fix async Azure transcriptions ignoring the deployment's api_version - PR #53400
  • Fix /azure/... passthrough returning 500 when the model matches a non-Azure group, broken since v1.109.1 - PR #53904
  • Fix azure_ai/kimi-k3.1-pro limits to 1,000,000 input and 262,144 output tokens - PR #54057
  • Fix deprecation dates of four Azure gpt-chat-latest models to match the retirement schedule - PR #54555
  • Fix excessive memory use in Azure Document Intelligence output when page spans overlap - PR #54568
  • Fix client anthropic-beta header being dropped for azure_ai deployments on /v1/messages - PR #55113
  • Change five azure_ai model retirement dates to the later dates Azure states - PR #54067, PR #54184

Gemini and Vertex AI​

  • Add Gemini page and sheet slice options and Files API references on chat completions - PR #52611
  • Add cost tracking for vertex_ai/gemini-4-neon-cyber-permissive - PR #53896
  • Add Flex image output token prices for four Vertex Gemini image models - PR #54718
  • Fix Gemini image refusals returning 200 with data: [], they now return an error - PR #29125
  • Fix Gemini TTS returning WAV for format: pcm16 and a doubled header on /v1/audio/speech - PR #51145
  • Fix 400 from newer Gemini models when the last user message is empty - PR #51311
  • Fix Vertex Imagen image edit returning ValueError instead of a 400 BadRequestError on missing image or prompt - PR #52538
  • Fix Gemini image size and imageConfig being ignored, unmappable values now return 400 - PR #53580
  • Fix Gemini batch lines that end malformed with no output being reported as successful - PR #53957
  • Fix Gemini embedding video_metadata that samples no frames, which now answers 400 instead of 500 - PR #54086
  • Fix Gemini Chat Completions rejecting tool_choice value validated - PR #54191
  • Fix 400 for wav as audio.format on Gemini TTS chat completions - PR #54289
  • Fix gemini/gemini-2.5-flash-image Flex image output tokens billed at the standard rate - PR #54331
  • Fix cache_control on a later turn caching only that turn, which gave Gemini 400s or wrong answers, broken since v1.105.0 - PR #54434
  • Fix missing success logging and spend for streamGenerateContent calls when the client disconnects early - PR #54545
  • Fix /v1/messages with cache_control failing with a 400 on Gemini 4 models - PR #54999
  • Change GET /v1beta/files on /gemini to list only files the calling key owns, admins still see all - PR #54308
  • Improve memory use of concurrent Vertex image edits by streaming request bodies - PR #53877

OpenAI​

  • Add the four OpenAI Healthcare model configurations with pricing so spend is tracked - PR #54199
  • Fix max_tokens 400 and Claude Code failures on gpt-chat-latest and chat-latest models - PR #51151
  • Fix Agents API session calls through /openai logging $0 spend, so budgets now apply - PR #51237
  • Fix background: true pass-through responses logging $0 instead of billing the creating key - PR #53586
  • Fix 400 on GPT Image 2.5 image_edit when sending a markup file - PR #53815
  • Fix drop_params not applying to reasoning objects on openai/ chat, Responses and /v1/messages - PR #53865
  • Fix o3 reasoning_effort of minimal or none, now dropped with drop_params or refused clearly - PR #54066
  • Fix chat-latest max input tokens, now 272000 instead of 400000 - PR #54260
  • Fix image edits failing when they name a LiteLLM file id, by sending the deployment's OpenAI file id - PR #54274
  • Fix OpenAI pass-through calls ignoring a deployment's custom model_info prices in spend and budgets - PR #54551

Other providers​

  • Add MiniMax-H3-Image support on /v1/images/generations and /v1/images/edits with spend tracking - PR #50881
  • Add Nace nace/parse-* document parsing as an OCR provider on /v1/ocr with spend tracking - PR #52519
  • Add cost tracking for together_ai/deepseek-ai/DeepSeek-V4.1-Flash-1017-fast - PR #53906
  • Add a December 11, 2026 retirement date for databricks/databricks-gpt-5-nano - PR #53907
  • Add fal.ai fal_ai/recraft/vectorize/pro and FLUX 3 Max video promotional pricing through December 7 - PR #53974
  • Add function tool support for 19 more Perplexity Agent API models, and new ones get tools by default - PR #54047
  • Add Volcengine Ark Seedream image generation, editing and pricing - PR #54076
  • Add Huawei Cloud MaaS provider with cost map pricing - PR #54225
  • Add Fireworks Qwen4 Max and Hy4 Flash serverless pricing so requests no longer track at $0 - PR #54237
  • Add pricing for Fal Krea 3 LoRA text-to-image and edit models - PR #54380
  • Add pricing for xAI grok-4.6-latest and grok-4.7-latest and xai/grok-4.6 batch prices - PR #54381
  • Add Fireworks Inkling 2 Small pricing so its requests no longer track at $0 - PR #54499
  • Add Fireworks GLM 5.3 Flex, GLM 5.3 Flash Flex and GLM 5.3 Spot pricing - PR #54560
  • Add Databricks Gemini Nano Banana 2.1, Gemini 4 Neon and Kimi K3.1 Pro Fast to the model cost map - PR #54745
  • Add retirement dates for xAI grok-code-fast and grok-code-fast-1-0825 in the cost map - PR #54764
  • Fix OpenRouter streams dropping chunks that carry only reasoning_details, such as Claude's thinking signature - PR #48412
  • Fix streamed vLLM chat dropping prompt_token_ids and spend rows storing prompt text with message logging off - PR #51087
  • Fix DeepSeek V4 on /v1/messages ignoring output_config.effort and thinking - PR #51317
  • Fix GitHub Copilot invalid_pdf_request errors when messages include HTML or plain-text documents - PR #53554
  • Fix Ollama model info lookups ignoring the call's api_base and api_key, and added retries - PR #53830
  • Fix Perplexity agent models rejecting or dropping function tools on chat completions - PR #53952
  • Fix Mistral rejecting unknown message fields when drop_params is on - PR #53962, PR #54040
  • Fix 400 on logprobs and top_logprobs for nvidia_nim/ chat calls - PR #54008
  • Fix null context window and output limits for OpenRouter models, now read from OpenRouter's catalog - PR #54046
  • Fix streamed watsonx chat calls reporting estimated token counts instead of the provider's usage - PR #54052
  • Fix Fireworks hy4-flash max input tokens, now 524288 instead of 262144 - PR #54265
  • Fix 400 on reasoning_effort and /v1/messages thinking for zai/glm-5.3 - PR #54279
  • Fix GitHub Copilot requests failing for ghe.com shared logins, broken since v1.110.0 - PR #54366
  • Fix Baseten DeepSeek-V4.1-Flash-Fast listed as supporting response schema in the cost map - PR #54669
  • Fix DashScope rerank reporting $0 cost despite a configured rate - PR #54801
  • Change Together AI together_ai/Qwen/Qwen4-Max pricing to the regular rate now that the promotion ended - PR #53973
  • Change the deprecation date of four Together AI models to 2026-12-09 - PR #54558

LLM API Endpoints​

Responses API​

  • Fix forked /v1/responses sessions replaying every turn instead of only their ancestors - PR #49519
  • Fix 429s on TPM-limited keys after a Responses WebSocket closes, broken since v1.107.0 - PR #51086
  • Fix shortened tool names resolving inconsistently in replies, tool permissions and spend logs on /v1/responses - PR #53269
  • Fix failures on long tool call IDs when Responses requests are bridged to chat completions - PR #53390
  • Fix Responses WebSocket turns skipping the deployment itpm limit that HTTP requests hit - PR #53594
  • Fix invalid_encrypted_content 400 on fallback after faked /v1/responses streams - PR #53746
  • Fix max_parallel_requests slot staying held when a Responses WebSocket is refused at open - PR #53902
  • Fix streamed tool call arguments arriving as JSON objects instead of strings on Responses - PR #53953
  • Fix background_options on /v1/responses being dropped before reaching OpenAI - PR #53991
  • Fix 400 and 500 errors on replayed tool names over 64 characters and guardrail edits with shared MCP labels - PR #54240
  • Fix spend for cancelled native /v1/responses streams to use the usage the provider reports - PR #54752
  • Fix cancelling or deleting a background response leaving its provider stream running - PR #54789
  • Change unknown previous_response_id on chat-bridged /v1/responses to return 400 - PR #53766

Chat Completions​

  • Fix access_programs and prompt cache fields missing from chat completions on OpenAI SDK 3 - PR #51814
  • Fix hosted vLLM and Azure rewriting the caller's own messages parts in place - PR #51841
  • Fix streamed chat chunks omitting finish_reason: null before the last chunk, which the Mistral SDK rejected - PR #53876
  • Fix gateway chat usage dropping fields the Python proxy reports - PR #54166
  • Fix 400 on mid-conversation system messages for system-first Qwen deployments - PR #54347
  • Fix mid-stream upstream aborts showing as a clean stop on azure_ai, databricks and Vertex Model Garden - PR #54443
  • Fix refusal text going missing in chat streams bridged through the Responses API - PR #54496
  • Fix async streams erroring when the connection drops right after the finish on Vertex Mistral, Jamba and watsonx - PR #54565

Anthropic Messages API​

  • Add per-deployment deferred_tools handling on /v1/messages to keep prompt cache on non-Anthropic models - PR #54183
  • Add configured model descriptions to Anthropic-format model lists - PR #54282
  • Add usage.cost on /v1/messages stream message_delta events in the Rust gateway - PR #55155
  • Fix /v1/messages to OpenAI ignoring thinking: disabled, display, between_tools and output_config.effort - PR #49765
  • Fix /v1/messages ignoring output_config.effort beside a thinking budget on non-Claude models - PR #49846
  • Fix empty answers when a web search turn reaches max_agentic_loops and dropped max_tokens on follow-ups - PR #54053
  • Fix /v1/messages null user or system text blocks, which now answer 400 like Anthropic - PR #54165
  • Fix blocked streamed /v1/messages calls logging as success with 0 output tokens and $0 spend - PR #54238
  • Fix message_start on /v1/messages being held until the first content delta when retries are on, broken since v1.106.0 - PR #54319
  • Fix Claude Code on vLLM stopping after one tool call because tool_use ids were rewritten, broken since v1.91.0 - PR #54468
  • Fix missing x-litellm-key-max-budget header on answers served by the Rust gateway - PR #54617
  • Fix end users named in metadata.user_id skipping budget and model checks on the Rust gateway - PR #54818
  • Fix missing x-litellm-response-cost header on /v1/messages answers served by the Rust gateway - PR #54963
  • Change /v1/messages with enable_pre_call_checks to stay native, and the 400 no longer lists token counts - PR #53039
  • Change /v1/messages to OpenAI models to reject container, top_k and inference_geo with 400 - PR #54173
  • Change /v1/messages to log reasoning_tokens as 0 when thinking has no reported token count - PR #54954
  • Improve Rust gateway to forward safeguards to the provider natively, as sent by Claude Code auto mode - PR #55110

Realtime​

  • Add elevenlabs/scribe_v2_realtime realtime transcription on /v1/realtime with spend tracking - PR #48984
  • Add Gnani Prisma v2.5 and v3.0 realtime transcription - PR #53828
  • Fix TPM limits being ignored during /v1/realtime sessions for keys, teams, tags, agents and projects - PR #53689

Images, audio and embeddings​

  • Fix text-to-speech ignoring the provider's own API key variable - PR #39522
  • Fix text, srt and vtt transcriptions returning JSON instead of plain text - PR #53255
  • Fix 400 and 500 errors on JSON-form image edits with image links sent to OpenAI and Azure - PR #53864
  • Fix 500 on image generation and edit with stream=true - PR #53966
  • Fix TPM limits charging nothing for embeddings the provider reports as 0 tokens - PR #54088
  • Fix embedding extra_body fields landing at the wrong path for Vertex, Gemini and SageMaker Cohere - PR #54273

Batches and files​

  • Fix Bedrock batch retrieve and cancel always reporting /v1/chat/completions as the endpoint - PR #50784
  • Fix files uploaded for several litellm_proxy/* targets failing with 400 on all but one target - PR #54181
  • Change timed-out file and batch creates to no longer be resent to the provider - PR #51315
  • Change plain provider file uploads and listings to cover only the uploading team's files - PR #53084

Vector stores​

  • Fix provider 400 errors caused by vector store ids sent in request bodies - PR #51209

Count tokens​

  • Fix 500 on /utils/token_counter for a contents-only body, and unreadable contents now returns 400 - PR #50710
  • Fix 500 from /utils/token_counter on unreadable content blocks, now 400 naming the block - PR #53829
  • Fix 400 on /utils/token_counter and /v1/messages/count_tokens for histories with a fallback block - PR #54006

Management Endpoints / UI​

Admin UI​

  • Add Cost Optimization tabs and filters that persist in the URL - PR #41463
  • Add MCP Servers tabs, filters and open server state that persist in the URL - PR #41471
  • Add the Reco guardrail card and logo to the Guardrail Garden - PR #50745
  • Add PDF export to the Usage page export modal - PR #53951
  • Add Responses as a Mode option for Test Connect when adding a model - PR #55001
  • Fix Chinese dashboard translating built-in prompts and role names, and filled 54 missing translations - PR #52994, PR #53254
  • Fix page layouts, button placement and tab underlines shifting below the new page headers - PR #54097
  • Fix internal users landing on Home when page visibility hides it - PR #54563
  • Fix badge text, such as the Beta badge next to Lens, going blank when a menu row is highlighted - PR #54987
  • Remove the Beta badge from Customer Management in the workspace switcher - PR #54510

Keys, teams and authentication​

  • Add LDAP group sync to team memberships, with LDAP authoritative for matched teams when writes are on - PR #50130
  • Add safe default routes for AI API service account keys, including reading their own spend and key info - PR #54027
  • Add fleet-wide team budgets set once from the control plane across dataplanes - PR #54056
  • Add OAuth client credentials for inference providers that reject static API keys - PR #54101
  • Add per-key and per-team model input and output token limits (ITPM/OTPM) to the v3 rate limiter - PR #54311
  • Add opt-in response headers showing remaining customer, org and member budgets per window - PR #54483
  • Add native JWT authentication on the Rust gateway, including team and user lookups - PR #54579, PR #54580, PR #54581, PR #54600, PR #54708, PR #54842, PR #54844, PR #54851, PR #54853, PR #54856, PR #54870
  • Fix SCIM user writes overwriting teams a concurrent group push added - PR #50785
  • Fix Claude Code gateway and lite login sign-in never completing when SSO is SAML - PR #51473
  • Fix HTTP 500 on every call when key or team metadata.logging is sent as a JSON string - PR #51719
  • Fix SCIM PATCH remove with no value or filter not clearing user groups or group members - PR #51784
  • Fix ExceededBudget refusing customers under budget when requests hit a cold spend counter - PR #52806
  • Fix non-admins being able to set spend when creating a key - PR #53596
  • Fix admin oidc/env/... api_key references returning 401 on batch cancel, OCR, /v1/messages and more - PR #53678
  • Fix a failed /team/new leaving behind a member budget, model alias or permission row - PR #53763
  • Fix teams showing only one access group when two admins assign them at once - PR #53840
  • Fix generic SSO login failing for emails on .local, .test and other special-use domains - PR #54026
  • Fix temp budget increase on a team default member keeping a stale copy of the default max_budget - PR #54307
  • Fix TPM limits overshooting for large system prompts on /v1/messages and instructions on /v1/responses - PR #54318
  • Fix requests going past tpm_limit after relay calls charged tokens with no rate-limit window open - PR #54401
  • Fix a team_ids_jwt_field JWT claim sent as text being read as no team - PR #54841
  • Fix saving a blank Default Teams budget clearing team member budget caps - PR #54933
  • Change /watsonx and /langfuse pass-through to require allowed_passthrough_routes for non-admin keys - PR #55007

Lens​

  • Add Lens tracing controls and a Lens tab on key and team pages - PR #53191
  • Add automatic model key provisioning for embedded Lens - PR #53900
  • Add virtual key alias and user email to Lens traces forwarded by the gateway - PR #54952
  • Add an authenticated SDK callback that sends traces to Lens without manual OTLP setup - PR #55012
  • Add Monitor, Improve and Workspace groups and an unread Findings badge to embedded Lens navigation - PR #55045
  • Fix 401 on Lens routes for keys sent in x-api-key, api-key and other key headers - PR #53810
  • Fix embedded Lens rejecting a working dashboard login or picking a different account - PR #54248
  • Fix GET /v1/traces/agents always returning 400 Invalid trace query - PR #55016
  • Change /ui/lens/ to use the gateway sidebar and theme toggle - PR #53887

AI Integrations​

Guardrails​

  • Fix Bedrock during_call guardrail rescanning history instead of honoring only_scan_new_messages - PR #53258
  • Fix tools-returning guardrails rewriting every /v1/messages tool and dropping web_search - PR #53290
  • Fix the Guardrails Monitor detail page for a guardrail removed from config - PR #53315
  • Fix Presidio not masking PII in streamed and non-streamed tool calls - PR #53396
  • Fix Bedrock during_call guardrail skipping the system prompt and tool results on /v1/messages - PR #53507
  • Fix denied tool calls reaching clients on unusual /v1/messages stream framings - PR #53673
  • Fix cache_control being dropped on /v1/messages for Claude and Gemini alias model names - PR #53742
  • Fix masked answers keeping vLLM token ids and logprobs that spell the original words - PR #53758
  • Fix output guardrails skipping refusal text on chat and Responses, including streams and WebSocket frames - PR #54039
  • Fix Bedrock guardrail tool call scans logging blocks as passed and skipping Gemini generateContent tool calls - PR #54169
  • Fix content filters skipping generateContent turns with one-object parts and unchecked tool call args and results, broken since v1.109.0 - PR #54359
  • Fix Presidio logging_only mode masking the client's response and buffering streams - PR #54502
  • Fix generic guardrail request_headers including hop-by-hop headers such as connection - PR #55080
  • Change startup to fail when a custom guardrail path names an instance, and --validate_config fails it - PR #50838
  • Improve Presidio streaming first-frame wait to cut CPU on streams with many leading frames - PR #54379

Logging and observability​

  • Add a Mixpanel OpenTelemetry v2 preset callback - PR #49999
  • Add Prometheus metrics recording in the Rust gateway when prometheus is listed in litellm_settings.callbacks - PR #53712
  • Add Luca to the generic API compatible logging callbacks - PR #53899
  • Add retries for failed audit log writes and a metric counting entries that stay lost - PR #54417
  • Add an OTel setting to disable background service spans so jobs stop creating standalone traces - PR #54478
  • Add native s3_v2 logging for calls served by the Rust gateway - PR #54535
  • Fix requests answered by the gateway missing from the daily gateway request totals - PR #53704
  • Fix spend logs storing REDACTED_BY_LITELM in guardrail fields and the logs page crashing on them - PR #53912
  • Fix langfuse callback not uploading base64 images to media storage, bloating trace size, broken since v1.104.0-rc.1 - PR #53934
  • Fix Langfuse logs of rejected requests copying the full prompt into model parameters - PR #54084
  • Fix rejected /v1/responses, /v1/completions and /v1/embeddings requests logging a placeholder prompt - PR #54122
  • Fix None custom metadata labels on Prometheus fallback metrics - PR #54197
  • Fix missing Prometheus histograms and metrics with PROMETHEUS_MULTIPROC_DIR or a separate metrics port, broken since v1.110.0 - PR #54393
  • Fix guardrail-matched prompt text staying in spend logs for no-log requests when the collector is on - PR #54479
  • Fix litellm_deployment_cooled_down recording nothing when custom Prometheus labels are configured - PR #54488
  • Fix false hanging-request alerts for completed requests and old entries hiding real hangs - PR #54493
  • Fix budget alerts raising ValueError and never reaching Slack or MS Teams when no receiver email is set - PR #54505
  • Fix disable_spend_logs being ignored when set from the Admin UI or database, or on Redis replay - PR #54526
  • Fix dropped_attributes reading 0 on Langfuse OTel calls exported as a named trace's root - PR #54599
  • Fix user agent tags missing from spend logs of calls served by the Rust gateway - PR #54940
  • Fix client_ip and user_agent labels showing None on proxy request metrics for /v1/messages failures - PR #55070
  • Fix logged response.model for streams being cut at the model's first slash or losing a Bedrock ARN prefix - PR #55086
  • Change /v1/messages and /anthropic logs to use a size placeholder for base64 sources - PR #54161
  • Change langfuse_otel to group calls sharing a metadata.trace_id into one Langfuse trace - PR #54408
  • Change OTel to group background job service spans into one trace per run by default - PR #54513

Spend Tracking, Budgets and Rate Limiting​

Cost tracking​

  • Add pricing for Fireworks Kimi K3.1 Pro Ultra-fast - PR #54627
  • Fix svg_usage tokens not billed on /v1/responses image_generation calls with output_format svg - PR #53813
  • Fix missing audio batch prices falling back to text pricing instead of half the audio rate - PR #53867
  • Fix direct AI21 Jamba SDK calls returning no cost - PR #53868
  • Fix rerank responses dropping provider usage and reported costs - PR #53893
  • Fix cost map reload not adding new models to litellm.model_list and model_list_set - PR #54058
  • Fix Responses image_generation tool images ignoring deployment custom pricing - PR #54303
  • Fix no-log requests not counting toward key and team spend with use_spend_logs_ledger: false - PR #54309
  • Fix batch and failure costs ignoring a deployment's custom pricing when its id matches another provider's model - PR #54427
  • Fix missing metadata.cost_breakdown in spend logs for image generation and edit calls - PR #54470
  • Fix the lowercase together_ai/thinkingmachines/inkling cost map row keeping an old deprecation date - PR #54573
  • Fix azure_ai deployments rerouted to azure and misbilled with a custom LITELLM_MODEL_COST_MAP_URL - PR #54771
  • Fix /v1/messages streams cut short by the client or provider not being charged on the Rust gateway - PR #54989
  • Change /model/cost_map/source and failed cost map reloads to omit the URL's query string and userinfo - PR #52804
  • Improve failed spend batch handling to avoid row lock waits and timeouts across pods - PR #53925
  • Improve Rust gateway serving of requests when litellm_settings.cost_discount_config is set - PR #55087

MCP Gateway​

  • Add proxy log entries for OAuth errors at /token, /register and /authorize - PR #52401
  • Add separate cached OAuth tokens for named MCP credentials that share an OAuth app - PR #53506
  • Add saving per-server events settings on MCP servers, kept across server edits - PR #53602
  • Add validation that rejects named MCP credentials differing only by case within one server - PR #53621
  • Add keeping the saved secret of a named MCP credential when it is edited - PR #53634
  • Add MCP server OAuth settings to the Terraform litellm_mcp_server resource - PR #53862
  • Add mcp_info.resource_uri_match: path_only option for routing aggregate resources/read calls - PR #54486
  • Add Granola and Attio to the MCP catalog and preselected OAuth for hosted OAuth servers - PR #54490
  • Fix tool display name and description overrides being dropped for config.yaml MCP servers - PR #52380
  • Fix require_key_mcp_access_defined being ignored when saved in the database - PR #52414
  • Fix named MCP credentials staying encrypted with the old key after master key rotation - PR #53671
  • Fix a forced hosted MCP tool_choice still reaching the provider under drop_params - PR #53697
  • Fix GET /authorize deleting the dashboard cookie of a PROXY_ADMIN_ID admin - PR #53844
  • Fix YAML-only MCP gateways reloading the catalog on every request, broken since v1.106.0 - PR #53989
  • Fix chat rejecting an MCP server that the dashboard viewer's team was granted - PR #54316
  • Fix MCP tool calls releasing the request's slot and budget holds early and adding extra TPM tokens to the key - PR #54469
  • Fix a dashboard session's Authorization reaching MCP guardrails and extra_headers servers on chat and responses - PR #54587
  • Fix MCP catalog pagination failing when the client IP changes between pages - PR #55121
  • Fix MCP OAuth authorization dropping the offline_access refresh scope, broken since v1.107.0 - PR #55123
  • Improve scheduled MCP reloads by batching OAuth client reads for YAML servers - PR #54091
  • Improve aggregate /mcp resources/read by caching upstream owner discovery and bounding slow servers - PR #54487
  • Improve scheduled MCP refreshes by skipping catalog rebuilds when the database revision is unchanged - PR #54514

Agents, SDK and other changes​

Agents​

  • Fix chat, /v1/responses and /v1/messages calls to per-query agents billing $0 - PR #51808

SDK​

  • Fix from litellm.router import Router importing the proxy - PR #54251

Other​

  • Add preserve_trace_context to forward caller trace headers unchanged on pass-through routes - PR #53275
  • Add more x-litellm-* call detail response headers on the Rust gateway - PR #53998
  • Fix 500 or duplicate search requests when an HTTP/2 connection receives a graceful GOAWAY, broken since v1.109.0 - PR #51278
  • Fix litellm --test failing with ValueError: Invalid test value and a 401 from --health, broken since v1.61.20 - PR #53866
  • Fix tool discovery writes stopping for every worker when the Redis transaction buffer is on - PR #53886
  • Fix an unreachable OCR document_url or image_url returning a provider 500 instead of a 400 - PR #54215
  • Fix redaction of credential-named fields in relayed error.provider_specific_fields - PR #54302
  • Change lite models list to print models alphabetically, with --no-sort to keep proxy order - PR #51248
  • Change the default API reference to Scalar and removed ReDoc - PR #53063
  • Remove the /typesafe/... pass-through route in favor of /v1/systemone and /v1/decisions - PR #52165

Performance / Loadbalancing / Reliability improvements​

Routing and fallbacks​

  • Add an option to skip blocked deployments in background health checks - PR #52761
  • Add native serving of deployments that set litellm_params.tags on the Rust gateway, logged under those tags - PR #54941
  • Fix local 400 on near-limit prompts and PDFs the provider accepts, by using each deployment's tokenizer - PR #49764
  • Fix PDF token estimates rejecting requests that Gemini and OpenAI accept, broken since v1.106.0 - PR #54208
  • Fix gateway retry after a context window refusal reusing the same Bedrock model under another spelling - PR #54791
  • Change context window 400s to retry on another-model group deployment when enable_pre_call_checks is on - PR #54157
  • Improve enforce_model_rate_limits to stay in the gateway and return retry-after on refusals - PR #53061

Caching​

  • Add semantic cache on/off, similarity threshold and TTL overrides per key, user and team - PR #53905
  • Add key, user, team and global scoped enabled and ttl settings for exact-match response caching - PR #54041
  • Add a deployment setting to choose which cache controls a request may override - PR #54219
  • Fix Redis connection count climbing every 10 minutes by reusing the async pool - PR #34871
  • Fix cached responses being shared across requests with different extra_body - PR #53898
  • Fix missing cache-key header on non-streaming /v1/messages cache hits - PR #54217
  • Fix refreshed in-memory cached responses keeping their old expiry instead of the request TTL - PR #54270
  • Fix sync embedding calls crashing on cache entries written by async batches - PR #54281
  • Fix keys with cache settings choosing a cache namespace per request instead of using their own, broken since v1.111.0 - PR #54295
  • Fix redis-semantic cache failing to build for restricted Redis users by upgrading redisvl to 0.26.0 - PR #54410
  • Fix caching being wrongly enabled or disabled at the message limit on bridged chat requests - PR #54500
  • Fix native Redis stores ignoring cache_params.namespace, so shared Redis limits and cooldowns collided, broken since v1.110.0 - PR #55138
  • Improve memory use of Redis cache logging by releasing caller frames without cyclic GC - PR #54105

Deployment​

  • Add spend log writes from the Rust gateway when a database is configured - PR #53710
  • Add native gateway serving when general_settings.allowed_routes is set - PR #53794
  • Add write-only Terraform variables for key and team logging callbacks - PR #53861
  • Add a linter script for proxy config.yaml files - PR #53863
  • Add KEDA ScaledObjects for backend and ui in the Helm chart - PR #53875
  • Add optional private ingress to the AWS and GCP Terraform modules - PR #54212
  • Add native gateway serving when general_settings.allowed_ips is set - PR #54387
  • Add gateway support for user_api_key_cache_ttl and user_api_key_cache_max_size - PR #54523
  • Add support for general_settings.disable_budget_reservation on the Rust gateway - PR #54615
  • Fix upgrades blocking spend log writes while request-log indexes build - PR #49667
  • Fix stale spend totals after partitioning and views blocking old spend logs table cleanup - PR #50828
  • Fix standalone gateway 501 on drop_params, reasoning_auto_summary and request_timeout, and 500 on timeouts - PR #51236
  • Fix litellm_team updates in Terraform wiping team logging callbacks - PR #51708
  • Fix Terraform rejecting responses, realtime and other modes on litellm_model - PR #52374
  • Fix Rust gateway spend log rows not grouping under the caller's session - PR #53748
  • Fix spend log partition creation blocking SpendLogs inserts - PR #53858
  • Fix Terraform AWS and GCP gateways not loading models added in the Admin UI - PR #53860
  • Fix dropped requests on pooled keep-alive connections when workers recycle, broken since v1.107.0 - PR #53882, PR #53908
  • Fix the partitioning runbook leaving new spend logs in the DEFAULT partition - PR #53894
  • Fix proxy startup failures on Postgres databases with SQL_ASCII encoding - PR #53965
  • Fix imported litellm_model Terraform resources losing their routing model on update - PR #54226
  • Fix boots blocked by P3009 after a migration is stopped at the deploy time limit - PR #54284
  • Fix proxy with a database crashing at startup on Python 3.10 and prisma 0.13+, broken since v1.111.0 - PR #54416
  • Change the native gateway to load the remote cost map when LITELLM_MODEL_COST_MAP_URL is set - PR #53555
  • Change the default uvicorn keep-alive to 95s so load balancers close idle connections first - PR #53879
  • Improve the log for an unreadable litellm_settings.drop_params to say which clients keep it on - PR #54083
  • Improve lint_config to check model_info and report the settings a model needs - PR #54290

Performance​

  • Add native budget checks for budgeted keys on the Rust gateway, before rate limiters count the call - PR #54622, PR #54625
  • Improve import litellm startup by serving the bundled cost map and refreshing the remote one in the background - PR #52795
  • Improve chat request latency for teams with large rosters - PR #53909
  • Improve import litellm time by loading realtime and provider cost code on first use - PR #54344
  • Improve import litellm time by no longer parsing the bundled cost map at import - PR #54515
  • Improve Rust gateway to serve keys with a team, owner, project or organization natively - PR #54778, PR #54869, PR #54873, PR #54874, PR #54875, PR #54876, PR #54882, PR #54883
  • Improve Rust gateway to serve /v1/messages requests with metadata.user_id natively for unrestricted end users - PR #54826
  • Improve Rust gateway handling of Claude Code model ids like <name>[1m] instead of falling back to Python - PR #54974
  • Improve CPU and memory use when streaming /v1/messages responses through the Rust gateway - PR #55055, PR #55061, PR #55065

Documentation Updates​

  • Retire cosign.pub and document keyless release signing - PR #53884
  • Clarify logging_callback ownership of unmanaged callbacks - PR #53895

Tests, CI and Internal Changes​

Fixes for regressions that never reached a release, test and CI changes, dependency bumps and internal refactors.

  • Add a codex row that calls an mcp tool whose name is over 64 characters - PR #49826
  • Run the lint tools from the paths the PR head carries - PR #52119
  • Check a request body in the auth core from data the caller hands in - PR #52238
  • Candidate rows and pricing snapshot for /v1/messages Claude providers - PR #52472
  • Price Claude token calls, budget holds and auth price checks in Rust - PR #52484
  • Price native /v1/messages calls in the Rust route and hand the receipt to logging - PR #52624
  • Fetch through a Source trait and RemoteSource - PR #52786
  • Add the shared refresh and reload through it - PR #52801
  • Price generic_cost_per_token with the native calculate - PR #52816
  • Remove unused digitsOnly - PR #53241
  • Remove unused MAX_CHAT_ATTACHMENT_COUNT - PR #53242
  • Remove unused decisionsExample - PR #53244
  • Remove unused POLICY_OPTIONS - PR #53245
  • Remove unused CLASSIFICATION_RUBRIC_KEYS - PR #53246
  • Remove unused AUTO_ROUTER_MODES - PR #53247
  • Remove unused isCodeInterpreterEvent - PR #53248
  • Remove unused COLOR_BG_LIGHT, SPACING_SMALL and SPACING_XXLARGE - PR #53249
  • Remove unused SESSION_ID_QUERY_PARAM - PR #53250
  • Remove unused RowTitle - PR #53251
  • Remove unused DEFAULT_RANGE_HOURS and isLive - PR #53252
  • Remove unused financialFrameworkMeta and insultsFrameworkMeta - PR #53253
  • Run the python bridge through MessagesRoute::machine and pass decode results as one plan - PR #53367
  • Read the auth prefetch owner rows through a rust repository - PR #53452
  • Define auth profile types with secret-free serialization - PR #53502
  • Add nullable MCP auth profile storage - PR #53503
  • Pin default credentials for ordinary server permissions - PR #53504
  • Clear basedpyright Any errors across 35 files - PR #53599
  • Model the Events extension wire contract - PR #53601
  • Replace Unknown with proven types in 62 files - PR #53647
  • Read stored profile grants with auth permissions - PR #53663
  • Add grant parsing and canonicalization helpers - PR #53680
  • Replace Unknown with proven types in 225 files - PR #53687
  • Tell callbacks who called, which deployment answered, when, and under what id - PR #53703
  • Build the spend log callback's input for a served call - PR #53706
  • Answer the spend log callback's host calls in rust - PR #53708
  • Replace Unknown with proven types in 390 files - PR #53715
  • Decide the proxy's IP and route allowlists in the auth core - PR #53741
  • Replace Unknown with proven types in 245 files - PR #53774
  • Add the model rate limit counters to RouterCache - PR #53789
  • Hold one cost map and read it on every request - PR #53798
  • Replace Unknown with proven types in 86 files - PR #53803
  • Replace Unknown with proven types in the legacy spend tracking files - PR #53833
  • Remove five unused dashboard declarations - PR #53834
  • Verify callback cost availability and document ordering - PR #53852
  • Move models, organizations, projects, skills, tool policies, usage and alerts onto the layout frame - PR #53880
  • Regenerate the dashboard API types for lens_enabled and plain text transcriptions - PR #53888
  • Move six more pages and the root route onto the layout frame - PR #53891
  • Regenerate the OpenAPI snapshot and dashboard API types for preserve_explicit_oauth_settings - PR #53901
  • Replace Unknown with proven types in 82 more files - PR #53918
  • Raise the idle worker RSS budget - PR #53919
  • Move the customer portal onto the layout frame - PR #53921
  • Clear the rust-test and rust-wheel failures on main - PR #53922
  • Wait for the Rust cleanup warning to reach Python logging before asserting it - PR #53930
  • Keep the beta header map local in the URL join host proxy test - PR #53932
  • Let Health borrow its cache - PR #53948
  • Give the spend counter ledger test's auth cache double the team fields read - PR #53958
  • Keep a worker's per-minute outcomes in an outcomes-only type - PR #53961
  • Expect bridged turns to replay only their own path in the caller session tests - PR #53970
  • Hold each call's record in a task-local - PR #53976
  • Expect the always kept previous response ids in the included metadata fields test - PR #53981
  • Refuse a bare tokio::spawn - PR #53982
  • Record the served attempt - PR #53984
  • Render response headers from the call record - PR #53988
  • Classify billable requests through one Rust route table - PR #53996
  • Type optional_pre_call_checks as an enum - PR #54000
  • Move reported_failure onto Core - PR #54001
  • Read a deployment's own cooldown_time in one place - PR #54019
  • Add repositories for the config, model and credential tables - PR #54020
  • Layer LiteLLM_Config settings rows over the config document - PR #54021
  • Hold config-built state in a swappable unit - PR #54022
  • Merge DB models and credentials into the config model list - PR #54023
  • Add litellm-at-rest crate for salt-key encryption of DB values - PR #54025
  • Boot from the config file plus the config stored in the DB - PR #54034
  • Name the priority, lar1 and provider-budget routing strategies - PR #54035
  • Check the Prisma CRUD scan by the helpers it finds instead of a fixed call count - PR #54036
  • Pass typed litellm_params to the DeepSeek messages transform in the unsigned thinking test - PR #54037
  • Regenerate the dashboard API types for Responses background_options - PR #54038
  • Reload the config stored in the DB on an interval and swap to it - PR #54042
  • Expect an authentication error when the AWS profile is missing in the bearer token test - PR #54044
  • Replace Unknown with proven types in 131 more files - PR #54045
  • Hold the first mock server in the stream pass-through test - PR #54051
  • Read the stored config again when the proxy announces a change on Redis - PR #54054
  • Close async OpenAI clients in the Vertex regional uplift tests - PR #54062
  • Add a Codex compatibility table, a Vertex AI column and five rows to tests/e2e/codex - PR #54065
  • Replace Unknown with proven types in 162 more files - PR #54089
  • End every JWT not mapped to a key as its identity - PR #54098
  • Split the context-window pre-call stage into its own module - PR #54108
  • Remove redundant billable route comments - PR #54109
  • Replace Unknown with proven types in 131 more files - PR #54119
  • Split the region and params pre-call stages into their own modules - PR #54124
  • Give bare dict headers parameters proven types in 118 files - PR #54154
  • Give bare dict optional_params and litellm_params parameters proven types in 132 files - PR #54175
  • Drop stale auth note from the /get/ui_settings docstring - PR #54178
  • Give bare dict data and request_data parameters proven types in 72 files - PR #54192
  • Run rustls on aws-lc-rs everywhere and add a fips feature - PR #54196
  • Key the roster repair test's cached user with AuthObject.user - PR #54200
  • Give untyped kwargs and args parameters proven types in 36 files - PR #54203
  • Expect the Models refresh action on the tab row again - PR #54205
  • Read the streamed Vertex image as its completed event - PR #54210
  • Update rust-wheel messages tests to main's current behaviour - PR #54223
  • Bound burst rejection time by a factor of the control so a loaded runner cannot fail it - PR #54224
  • Register the provider OAuth params and token cache in the credential and Redis producer guard tests - PR #54228
  • Tell cost lookups the Whisper row changed in the catalog rate test - PR #54252
  • Wait for the Rust limiter's queued log lines before comparing them - PR #54257
  • Admit by which stored objects the database holds - PR #54266
  • Give messages, tools and other repeated bare container parameters proven types in 64 files - PR #54268
  • Build the Rust bridge with its fips feature in the FIPS image - PR #54285
  • Pin the usage minute in the usage refusal fallback tests - PR #54299
  • Pin the usage minute in the request scoped rpm check test - PR #54300
  • Pin the usage minute in the group usage tests - PR #54301
  • 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 - PR #54314
  • Stop counting 404s on the removed /typesafe pass-through prefix as gateway requests - PR #54317
  • Give bare dict, list and tuple returns proven types in 133 files - PR #54321
  • Keep no-log request content out of spend logs when the ledger is off - PR #54322
  • Price messages calls for their spend log rows - PR #54329
  • Record output_cost_per_image_token_flex in the s3_v2 golden payloads - PR #54334
  • Drop max_tokens from the huawei_maas rows and run the cost map tests on cost map PRs - PR #54338
  • Open the rust database in the auth prefetch integration fixture - PR #54339
  • Read the killed deploy's attempt clock before its session opens - PR #54340
  • Wait for the rust rejection log before asserting it in the fail-closed settings-store test - PR #54341
  • Give bare dict, list and set returns, locals and constants proven types in 77 files - PR #54343
  • Expect a team's provider file list to be answered by the proxy with its own uploads - PR #54346
  • Answer malformed Gemini count cells with Google's real 400 - PR #54350
  • Make Caller a credential plus what it belongs to - PR #54351
  • Read failure usage across a minute change in the shared logging tests - PR #54356
  • Walk the Huawei Cloud MaaS chat route for internal params - PR #54360
  • Cover multi-turn GPT-6.2 prompt caching on OpenAI and Bedrock Mantle - PR #54361
  • Move the edit customer dialog onto the form kit - PR #54368
  • Annotate the database fixture generator scripts - PR #54375
  • Move the key model access check into authz/models - PR #54392
  • Check a request body before /v1/messages and /ocr read it - PR #54398
  • Apply require_key_mcp_access_defined from the stored general settings like Python - PR #54402
  • Keep the model access denial in error.rs - PR #54419
  • Hash virtual keys in the AWS-LC FIPS module - PR #54423
  • Build OpenSSL 3.5 LTS from source for Prisma - PR #54426
  • Give the held-back stream cancel test a fallback so the router still holds message_start - PR #54433
  • Move MCP Tool Search, MCP Semantic Filter, and Web Search Interception settings onto the form kit - PR #54449
  • Point chatgpt deprecation_source at learn.chatgpt.com/docs/models - PR #54454
  • Forward a Responses input that is one object instead of failing with a 500 - PR #54472
  • Compare a failed batch's retry time with the clock read before the failure - PR #54474
  • Expect the error event a rejected /v1/messages stream retry now ends with - PR #54475
  • Migrate admin display settings to the form kit - PR #54506
  • Move AI Hub visibility forms onto the form kit - PR #54512
  • Add the payload keys rust was missing and python goldens - PR #54516
  • Carry the key's spend, budget and metadata onto the call record - PR #54517
  • Record the request facts the logging payload reads - PR #54518
  • Keep a logged copy of the request's messages and params on the call record - PR #54519
  • Keep the served messages response for the logging payload - PR #54520
  • Record how a call failed the way python logs it - PR #54521
  • Read usage across the minute the request ran in - PR #54525
  • Build the standard logging payload from the call record - PR #54527
  • Migrate cost and model toggle forms to form kit - PR #54531
  • Store the two groups in scan order instead of asserting the order Postgres chose - PR #54532
  • Key the lazy registry by host, load all of it under LITELLM_DISABLE_LAZY_LOADING - PR #54539
  • Regenerate the dashboard API types for customer_budget_response_headers - PR #54541
  • Move cache, coordination Redis and logging settings onto the form kit - PR #54547
  • Write the fake key store's timestamps with +00:00 like the Rust key repository - PR #54550
  • Pin the clock in the mixed itpm and rpm limit test so a minute rollover cannot move its rpm counter - PR #54554
  • Expect flat per-image costs as output cost in the stored breakdown - PR #54556
  • Migrate MCP operations forms to the form kit - PR #54557
  • Move notification settings forms onto the form kit - PR #54559
  • Migrate logging callback forms to the form kit - PR #54562
  • Move customer hierarchy forms onto the form kit - PR #54566
  • Keep the stream logging handler importable without fastapi - PR #54570
  • Move router settings forms onto the form kit - PR #54571
  • Move skill and prompt editor forms onto the form kit - PR #54577
  • Add Credential::Jwt, Via, JwtActor, and JwtStamp to Caller - PR #54578
  • Clear 102 basedpyright Any errors across 21 files - PR #54586
  • Type the params models' get and read keys and base URLs through a str-or-None helper - PR #54589
  • Remove eight unused dashboard locals - PR #54591
  • Count only the abandoned guardrail task in the bounded execution timeout tests - PR #54593
  • Read the limiter's and model capacity's caller from Belongs - PR #54605
  • Hash Azure and GCP credential cache keys in the AWS-LC FIPS module - PR #54606
  • Inline Tailwind styles in the log detail viewer - PR #54607
  • Plan a caller's budget counters from Belongs - PR #54609
  • Send messages models python translates to python - PR #54610
  • Resolve bedrock and vertex credentials without an api key - PR #54611
  • Drain a bedrock invoke stream after its client leaves, as python does - PR #54612
  • Serve claude on vertex ai, bedrock and mantle natively - PR #54613
  • Stamp what a caller belongs to on its spend log - PR #54614
  • Read a team in the shape the auth cache holds it - PR #54616
  • Read budget counters through a spend reader with row floors - PR #54619
  • Type the dict-style accessors on the response models and their read sites - PR #54620
  • Migrate guardrail and policy forms onto form kit - PR #54621
  • Move Caveats out of Details to right below the handwritten description in the PR template - PR #54626
  • Move membership forms onto the form kit - PR #54629
  • Type the kwargs reads in the videos, skills, evals, vector store and container entrypoints - PR #54630
  • Give the column helpers a module and each cached record a file - PR #54632
  • Read a project in the shape the auth cache holds it - PR #54635
  • Read a team membership in the shape the auth cache holds it - PR #54638
  • Read an end user in the shape the auth cache holds it - PR #54639
  • Read an organization in the shape the auth cache holds it - PR #54641
  • Read a user in the shape the auth cache holds it - PR #54642
  • Replace CachedTeam with a generic Refreshed carrier - PR #54648
  • Name the auth cache's records entry instead of cached - PR #54649
  • Name the field a refused nested row sits under - PR #54651
  • Type the kwargs reads in the responses, images, realtime, files, rerank, batches and fine-tuning entrypoints - PR #54653
  • Remove fresh suppressions and dynamic getattr added on 2026-11-25 - PR #54662
  • Drop the ignore entry for a withdrawn picomatch advisory from the OSV scan - PR #54673
  • Read a team by its alias - PR #54675
  • Type the kwargs reads in the usage-based router strategies, rag, batch completion and the completion bridges - PR #54679
  • Type the kwargs reads in the Braintrust, Datadog, Langsmith, Literal AI and generic API loggers - PR #54686
  • Type the kwargs of the assistants list, create and delete entrypoints - PR #54687
  • Type the parameters of Logging.update_from_kwargs and the Logfire logger's kwargs - PR #54693
  • Keep a datetime's offset the way Python does - PR #54695
  • Read an object permission row as one type - PR #54696
  • Take only the key roles and regions UserAPIKeyAuth takes - PR #54697
  • Type the kwargs views of embedding, transcription and speech and the completion dispatch context's containers - PR #54703
  • Read only the test's own call in the SDK logged key identity test - PR #54705
  • Type the kwargs reads on the Prometheus logger's success, failure and per-key rate limit paths - PR #54711
  • Type the completion dispatch context's optional_params for the providers that read no credentials from it - PR #54716
  • Type the headers and bodies of the Responses, Skills and Files paths in the shared HTTP handler - PR #54720
  • Type the headers of the search and rerank validate_environment base methods and their provider overrides - PR #54727
  • Read minute-bucket usage across a minute rollover in three router core tests - PR #54728
  • Refuse a tool message whose tool_call_id is not a string when caller ids are kept - PR #54735
  • Run the outer deadline termination test on a controlled clock - PR #54741
  • Type the json, headers and params of the shared HTTP client's request methods and their callers - PR #54743
  • Expect the Flex image output rate for Vertex Flex spend - PR #54746
  • Type the headers of the shared Azure, Tencent and Vertex header helpers and the vector store and image edit validate_environment methods - PR #54747
  • Make the performance alert sweep due before each pass the test runs - PR #54748
  • Run integration and MCP dependency resolution three times a day - PR #54749
  • Run the full unit and smoke matrix on every PR on standard runners - PR #54750
  • Type the proxy CLI override globals and the Gemini agents endpoints' proxy imports - PR #54753
  • Start fewer jobs per pull request - PR #54757
  • Type the return of get_secret - PR #54765
  • Migrate deployment and routing forms to form kit - PR #54767
  • Type the return of decode and 15 guardrail get_config_model overrides - PR #54775
  • Prepare the auth host to read rows beside the key - PR #54780
  • Move prompt_estimate out of host, since it answers no hostcall - PR #54783
  • Make 21 flaky unit tests deterministic - PR #54785
  • Log from the core crates with tracing instead of host calls - PR #54788
  • Wait for the fake bucket to record a timed-out upload before counting attempts - PR #54792
  • Expect the stored preserve_trace_context flag on a created endpoint - PR #54794
  • Make the rust-test and rust-wheel CI jobs pass again - PR #54797
  • Format oauth regression test files - PR #54806
  • Type refresh coordinator outcomes - PR #54807
  • Type oauth token endpoint outcomes - PR #54809
  • Read a user by sign-in in auth-store - PR #54822
  • Write a user's sign-in insert, email backfill and role in auth-store - PR #54823
  • Add and remove a team member in auth-store - PR #54825
  • Insert a team for team_id_upsert in auth-store - PR #54828
  • Remove fresh mutable-ok suppressions from Datadog and rerank headers - PR #54830
  • Port the team member removal and the default team join to repositories - PR #54845
  • Port the team_id_upsert team insert to repositories - PR #54846
  • Read the user a sign-in resolves to without linking it - PR #54868
  • Give the rust-test job 45 minutes instead of 30 - PR #54891
  • Remove beautifulsoup4 and the unrun Bedrock pricing scraper - PR #54903
  • Lock the app group row first in the app group test cleanup - PR #54919
  • Add flush_local on every native store so a test harness can reset a live process - PR #54921
  • Raise the async wait ceiling for the integration vitest tier - PR #54922
  • Expect the Langfuse media reference in a refused request's logged input - PR #54928
  • Keep the database down during readiness checks - PR #54931
  • Add audioop's compiled module to the FIPS image's reviewed inventory - PR #54934
  • Bump litellm-enterprise 0.1.90 -> 0.1.91, litellm-proxy-extras 0.4.122 -> 0.4.123 - PR #54949
  • Make rust-lint pass on main again - PR #54956
  • Record the deployment each attempt ran on - PR #54969
  • Scan the FIPS image's venv for unreviewed native binaries on pull requests - PR #54985
  • Use the calibrated case budget for harness child process timeouts - PR #54991
  • Wait for the request span before counting file usage counter spans - PR #54992
  • Stop the rc version reader test depending on the repo's own version - PR #55004
  • Read stream usage across a minute change in the model_info limit parity test - PR #55009
  • Hold the silent upstream agent until three keepalive pings went out - PR #55029
  • Give the sync batch cache fixture a Redis address no other test shares - PR #55030
  • Find secrets as a view over the text - PR #55071
  • Search secret patterns on the regex automata, lookaround behind literal gates - PR #55072
  • Move Bedrock model id spellings into llms-types - PR #55073
  • Keep log values with nothing to hide as they are - PR #55074
  • Keep Claude Code's listed model ids in one Rust crate - PR #55075
  • Pin the clock in the two budget reset window tests - PR #55127
  • Type additional general settings - PR #55147
  • Bump litellm-enterprise 0.1.91 -> 0.1.92 - PR #55214
  • Drop the stale Vertex xfail and match Bedrock's new denial wording in the Codex web search row - PR #55291
  • Avoid SDK import cycle in lite help - PR #55316
  • Log a model-routed upload under the file id the caller receives - PR #55331
  • Move Anthropic computer tool and tool search tests off retired claude-sonnet-4-5 - PR #55409
  • Allow a 31 day month in the 30d budget reset window - PR #55560
  • Read the VTT transcription as plain text on rc/1.113.0 - PR #55625
  • Ship the Anthropic tokenizer in the litellm-proxy sdist on rc/1.113.0 - PR #55643

PR roll-up by ownership area​

PRs by ownership area (total: 641)

  • Other: 241
  • Models & Providers: 95
  • Performance: 72
  • LLM API Endpoints: 58
  • UI: 44
  • Auth & Management: 35
  • Logging: 32
  • MCP: 26
  • Spend / Budgets / Rate Limits: 21
  • Guardrails: 15
  • Docs: 2

New Contributors​

Full Changelog​

https://github.com/BerriAI/litellm/compare/v1.112.0-rc.2...v1.113.0-rc.1