pypi / litellm
litellm
What changed in litellm 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
182 breaking99 security2 deprecations717 new APIs and options9 performance262 behavior and defaults4 tooling598 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlitellm 11873 changes
Breaking changes 182
The UI image now uses slim nginx, which drops curl but keeps wget and nc.
The accepted beta header allowlist is synchronized with the headers accepted by Anthropic, Vertex AI, and Azure AI.
Unsupported Gemini chat audio formats now return 400, or are dropped when drop_params is enabled.
Custom IDs are validated, and concurrent duplicate user creation is rejected.
A hosted MCP tool that a translated route cannot run now returns 400, or is dropped when drop_params is enabled.
Authentication adds link-only JWT mapping and removes route eligibility filtering.
Bedrock Invoke and Mantle Claude now use the model's own default max_tokens.
Clients can select only S3 buckets allowed by the administrator.
Anthropic server_tool_use is no longer surfaced as client tool_calls.
The SpendLogs ledger becomes the default accounting path.
Authentication failures on /v1/messages now use Anthropic error envelopes.
A lone deployment with no fallback stays in rotation instead of returning 429.
Key
budget_durationandbudget_idupdates now require admin rights, likemax_budget.The disk cache backend has been removed; switch the type to local or redis.
OpenAI context_length_exceeded errors now raise ContextWindowExceededError rather than BadRequestError.
Customer list routes now paginate, defaulting to 50 customers with page sizes from 1 to 100.
Support for dall-e-2 and dall-e-3 was removed; image generation without a model now returns 400.
The question count cap in Decisions was removed.
Removes the deployment
rpmfilter fromenable_pre_call_checks.The disk cache backend is removed;
cache_params.type: disknow stops proxy startup.The Chat page is now on by default;
enable_chat_ui: falsestill hides it.String fallback targets must now be lists of model names.
Mid-stream guardrail blocks now end chat completions streams with an error event instead of cutting the connection.
Bedrock pass-through routes now apply a model's guardrailConfig and return 400 if Bedrock cannot use it.
Now raises
ImportErrorwhen the_nativeextension is missing.The
blocksetting now rejects PII-only detections, andmaskis now supported.Removes the bundled Lens subchart from both Helm charts; they now connect to a separately deployed Lens.
Stalled stream reads now raise a 408 litellm.Timeout on chat, messages and responses.
Route errors no longer report
type: auth_error; they now use fitting status codes.The default max_tokens for unmapped Anthropic models is now 128000 instead of 4096.
Removes the legacy cost map field in favor of
max_input_tokensandmax_output_tokens.Adds a native Reco guardrail that blocks requests on Reco errors unless
fail_on_error: false.Router initialization now rejects string fallback targets that never routed.
Free installs refuse new SSO accounts past five users without locking out existing SSO users.
Streams that end without a finish reason now fail as errors instead of reporting a normal completion.
Responses-only fields such as max_tool_calls now cause a 400 on bridged providers unless drop_params is enabled; set drop_params: true or stop sending those fields.
Pass-through routes now enforce the model's guardrailConfig over any guardrail supplied by the caller.
Together AI endpoints now default to api.together.ai instead of api.together.xyz.
Complexity-router settings written outside complexity_router_config are rejected.
A credential delete that matches nothing now returns 404 and raises instead of returning.
Restricts and validates file uploads at /v1/files and /upload/logo.
MCP servers using none auth now reject URL credentials.
Writes reject ambiguous name or alias keys in mcp_tool_permissions.
LiteLLM no longer exchanges its virtual key as the upstream subject token.
OpenAI websocket passthrough now requires an explicit opt-in.
Applies optional_pre_call_checks on /config/update and rejects unsupported router settings.
Only proxy admins can set os.environ/ values in team model writes; team admins receive 403.
Team isolation is enforced for provider-format batch IDs and output files.
Response IDs are encrypted on every streamed event.
Errors from /v1/messages now use the Anthropic type:error envelope.
Enforces vector-store upload security controls on the RAG ingestion endpoint.
Model and pass-through routes now refuse Azure login fields in the request body.
Model and pass-through routes now refuse client_id in the request body.
Model and pass-through routes now refuse client_secret in the request body.
Model and pass-through routes now refuse tenant_id in the request body.
Zscaler AI Guard scans only the latest user message on requests, rather than the whole conversation.
Lens beta is no longer packaged with the proxy or Helm charts; remove lensWorker.enabled from Helm values before upgrading so the chart renders.
Docker images and Helm charts are signed with a new cosign key; update verification scripts, CI checks, and admission policies that pin the old key.
The eMudhra root CA is no longer trusted by certificate bundles used by the SDK, proxy, and Docker images.
Adds display_name to credentials and makes credential_name immutable on PATCH.
Bedrock serves gpt-5.6+ chat completions natively by default; gpt-oss and grok can opt into chat_completions/.
Retires the integrated ROI calculator.
Upstream HTTP 402 responses map to PaymentRequiredError, and deployments returning 402 are cooled down.
Tracing now returns only data from SQL queries.
stdio MCP servers are disabled by default.
Rebrands the Voyage integration to VoyageAI by MongoDB and routes MongoDB keys to ai.mongodb.com.
Guardrails now block private destinations in custom-code HTTP requests and bound guardrail execution time.
SSO debug routes are gated behind ENABLE_SSO_DEBUG and are off by default.
Enforces the key and team vector store allowlist on the RAG query endpoint.
The endpoint now returns HTTP 400 instead of a known-wrong local estimate.
An agent key's available tools are capped by what the invoking user and team may call.
V2 exports to this endpoint; Langfuse v2 servers return HTTP 404, so upgrade the server first.
The proxy returns HTTP 422 instead of 429 for BudgetExceededError.
Enforces disable_custom_api_keys from general_settings.
Only proxy admins can set disable_global_guardrails on keys and teams.
Gemma container errors are surfaced in otherwise-200 :predict responses.
Saved langfuse entries are not converted when switching to V2; re-register them as langfuse_otel and delete the old entries.
V2 does not read this variable, so configure LANGFUSE_HOST explicitly instead.
A custom host on a key or team requires an allowlist entry or its traces are not sent to that host.
Re-register saved key and team callbacks with this callback name when migrating to V2.
The callback migrates to Langfuse v4, requiring callback integrations to account for the SDK migration.
V2 reads this secret field name only; use it when re-registering to avoid logging to the wrong project.
The proxy refuses to start if the master key is unset, empty, or publicly known.
MCP requests from origins outside the configured allowlist are rejected.
Duplicate MCP server names and aliases are rejected.
Metadata fields change shape, which may affect dashboards, filters, or masking.
The proxy enforces the migration check by default.
V2 captures no message content by default; set this variable to span_only to include input and output in Langfuse.
REST token-exchange tool calls without a subject token now return a 401 challenge.
Tag-object RPM limits are now enforced by the proxy.
The endpoint now returns camelCase tool keys after the SDK 2 upgrade.
The migration check is enforced by default.
LiteLLM credential headers are no longer forwarded on Bedrock agent-runtime passthrough.
Default cache points are stood down when extra_body hides a direct client mark.
Unlicensed installations are limited to one Capability router and one Fuse v2 router.
POST requests refuse updates to settings owned by the config file.
Delegated OAuth now requires admission.
Router requests are rejected with 429 when all deployment max_parallel_requests slots are in use.
Adds a startup gate that makes the proxy refuse to start when FIPS crypto is unavailable.
On Bedrock Converse, maxTokens is clamped to the 16-token minimum for OpenAI GPT and xAI Grok models.
MCP now fails closed when upstream credentials are missing.
Project requests are blocked when max_budget is 0.
An untranslatable tool_choice now returns a 400 instead of a 500.
On Anthropic /v1/messages, the skip-system-messages flag keeps the top-level system prompt out of guardrail scans while the full messages list is sent to the model.
Registry stores are resolved for ingestion, and providers without ingestion are rejected.
A failed web search is surfaced as a web_search_tool_result_error block and ends the turn.
Key and team model access is enforced on Bedrock passthrough routes.
Unsupported n and size parameters are rejected for Azure AI MAI image models.
Gateway-owned server authentication is challenged and scoped, and initialize is rejected with 403 when a key grants no MCP servers.
End-user MCP tool permissions are enforced on tools/list and tools/call.
A Vertex DeepSeek OCR adapter is available, replacing the legacy OCR pipeline.
Limits deployments to one heuristic_v2 auto-router when the auto_router license feature is absent.
RPM and TPM limits are now enforced when adding a model.
There is no PyPI package for this release, so this command will not resolve; install a Docker image or stay on 1.99.0 on PyPI.
Client Anthropic OAuth tokens are no longer forwarded to Bedrock or Vertex.
Docker builds on rc/1.99.0 pin apk Python to 3.13.
Pre-call guardrails run on batch input file uploads.
The field is omitted when no guardrail acted.
A routed deployment's own litellm_params now take precedence over forwarded auto_router marker parameters.
The metric now includes authentication and pre-call time in request latency.
The proxy hashes API keys before writing them to LiteLLM_SpendLogs.api_key, so rows written since v1.99.0 hold a 64-character hash instead of a potentially long raw JWT or pass-through bearer token.
The CLI stores the lite login credential in the OS keychain.
The --pkce refresh token is kept in the OS keychain rather than token.json.
Missing required parameters and non-object metadata or litellm_metadata now produce a 400 response instead of silent dropping or a 500.
Incomplete responses map to finish_reason length instead of producing a 500 error.
Group sync now fails when adding a member or creating a user fails.
SCIM now propagates team roster write failures on group and user writes.
The per-key budget is now gated on dollar spend rather than turns.
The team fallback no longer widens model access.
Pins the image to Python 3.13.
Access to the Global Control Plane worker registry is gated on an enterprise license.
Trace steering keys are restricted to real Langfuse trace fields.
The client Accept-Encoding header is no longer forwarded upstream.
Release 1.97.1 has no PyPI package; use the Docker images or stay on 1.97.0 on PyPI.
Denies agent access when key and team grants resolve to nothing.
Skill registration is create-only, with a PUT route for updates.
The OAuth2 enterprise gate now returns HTTP 403.
Pooled clients no longer persist cookies in the aiohttp cookie jar.
Enforces require_managed_files on every route that accepts a raw provider ID.
Viewer roles are blocked from accessing the Playground page directly by URL.
The minimum aiohttp version is raised to 3.14.2 to address pooled-connection timeouts.
MCP tool dispatch now enforces per-user tool-call entitlements across dispatch paths, and denies access when a named entitlement cannot be read.
Mock testing request parameters are now gated behind a single configuration flag.
The proxy requests stream usage upstream by default and strips it from client streams.
User budgets are no longer enforced on team keys.
Routes the JWT default team into memberships rather than the create payload.
Moves the logs end-user filter onto the management/v1 route.
Caps the spend window at 30 days and bounds every SpendLogs read.
Custom keys must meet a minimum length, and short keys are masked in key_name.
Streaming requests surface upstream connection resets instead of returning empty 200 streams.
User budgets are enforced for team keys during reads and reservations, with a UI opt-out.
OAuth flow is now required in configuration and read verbatim from database rows rather than inferred at read time; inference remains a request-time backstop.
In-stream error events now raise APIError, allowing callers to handle streaming failures as API errors.
The semantic filter now fails closed and surfaces context-window errors.
Team allowed_passthrough_routes are gated to proxy admins, restricting who can use those passthrough routes.
Returns 5xx for database infrastructure errors during auth and reserves 401 for genuine authentication failures.
Adds Claude Opus 4.8 support and prunes reasoning-effort flags.
Hard-rejects budget_limits on CLI session token personal keys.
Gates budget_limits and permissions for non-admin callers.
Rejects non-finite budget_limits windows when generating a key.
Content filter blocks now return HTTP 400.
The /public/mcp_hub endpoint is gated strictly by litellm.public_mcp_servers.
Stops exposing MCP server URLs on the AI Hub and public hub API.
Appends the rawPredict suffix when using a custom api_base.
Key and team guardrails are now enforced on Bedrock passthrough routes.
Rejects model_list in the proxy request body.
Applies the Redis namespace to all key operations.
Rate limit errors now use a standardized shape with category, rate_limit_type, model, and llm_provider fields.
Vector store index creation and deletion are restricted to proxy admins.
The non-root image was published without a cosign signature, so deployments that require cosign verification cannot use it.
The OpenAI-path embeddings API now defaults encoding_format to float.
extra_body and azure_ad_token are now covered by the banned-parameters check.
Bare strings are rejected at file-input sinks to prevent local-file reads.
Remote-URL instance-fn loads are refused outside the config-file path.
Passthrough now defaults auth to true, and the safe option no longer has an enterprise gate.
Removes dbName and partitionNames from the optional Milvus parameters list.
Removes the /ui/chat page.
Prevents internal users from creating agents.
Streaming response typing uses ModelResponseStream instead of StreamingChoices on ModelResponse.
Clamps Bedrock thinking.budget_tokens to a minimum of 1024.
Foundry agents and azure_ai Responses API calls to a Foundry project endpoint now default to the Azure AI scope instead of the general Azure Cognitive Services scope.
The default is false; LLM-call attributes are set directly on the proxy root span unless a discrete litellm_request span is enabled.
Security 99
tool_permission pre_call now checks tools in Anthropic and Responses requests.
Billing metrics can be authenticated with a Cognito bearer token.
LiteLLM Docker images are signed with cosign; verify an image using the published public key, preferably from the pinned commit hash.
Now handles secrets in tool results, tool inputs,
tool_callsarguments, and system prompts.Generic guardrails configured with
pre_mcp_callno longer fail startup, allowing MCP calls to be checked.hide-secretsnow respects this setting.Streamed completions now run
post_callguardrails for masking and blocking.WebSocket connections now respect SSL verification, custom CA bundles, client certificates and proxies.
Fixed tool_policy letting /v1/messages requests through when a blocked tool name is over 64 characters.
File ownership checks now recognize other spellings of a Gemini file ID, including files/<id> and its URL.
Fixed team keys being served by a proxy-wide wildcard instead of the team's own BYOK wildcard deployment.
Audio transcription errors no longer echo the full provider reply, including the transcript, to clients and logs.
OpenAI deployments with an empty api_key no longer send OPENAI_ADMIN_KEY as the bearer token.
The unreachable AI Hub dialog that put the session key in a URL is removed.
Bounds the row count returned to prevent unbounded LiteLLM_SpendLogs scans.
AWS Bedrock system and assistant message guarded_text parts are checked by the guardrail instead of being dropped.
Makes the image_edit health probe moderation-safe.
OAuth broker endpoints are resolved by server_id with IP access checks.
Unified guardrails scan and mask MCP tool call arguments.
Provider keys are redacted from pass-through failure tracebacks.
Adds configurable password policy enforcement and SSO-only login.
Stops leaking the caller's virtual key on credential-less Vertex passthrough.
Federation credentials using a token file or inline token fail closed when a rule or organization ID is missing.
The gateway issues rotating refresh tokens and provides a revocation endpoint.
Adds a deny list for custom pass-through endpoints.
Proxy administrators can limit which models an end user is allowed to call.
Enforces the prohibition on internal users creating models.
Adds a startup gate for FIPS mode, with provider assertion and loud password migration failure.
Guardrail litellm_params secrets are encrypted at rest.
Adds an LLM Shield guardrail for PII redaction and rehydration.
MCP servers no longer receive the caller's LiteLLM key.
OAuth clients are bound to their upstream issuer.
When set, search tools are denied by default.
Search tool litellm_params are encrypted at rest.
This opt-in setting enables least-privilege vector store access by denying access by default.
Enforces authoritative permissions for agents.
Adds a guardrail for decision models.
This setting controls access to the /sso/debug routes, which are off by default.
Enables rejecting requests with 503 when Redis rate-limit counters are unreachable.
Enables explicit output scanning for PANW MCP guardrails.
Adds an opt-in setting for sending default PII to Sentry; the change also scrubs PII and secrets inside object representations and nested locals.
Password policy detects breached passwords; users can change their password themselves, and breached or admin-set passwords can require a reset.
Presidio now masks streamed output when the first upstream read is a keepalive, data-less ping, or split UTF-8 character.
LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
Repeated failed Admin UI sign-in attempts are now limited.
Config reload preserves database-stored general settings, so stored download limits remain effective.
Marketplace plugin access can be controlled granularly by key and team.
Key and team guardrails are applied to MCP tool calls.
Prompt Security guardrails block file modifications.
Guardrails scan and rewrite Responses custom_tool_call output items.
Restricts the Azure storage credential chain to deployment identities.
Secret litellm_params fields are redacted from all agent responses.
Lists only vector stores the caller was granted.
Credential fields are now stripped from the health response.
Interactive DCR bridge authorization is denied for users without access to the server.
PII/PCI guardrail masking gaps in SpendLogs, debug logs, and logging-only responses are fixed.
The 1.97.1 container images refresh base-image and dependency pins to clear known CVEs.
Derives config agent IDs from agent_name so grants survive secret rotation.
Credential headers are redacted from request-logging copies.
Adds Rubrik prompt moderation, response-text blocking, streaming buffering, and failure logging.
Guardrails now scan tool traffic on the Messages API endpoint.
LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters
Bedrock guardrails now run on MCP tool calls in during_mcp_call mode.
post_call guardrails now run for streaming /v1/messages requests through unified guardrail translation.
MCP tool results can now be scanned and masked using post_mcp_call guardrails.
LiteLLM: internal_user_viewer arbitrary local file read via
vertex_ai_credentialsResolves managed unified input_file_id values to storage URLs and checks ownership before dispatch; resolution remains additive with fallback for missing rows and lookup errors.
Prevents upstream server credentials from leaking in tool-call 403 responses.
A security change prevents potential provider key exposure through URL-valued model destinations and fallbacks.
MCP OAuth discovery is anchored to the issuer to close authorization-server mix-up risks.
Bearer-prefixed API keys are hashed in spend logs.
Hardens secret-name validation for external secret manager integrations.
Credentials embedded in guardrail_response are masked before persistence.
Adds at-rest credential encryption with a versioned format and re-encryption migration.
Caps cache_control injection at four blocks.
callback_vars in key and team metadata are encrypted in the database.
Stops a second setup, retries a hung handshake, and closes a guardrail bypass.
Adds a setting to harden X-Forwarded-For client IP resolution.
Scopes team BYOK models by the key's team_id in model info responses.
Blocks server credential leakage to a caller-supplied api_base.
Adds an opt-in least-privilege default for team key MCP access.
Gates advisor client credentials.
Redacts API keys from client error messages for key/info.
Prevents key-level metadata.tags from leaking into the Bedrock passthrough body.
OAuth authorize and token access checks now honor team access-group grants.
Warns when X-Forwarded-For is present but use_x_forwarded_for is disabled, and clarifies the related trusted-proxy warning.
Patches the session-token budget-ceiling exemption and hardens it against default_key_generate_params.
DeepSeek uses its native /anthropic/v1/messages endpoint and sanitizes tools.
Budget field validation and authorization checks were tightened.
Echoed prompts are redacted from error_information in spend logs.
The endpoint now closes ownership-rebind and premium-gate bypass paths.
Authorization checks for key updates are hardened.
LiteLLM vulnerable to reflected XSS in /sso/debug/callback
Tag budgets are enforced for requests using the x-litellm-tags header.
LiteLLM: Authentication Bypass via Host Header Injection
All Docker images are signed with cosign, with releases using the same signing key.
LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback
LiteLLM: MCP Proxy Has Improper Authentication
Redacts credentials in vector-store list, info, and update responses, and gates updates by per-store access.
Deprecations 2
The autoroute up/down commands are renamed to start/stop; the old names remain deprecated aliases.
The litellm-proxy entrypoint is deprecated in favor of lite.
New APIs and options 717
The proxy serves Codex a model catalog for its own release, fetched from GitHub.
Interactions requests forward continuation_token and type requires_continuation, allowing callers to resume a long decode.
User invitations can use custom user IDs; custom IDs are validated and concurrent duplicate creation is rejected.
default_team_params can attach access_group_ids to every newly created team.
Deployment weights can be set in key and team router settings.
Model catalog rows can record the provider page or feed from which a deprecation date was read.
EmpirioLabs AI is added as a decisions provider.
The model catalog adds a fedramp_uplift_multiplier field.
A startup gate is available through general_settings.fips_mode.
Adds OpenRouter-style -latest model aliases for first-party providers.
Adds an opt-in spend-logs mode that stores only the current turn of stateless requests.
Local skill ZIPs can now be uploaded from the dashboard.
Adds mcp_block_behavior to raise a 400 response when an MCP tool is blocked.
An opt-in per-server setting allows MCP tool output validation to be skipped.
The proxy adds model deprecation alerts with daily request counts by key.
The endpoint now reports the provider-recommended successor_model for deprecating rows.
Realtime support is added for the latest OpenAI audio models.
Adds first-class OpenRouter video request fields.
Parallel AI web-grounded decisions are now available.
Prompt storage can be turned off per key or team.
Adds authenticated install and share commands for skills.
An opt-in SpendLogs ledger is added.
Model catalog rows can include the provider's recommended replacement for a deprecating model; /model/deprecations reports it.
A model_info capability flag is available for Gemini long decode continuation.
Adds the Switchyard stage router as an auto router strategy.
A tag's spend can be reset through /tag/update.
total_timeout bounds the duration of a whole non-streaming request.
The Admin UI can set tpm_limit and rpm_limit on tags.
A per-request header can opt a stream into usage.cost without enabling the global include_cost_in_streaming_usage flag.
Wally is available as an OpenAI-compatible provider.
Gemini batches are available through /v1/batches, with output downloads through /v1/files and spend tracking.
The pi harness is now supported by litellm.agent().
Adds the
authorizationMCP auth type to the create and edit server forms.Foundry agents are accessible through the project Responses API.
Adds a
clampmode that keeps the caller's smaller output token limit.Adds an option to skip spend rows for pre-routing rejections.
Adds deployment daily request and token limits.
Azure Decisions on
/v1/decisionsand/v1/systemonenow support Entra ID authentication, including keyless auth.Adds a general settings option to enable wildcard model listings from the dashboard.
Adds
num_retriesfor checks lost after connecting.Added gpt-6-astra-law with pricing from the OpenAI pricing page.
Added gpt-6-rosalind to the model cost map with its published prices.
Added OpenAI gpt-6.1-terra with pricing.
Adds Kubernetes pod discovery to spread load across pods behind a headless service
api_base.Adds
serviceNameandservicePortto route paths to custom Services.Adds
lite claude --subscriptionto keep the claude.ai login while routing through the proxy.Adds
lite codex --subscriptionto keep the ChatGPT login.Adds an environment variable to turn off the outbound latest release check.
Sets the output limit for requests that do not set one.
This switch turns off every fetch LiteLLM makes on its own.
Adds an environment variable to show SI instead of AI in the Admin UI.
Adds an SDK helper to invoke configured guardrails and get native findings.
Raises the streamed MCP auto-execute round cap above 5.
Deletes the oldest spend logs first once they exceed a size limit.
Allows a deployment to be priced from another provider's catalog rates instead of $0.
Price a deployment using another provider's catalog rates instead of $0.
Adds opt-in filtering that keeps chat requests off deployments flagged as non-chat.
OpenSearch k-NN is now available as a vector store provider.
Add
enforce_model_rate_limitsto retain a hard RPM cap on deployments.Adds Ovalix guardrail scanning of files, tool calls and tool results.
Adds per-guardrail spend breakdowns to user, team and organization daily activity.
Embedding requests can now set a per-request input batch limit.
PANW Prisma AIRS post_call blocks can opt in to response_masked_data.
Adds opt-in session repinning to the replacement deployment after a successful failover.
Background response streams can now be resumed with stream and starting_after on retrieve.
The
/model_group/inforesponse now includes supported_endpoints.Turns off startup prints and stops repeated Search Tools lists on reload.
Keeps Gemini tool call ids short for clients that cap their length.
Adds a request header for setting request priority.
Adds a header for pass-through upstreams to report the model name for spend.
Vertex requests include caller identity labels.
Vercel AI Gateway decision models are available.
Azure AI Foundry deployments now support gpt-image edits, including deployments under a custom name.
Bedrock knowledge base image search now accepts query_image and includes image hits in results.
Adds a 1M context auto-router preset for configuring routing.
Adds an MCP tool for semantic search over the agent registry.
Accepts ALERTING_WEBHOOK_URL and delivers budget alerts when webhook-only alerting is configured.
Adds bulk import of Anthropic MCP connectors through the API and Admin UI.
Adds an Argo CD PreSync hook and rollout strategy knobs to the componentized Helm chart.
MCP gateway session tokens can be signed asymmetrically with RS256.
Adds the async_post_call_failure_deployment_hook logging hook.
Adds support for configuring classifier reasoning effort.
Configured mode for auto-router models is now exposed.
Serves the auto-router preset catalog at runtime.
The dashboard now lets users configure auto-router session-affinity TTL.
Adds the ability to dry-run a real request body against auto-router routing.
The OpenAI integration now supports workload identity federation using OIDC token exchange.
Supports Entra ID and OAuth authentication on every Azure AI Foundry route.
Tracks Azure Prompt Shield usage and cost with spend isolation.
Adds credential-chain support for Azure storage.
Adds an opt-in model-group allowlist for background health checks and health-check routing.
Adds Grounding with Bing Search as a search provider.
Adds opt-in budget rollover that carries overage into the next budget window.
Adds a complexity-router setting to skip classification on continuation turns.
Adds a circuit breaker for router classifiers.
OCR adds Cohere Parse support for cohere and azure_ai.
MCP servers defined in config.yaml can now pin server_id.
Adds a fail-open mode to the CrowdStrike AIDR guardrail.
Adds a
/debug-liteslash command.Adds configuration for deployment caller identity in Prometheus.
Makes the display name configurable for the Anthropic-shaped /v1/models listing.
An opt-in flag authorizes router fallbacks against the calling key.
The componentized Helm chart now allows extra ingress paths to be configured.
Custom code guardrails can return a non-blocking flag() verdict.
Adds support for Gemini 3.5 Transcribe.
Adds a paginated model hub endpoint.
Adds semantic search over the agent registry through the agents endpoint.
Adds a token-counting endpoint for Responses API input.
Adds native GigaChat API passthrough routes with spend logging.
Terraform GCP support adds a dependencies-only mode and bring-your-own-network support for GKE.
Tracks cost and spend for Google Interactions API requests.
The Guardrails Monitor shows guardrail usage units and cost.
Supports mode: image_edit in health checks.
Adds heuristic-first classifier chaining to the complexity router.
Adds heuristic v2 complexity routing.
Adds a hybrid classifier that defers decisions near tier boundaries.
Supports langfuse_environment as a per-key dynamic callback parameter.
The lite pi command runs the pi coding agent through the proxy.
Adds a table for tracking spend by budget window.
Adds the litellm_jwt_key_mapping Terraform resource.
Adds the litellm[mcp] extra and an actionable error when streamable_http_client is missing.
The LLM call span now includes the litellm.request.route attribute.
Adds Microsoft Teams as a native alerting destination.
Adds opt-in modality-based capability routing for image requests.
Unhealthy models can optionally be hidden from model listings.
Adds a MongoDB vector-store provider for Atlas and self-managed deployments.
Allows team members to have default budgets with no reset.
A resolved MCP OAuth token can target a custom upstream header.
Exposes the organization PATCH endpoint in the OpenAPI schema.
Adds per-worker admission control that rejects excess requests with 503.
Serve Prometheus /metrics from a separate process using this port option.
Adds DashScope image generation support for qwen-image-3.0.
Adds DashScope image generation support for qwen-image-3.0-pro.
Adds QwenCloud and Qwen AI Platform provider aliases.
Supports per-group supported reasoning efforts, including the max level.
Adds RFC 7662 introspection for MCP gateway session tokens.
Adds semantic_cache_scope to isolate semantic cache hits per end user.
Semantic tool search is now available through the native MCP Gateway.
OTel v2 destinations can use a per-team or per-key service.name.
Can target teams and users so JWT-authenticated traffic can be evaluated.
Allows several auto-routers to be compared on sampled traffic from one job.
Set missing_session_id to omit to leave SpendLogs.session_id null when the client has no session.
OpenAI-compatible deployments can opt in to /v1/responses through supported_endpoints.
Adds per-team cost and usage metrics through New Relic team callbacks.
Adds support for the transcribe-live model.
Adds native Vertex AI Interactions API support.
Adds the vLLM-Omni videos API.
Added /v1/videos support for custom providers registered in custom_provider_map.
Adds logging_only mode for the Akto guardrail.
Allows Anthropic workload identity federation to be configured from the dashboard.
The exporter requires operator credentials and names an Arize project on every export; per-team sampling rates are honored in fan-out.
Team and key Arize callbacks can choose the OTLP transport.
Adds an asynchronous SDK helper for running a tool loop.
Maps a JWT to the user's existing virtual key when registering automatically.
Proxy limits can cap batch file records, daily batch uploads, and per-file downloads.
Adds Bespoke Nimble gateway and OSS classifier support.
Adds Bespoke Nimble gateway support.
Auto routing can be configured to account for cache state.
Tracing supports Claude agent SDK traces with agent name, logo, and chat content.
A one-command quickstart starts the gateway, Postgres, and the admin UI.
Enables forwarding the LiteLLM user ID as the user to Fireworks.
ROI features add GitLab sources and branch cost attribution.
Adds a minimal in-process tool-calling loop.
The migrationJob supports custom labels, annotations, command, and args.
Adds Laya gateway and OSS classifier provider support.
Enterprise LiteAdmin MCP is embedded in LiteLLM images.
Adds configuration for which metadata fields are stored in LiteLLM_SpendLogs.
Adds a scope setting to observe input, output, or both in logging-only guardrail mode.
MCP adds portable pagination for the catalog.
Adds translation of MCP input requests and binding of continuations.
Adds rate limiting for all MCP operations and an RPM limit at the server level.
Mistral Large 4 (Le Chonk) is supported.
Adds OpenAI as a Decisions provider behind a shared Decisions format.
Allows OpenAI workload identity federation to be configured from the LLM Credentials and Add Model forms.
Exposes per-project, per-model gauges for rate limits allowed and used.
Series can be capped for every labeled metric.
Redis hash-tag grouping for the v3 rate limiter is available as an opt-in.
Reka is available as an OpenAI-compatible provider.
Adds SDK helpers for running a tool loop.
Adds rerank support for Scaleway.
Adds per-mode stream_scope support for guardrails, including Bedrock streaming and pass-through fixes.
Adds support for upstream OAuth client metadata identities when using MCP.
Adds a unified decisions endpoint for Jev-compatible providers.
Serves the OpenAI Decisions format at this endpoint.
Serves the System One format at this endpoint; the OpenAI format is served at /v1/decisions.
Gemini multimodal embeddings now accept file content blocks containing video_metadata.
Adds workload identity federation and pluggable identity sources for Anthropic.
Adds agent identity registration and dashboard controls.
The CLI can reuse a saved agent setup and reconfigure it.
Adds Cortecs as an OpenAI-compatible provider.
Adds a cost_per_second field so chat requests with per-second pricing are billed once.
Adds bounded daily activity routes for aggregated usage, search, model top keys, export, and cache leakage keys across usage entities.
Adds a callback for Databricks Zerobus trace logging.
Adds UI setup for the decision auto-router.
Adds authentication for Entra identities and delegated requests.
Adds an excluded_services opt-out for datastore spans on tenant destinations.
Adds routing and model listing support for the auto, auto-instant, and firerouter routers.
Adds an environment variable for the GCS batch bucket while retaining legacy bucket_name credential resolution.
Adds identity storage and validation contracts for agents.
Adds an environment variable to register optional routers at startup.
Adds litellm.agent() to run Claude Code, Codex, OpenCode, and Deep Agents through the AI gateway.
Adds a cleanup setting for maximum daily tag spend retention.
MCP now supports configuring protocol versions and discovering capabilities.
MCP can scan and pin upstream tool descriptions.
Adds a Microsoft 365 Graph server to the MCP catalog.
The Admin UI adds alerts under Observability and Alerts, with daily requests stacked by key to show which keys still need to migrate.
Adds a model leaderboard page.
Adds a native calculator for gateway spend versus merged pull requests.
Adds Prism as a provider.
Router prompt-cache cost routing is now available as an opt-in.
Rust caching can now be selected through explicit cache objects.
Adds an option for using hourly folders in S3.
Adds Sail as a provider and maps service_tier to its completion window.
Adds email alerts at configured percentages of a team member budget.
Adds native xAI support for batches and files.
Adds an admin-only /debug/report endpoint sharing the bug report environment.
Agents can have access groups, which are enforced for models, MCP servers, and agent calls.
Claude models on Bedrock Mantle can now use Mantle's native Anthropic Messages API.
A key or team can override the message-content capture setting with this field.
Adds Claude Opus 5.5 support, including Bedrock pricing and capabilities.
Adds native compact-to-fit across conversation APIs.
The policy engine now supports default fallback policy attachments.
Adds the Eden AI provider across chat, Responses, Messages, embeddings, audio, images, and video.
Adds fal queue API support for Seedance video generation, plus additional video and image generation and image edits.
Adds flux-lora-depth image edits and moondream3 chat completions.
Adds a queue-only passthrough route with spend tracking.
Adds an endpoint to look up cost map information for models that are not registered.
Adds GPT-6 Sol and GPT-6 Luna support.
Adds a priority routing strategy scoped to a group.
Adds configuration for the auto-router's heuristic v2 success threshold.
When opted in, the response includes guardrail_information.
Adds a JEV classifier alongside the LLM classifier for the auto-router.
Adds configurable key_alias_pattern for key generation, updates, and regeneration.
JSON error bodies can include litellm_call_id when opted in.
The Terraform litellm_model resource and model data sources now support display_name.
For key and team projects, set this variable to llm_only to limit trace scope.
An opt-in llm_only span scope is available for Langfuse destinations and the operator Langfuse exporter.
The ["*"] wildcard grants access to all current and future MCP tools.
Supports time-windowed team reservation of deployments through model_info.access_windows.
Adds the Nadir intelligent-router provider.
Adds NotFoundErrorRetries so a retry policy can specify how 404 errors are retried.
Adds an OpenRouter decisions pass-through.
Emits gen_ai.conversation.id from the caller's session id on v2 LLM spans.
Agents can optionally use a per-agent kill switch webhook.
Adds configurable mapping for provider affinity headers.
Add custom tenant hosts to this allowlist so their traces can be sent to those hosts.
Adds a quickstart Compose file served from the product repository.
Redis Semantic caches can now be served natively in Rust.
Concurrent S3 uploads are bounded per flush, and JSONL batch files are available as an opt-in.
Terraform exposes server_metadata on litellm_key so undeclared metadata is visible.
Request logs can now be filtered by span type.
Adds TinyFish Agent API passthrough with per-step billing.
JWT key mapping accepts token_id as an alternative to the plaintext key.
The proxy CLI adds a dry-run configuration validation flag.
Vertex supports native batch JSONL passthrough with cost tracking.
Grok 4.20 aliases and image token prices from /v1/language-models are now supported.
Bind JWT claims to registered agents using agent_id_jwt_field.
The Terraform litellm_team_member_add command accepts allowed_models.
Adds an Amazon Transcribe passthrough with completion-time job pricing.
Adds an Azure AI Speech passthrough route.
The Terraform litellm_team_member_add command accepts budget_duration.
The UI supports configuring capability and Fuse v2 classifiers.
A capability classifier is added as the foundation for Fuse.
The proxy serves the Claude Code gateway protocol at this endpoint.
A unified custom_key_policy hook applies to key generation, update, and regeneration.
The API Playground supports configuring custom request headers.
Prometheus metrics now include gauges for customer (end_user) budgets.
Adds streaming WebSocket passthrough with duration-based cost tracking.
llm_as_a_judge guardrails support during_call mode.
Setting this option on the guardrail keeps role: system entries inside messages out of a Bedrock guardrail's scan.
Auto-router adds a per-model Fast mode toggle.
Bedrock supports deleting and listing S3-backed managed files.
Azure AI now supports FLUX.2 flex images.
Maintained Fuse model and harness presets are available for router configuration.
The router adds a Fuse V2 classifier after capability forecasting.
Configure allowed file extensions for /v1/files uploads.
Speech-to-text is available through the XAI provider at /v1/audio/transcriptions.
Adds separate login and secret namespaces for HashiCorp Vault.
Hosted vLLM batches can now run inside LiteLLM.
Outbound HTTP/2 can be enabled by opting in for httpx clients.
Key listing can filter by active, expired, revoked, or deleted status.
Adds a key-free rollup for the usage dashboard.
Set this environment variable to drop noisy uvicorn access log lines.
Guardrails using llm_as_a_judge now support pre_call and during_call modes.
Model Armor logging_only mode scans completed streams after delivery.
Adds bulk updates for team member budgets.
Adds an environment variable to raise the h11 request header buffer and avoid intermittent HTTP 400 responses when gateways add large identity headers.
Adds a command-line option to raise the h11 request header buffer and avoid intermittent HTTP 400 responses when gateways add large identity headers.
The gateway can allowlist MCP client applications.
Proxy admins can force-close live MCP sessions and revoke stored user credentials.
Guardrails add Microsoft Agent 365 MCP tool-call support.
Adds access to Microsoft Foundry agents using Entra authentication and versioned card discovery.
Mistral files and batches are supported, with per-page OCR batch cost tracking.
Adds team-level model_max_budget with key-level overrides.
A passthrough route is added for NIM object detection and OCR /v1/infer.
The model can emit objective and multi-query shapes for web search.
Enable this option to put system messages first for prompt caching.
Adds a per-key default budget for dynamically created customers.
Delete team members in batches through the new management endpoint.
Create users and team memberships in batches through the new management endpoint.
Delete users in batches through the new management endpoint.
llm_as_a_judge guardrails support pre_call mode.
Project spend is tracked and project budgets are enforced additively.
The proxy can predict prompt-cache costs across deployments.
The gateway token endpoint supports RFC 8693 token exchange for IdP JWTs.
The Terraform litellm_team_member_add command accepts rpm_limit.
Adds an S3 logging option to log prompts without responses.
The router can stream shadow traffic and fan out silent_model to multiple targets.
Singulr supports a v2 API contract with logging_only, pre_mcp_call, and post_mcp_call modes.
Team admins can manage projects through the team_admin_editable_team_fields setting.
Proxy admins can choose which team fields team admins may edit.
Virtual keys now expose lifetime total_spend.
Batch submissions can be limited by tokens per day using tpd_limit.
The Terraform litellm_team_member_add command accepts tpm_limit.
Adds a TypeSafe AI Jev evaluate passthrough with registry-priced spend tracking.
Adds TypeSafe Jev as a complexity router classifier.
Adds a relevance-based compaction guardrail using TypeSafe Jev.
Vertex AI Chirp speech-to-text can stream over the realtime endpoint.
JWT configuration can set virtual_key_claim_field per issuer.
Web search interception can be configured from the Admin UI, which can also report whether the serving proxy has applied it.
Registered skills are served as an Agent Skills well-known index.
An opt-in NON_REASONING tier was added below SIMPLE.
Passthrough configuration lets router-model relays reach the deployment's own endpoint.
An Azure Document Intelligence OCR adapter is available.
An Azure Mistral OCR adapter with native authentication and document fetching is available.
Claude Code and Codex can be configured with a gateway key.
Gateway models can be listed to Claude Code under Claude-shaped IDs and serve requests using those IDs.
The heuristic scorer supports declarative custom dimensions, and the dashboard can rebalance heuristic weights.
The proxy exposes complexity routing headers.
A Conduct Guard integration is available with validated hooks and forwarded parameters.
Virtual keys stored in AWS Secrets Manager can use a customer-managed KMS key.
A setting was added to disable environment credential login.
Redis supports ElastiCache IAM authentication.
Native Responses API configuration was added for Fireworks AI.
A Prometheus metrics sidecar is available for the GCP Cloud Run gateway.
Gateway scaling can use per-pod RPS and TPS.
Image edit support was added for hosted_vllm.
Database connections can be shared across workers using an in-container pgbouncer.
The in-memory management cache capacity is configurable.
A toggle was added for AIM and Cato guardrails to inspect embeddings.
A key or team can send its whole trace to its own destination.
The UI adds an auto-router usage tab scoped to a key.
Prometheus metrics can bucket latency by input sequence length.
A CLI command was added to configure Claude.
A CLI command was added to undo Claude configuration.
The Terraform litellm_team resource now allows a custom team_id.
OAuth relay discovery can be enabled per MCP server.
A schema discovery proxy mode was added for MCP.
Realtime transcription supports Meta Muse Voice.
Mistral text-to-speech support was added for /v1/audio/speech.
MongoDB vector search can be moved to an optional sidecar; the feature is marked beta.
A core OCR foundation and Mistral adapter are added.
OTel v2 traces can be exported using the http/json protocol.
The OTel v2 trace export URL can be configured.
Router support was added for routing based on percentile-based TTFT.
A PointFive logging integration is available.
Keys support explicit project detachment.
Reducto legacy and v3 OCR adapters are available.
Semantic search was added for the LiteLLM-hosted skill registry.
A configured prefix list can be used to resolve root_path separately for each request.
Existing keys can have their soft budget edited.
A team admin can manage logging callbacks for their own team.
Bedrock support was added for TwelveLabs Marengo Embed 3.0 embeddings.
Support was added for Lyria models through Vertex AI.
A Vertex Mistral OCR adapter is available.
An Alice guardrail is now available.
The listing now supports a configurable display_name.
The dashboard can configure vision input for the classifier.
Claude Fable 5.1 is available across Anthropic, Bedrock, Vertex AI, and Azure AI.
The componentized chart migrations Job can render a node selector.
The componentized chart migrations Job can render tolerations.
Adds cost tag dimensions, router decision fields, a reasoning-token metric, and redaction gating.
Adds a dependencies-only mode for Terraform GCP.
Day-zero pricing is added for Gemini 3.8 Flash.
Adds gpt-6-astra pricing and metadata.
Adds a Claude session report command for debugging.
Allows opting in to a modality override of a kept session-affinity pin.
Shadow evaluation jobs can be scoped to model groups in addition to their key, team, and user targets.
Prometheus now exposes gauges for per-key and per-team rate limits allowed and used.
SCIM adds placeholder listing and merge so a shadowed account can be healed.
Alerting adds Slack alerts for per-user daily and monthly spend thresholds and spend anomaly detection.
Reports per-user spend within a team for JWT traffic.
Operators can define and edit auto-router tier sets, including custom classifier-defined tiers, and preview the classifier prompt.
CyberArk Conjur secret manager configuration is available through the Admin UI.
Vertex AI supports gemini-3.5-transcribe on the audio transcription endpoint.
Lakera v2 honors skip-message behavior and supports advisory mode through inject_system_message.
Terraform team support now includes soft_budget, tags, and soft_budget_alerting_emails.
Request Logs now support filtering by cache hit or miss.
The UI now lets users toggle whether internal health checks are visible in request logs.
Opt-in flags can require RPM and TPM when creating models and projects.
New Relic traces can be routed per team through team callbacks.
The Teams list can be exported as CSV with budgets, model grants, and rate limits.
OpenTelemetry v2 spans now emit cache-creation input token counts, helping avoid under-counting spend calculated from OTel token counts.
OpenTelemetry v2 spans now emit cache-read input token counts, helping avoid under-counting spend calculated from OTel token counts.
Adds an admin toggle to block requests for models without pricing.
Adds Perplexity Agent API third-party models.
Adds Amazon Bedrock AgentCore as a web search provider.
A passthrough provider is available for Amazon Comprehend Medical.
Per-request auto-router savings are exposed to logging callbacks.
The /v1/ocr endpoint can return Azure Document Intelligence's native payload when req_format=native.
The proxy can authenticate to Azure Postgres using Microsoft Entra ID tokens.
A configuration toggle can disable agent-runtime pass-through.
Adds bedrock grok 4.6 to the model cost map.
Adds a business classification rubric preset for the complexity router.
Setting classifier_type to custom enables custom classifier plugins.
Adds Cognition as a distinct provider identity.
Operators can define tier sets for the LLM classifier.
Admins can supply a dark-mode variant of their custom logo.
Helm can compose DATABASE_URL_READ_REPLICA from a reader host secret key.
A DELETE endpoint is available for removing a named team callback.
Batch requests can be rate-limited by enqueued tokens, with tokens refunded on completion or cancellation.
Adds gpt-image-2 image generation support.
Adds support for serving GPT-5.6 cross-region inference profiles on Bedrock Runtime.
Users can choose a light, dark, or system theme from the top bar.
Adds native CLI login using OAuth authorization code with PKCE.
The login command can wire Claude Code during login with --config-claude.
Complexity autorouter configuration now accepts per-tier litellm_params.
Unscoped managed files can now be listed and paged locally.
Adds a setting to bound the health-check table's retention period.
A new endpoint exposes model deprecations, alongside proactive model deprecation alerts.
The UI supports selecting multiple keys for shadow evaluation and viewing per-key breakdowns.
The complexity tier editor supports setting reasoning effort per model.
Adds an endpoint to dry-run the complexity-router write gate.
Projects can be configured with ITPM and OTPM quotas.
Project input and output TPM limits can be edited from the Projects modal.
The complexity router's reasoning override floor is configurable.
Auto-routed response bodies now include router_model_name.
Adds SCX.ai as a JSON-configured OpenAI-compatible provider.
Shadow eval jobs can now be scoped to multiple keys.
Bare first-party Claude cost-map keys now include the supports_mid_conversation_system capability.
A new aggregated team daily activity endpoint is added and used by the Usage team tab.
The top bar provides a light, dark, or system theme toggle.
Tinyfish responses now surface response headers and top-level response extras.
This environment variable selects the v2 migration resolver.
Valkey is available as a managed vector store provider.
Configure allowed_fails_policy and cooldown_time per deployment, overriding router-level settings.
The proxy serves an Anthropic-native /v1/models endpoint for Claude Code gateway discovery.
The proxy exposes an Anthropic-native model-list endpoint to support Claude Code gateway discovery.
Pricing support is added for Fireworks FW models on Azure AI Foundry.
Metadata is added for the Grok 4.3 model on Azure AI.
Enable or disable prompt caching per virtual key.
Configure estimated output tokens for rate limiting by key, team, and model.
List vector store indexes through a new proxy endpoint.
The /v1/models endpoint now lists routing groups, which can also be called as virtual models.
The componentized Helm chart adds hpa.behavior configuration for Horizontal Pod Autoscaler behavior.
Set a per-deployment SSE heartbeat interval to help prevent load-balancer timeouts on long streams.
Configure which commands are included in the hidden lite command list.
Nimble is available as a search provider.
The auto-router gains a pre-adoption shadow evaluation using a blind pairwise judge and derived state.
Configure a flat cost on a model deployment for provisioned throughput, with daily per-model cost rolled up by active hour.
PTU flat-cost attribution can be enabled through an opt-in environment variable.
Use a required-AND (&) tag prefix in router tag matching; an allow_fail_open flag is also available.
The proxy can return response cost headers broken down by component.
Shadow evaluation jobs can run in the reverse direction.
Routing groups can be called as virtual models and are listed in /v1/models.
Opt in to session_id and trace_id correlation in JSON log records using context variables.
Shadow evaluation samples traffic from /v1/messages and /v1/responses.
Configure a global SSE keepalive ping interval for OpenAI-shaped streaming routes.
The componentized Helm chart adds startupProbe support for configuring a startup probe.
Adds an opt-in to apply a user's budget to team keys.
Operators can configure the reminder marker pair and replace the LLM classifier system prompt.
Adds AZURE_SENTINEL_AUTHORITY_HOST as an Azure Sentinel-scoped override.
Adds spend report endpoints scoped to the calling key, user, team, or organization.
Operators can rename the four complexity tiers.
The dashboard adds net auto-router savings, a default savings baseline, and an auto-router usage tab.
Adds a custom metadata validation hook for team creation and updates.
Adds independent deployment affinity for the auto-router, enabled by default.
Adds the gemini-robotics-er-2-preview and gemini-robotics-er-1.6-preview models.
The Playground adds a toggle for non-streaming responses.
Complexity router requests report LLM classifier cost through routing_decision and the x-litellm-classifier-cost header.
Adds scan_only_tool_results to scope unified guardrails to tool results.
Admins can configure a banner displayed to users.
Prometheus supports a global exclude_labels option.
Prometheus supports a global exclude_metrics option.
Database statement and lock time can now be bounded through general_settings.
A GET endpoint for budgets is now available under /management/v1.
The keyless gateway OAuth flow now supports per-server MCP URL paths.
The logs page supports shareable links using the log_id query parameter.
A generic list handler is now available for management API routes under /management/v1.
Headless MCP clients can use a manual authorization-code delivery flow.
The organization detail page can be opened through a deep link using the ?org= query parameter.
Enabling REPLICA IDENTITY FULL after Prisma migrations is now opt-in.
Latency and spend metrics now include a service_tier label.
Both S3 logging paths now support SSE-KMS encryption parameters.
The team detail page can be opened through a deep link using the ?team= query parameter.
Budgets can be configured to reset at a specified time of day.
A standalone route for MCP OAuth is available independently of the Chat UI flag.
The proxy's DB config-reload interval can be configured through config.yaml and the UI.
DeepKeep is available as a custom guardrail.
MCP adds an always-on aggregate gateway front door for DCR discovery.
The MCP gateway DCR front door supports session tokens containing identity only.
Set this environment variable to route native Anthropic /messages requests through Rust.
Guardrails can scan only new messages for incremental per-session scanning.
The OpenAI Responses API WebSockets behavior is ported to litellm-rust.
This proxy option stamps the outgoing user parameter with the key hash.
A RESTful endpoint is added to update an organization.
The Rust axum gateway exposes the Anthropic Messages route.
The complexity router adds a toggle controlling the model name returned in the response.
Adds an opt-in to run pre_call and post_call guardrails concurrently.
Adds SAML 2.0 single sign-on for the admin UI.
The Cost Optimization page adds spend-by-tool and cache leakage views.
Adds /v1/messages support for the Straiker guardrails plugin.
MCP servers are supported on the Anthropic Messages API.
Supports deep-linking to a virtual key detail view with the ?key= query parameter.
Automatic prompt caching for Anthropic can be configured from the Admin UI.
Adds per-component PodDisruptionBudget and topologySpreadConstraints support.
Adds a Compresr guardrail for query-aware context compression.
The OAuth delegate flow adds gateway-bound token envelopes, interactive SSO sign-in for DCR clients, and client-held refresh envelopes.
Adds a proxy flag to disable automatically adding the proxy admin to teams.
Enables automatic cache_control injection for Anthropic prompt caching.
Adds streaming text transformation support to the generic guardrail API.
Adds identity assertion authorization grant support for MCP egress.
Bedrock guardrails add a resource-less detect-only InvokeGuardrailChecks mode.
Adds lite up/down commands to ambiently route Claude Code through the proxy.
Adds pricing for gemini-omni-flash-preview video output tokens.
Enterprise deployments can use push-based OTLP metering for billable requests.
Adds a Logs view in chat UI scoped to the current user.
The apply_guardrail endpoint accepts and forwards optional metadata.
Router accepts plugins to provide a routing-plugin pipeline.
SCIM ingests and round-trips entitlements and roles in user attributes.
Metadata now includes user- and team-level spend and budget.
Adds a Straiker guardrail integration.
The complexity router supports user-triggered escalation keywords.
Prometheus exposes consumption metrics for video duration and image count.
Responses include an x-litellm-model-name header containing the deployment model string.
The complexity router adds keyword tier overrides and semantic keyword matching for routing.
Content Filter guardrails can now run at the pre_mcp_call stage.
Coordination Redis can be configured independently of the response cache and is exposed as a chart and Terraform deployment surface.
Adds custom_technical_keywords configuration to the complexity router.
Adds dcr_bridge support for client-forwarded authentication, including discovery, authorization and token relay, and sealed client-held credentials.
Adds a toggle for client-forwarded MCP authentication modes.
Adds the entra_obo profile to the token_exchange (OBO) arm, selectable through the UI and API.
Failed LLM calls now emit the gen_ai.client.operation.exception event.
Streaming LLM spans now include the gen_ai.response.time_to_first_chunk attribute.
Adds an expires filter to the key-list endpoint.
Adds Vertex AI transcription support for Google Cloud Speech-to-Text Chirp 3.
Adds separate ITPM and OTPM deployment rate limits in the router.
Adds a token-printing command to support Claude Code apiKeyHelper.
Adds an LLM-based classifier option to the complexity router.
Exposes MCP max_concurrent_requests in server creation and editing forms.
Adds the Meta Model API provider and muse-spark-1.1.
Makes the Microsoft Graph endpoint configurable for GCC High.
Adds oauth_delegate as an MCP authentication mode, exposed in the UI with a no-auth warning.
Adds oauth2_token_exchange as an authentication type supported through the REST API and dashboard.
Adds a RESTful team update endpoint with JSON merge patch semantics.
Supports RPM limiting per tag on a single key.
Adds true_passthrough as an MCP authentication mode, exposed in the UI with a no-auth warning.
The microservices Helm chart supports user-defined volumes and volumeMounts.
Adds well-known agent-card discovery and LangGraph Platform mode for A2A.
Supports proxy routing for 0.3 and 1.0 agents.
Adds a sentinel that grants teams access to every MCP server.
Adds aws_bedrock_project_id for Bedrock Mantle project or workspace association.
Adds configuration support for Azure Speech speech-to-text.
Adds key-level budget_fallbacks to reroute requests when a per-model budget is exceeded.
Adds cache control injection support for the v1/messages endpoint.
Adds a code interpreter loop for chat completions.
Adds support for Claude Code goal mode in Bedrock Opus output configuration.
Adds Claude Sonnet 5 support.
Supports client_secret_basic for upstream OAuth token endpoints.
A per-agent codex command wraps coding agents through the proxy.
Adds a compact_20260112 polyfill for non-Anthropic providers.
The S3 v2 provider sends Content-MD5 on PUT and supports optional server-side encryption.
Adds OAuth M2M support for Databricks Apps A2A agents.
Supports object_permission in default key-generation parameters.
Adds an E2B code execution primitive.
Adds Day 0 support for Gemini 3.5 Flash.
Adds tool calling support for the Gemini and Vertex AI Live APIs.
Adds support for Gemini managed agents.
Exposes streaming knobs on the generic guardrail API.
Adds Google Distributed Cloud Gemini as a provider.
Adds Granian as an ASGI-compliant web server to provide better throughput stability.
Adds a Cisco AI Defense integration.
Adds a guardrail for message compression.
Adds a native /health/drain preStop hook for graceful shutdown.
The playground adds an Interactions API endpoint with SSE streaming.
Adds an opt-in fallback to the DB team when a JWT claim cannot be resolved.
Adds a LangFlow agent provider with A2A session bridging.
Adds a Prometheus metric for overhead latency with guardrails.
Adds plugin architecture v2.
Adds a per-team gauge metric for LiteLLM team members.
Adds configurable response headers and a login-page hint.
Adds image generation support for MAI-Image-2.5 through Azure AI.
Adds a proxy option to stagger worker restarts.
Adds native MCP OAuth support for Cursor.
The UI supports MCP tool calls and tool listing for OAuth MCP servers.
Adds per-server environment variables with global and per-user scopes.
Adds per-MCP-server RPM rate limiting for keys and teams.
MCP supports stateless and stateful clients through session-id routing.
Exposes MCP tool metadata in Prometheus metrics.
Adds virtual tools for searching large MCP tool catalogs.
Adds Microsoft Purview DLP as a guardrail.
Adds support for Mistral OCR 4.
Scans file and document attachments with Model Armor.
Adds Nano Banana and Gemini 2.5 Flash image generation support through fal.ai.
Adds a sentinel to scope a key to zero MCP servers.
OAuth flows now include error_description and hint.
Adds the openai/gpt-image-2 image model.
Adds configurable request timeouts for passthrough requests.
Helm charts split ServiceAccounts for the gateway, backend, and UI components.
Prometheus emits detailed metrics by token type.
The proxy exposes Prisma idle and connect timeouts and additional database URL parameters.
Allows opting out of v3 TPM reservation and the Redis circuit breaker.
Adds a requested_model label to spend and requests metrics.
Adds a require_managed_files setting for file uploads.
Adds RESEND_FROM_EMAIL for self-hosted Resend sends.
Adds a code interpreter interceptor on the Responses API.
Adds routing denylist support using the ! prefix.
Adds sensitive data routing to on-premise models through guardrails.
Adds an option to disable server-side prepared statements for database lookups.
Adds opt-in native Postgres partitioning for SpendLogs retention.
Allows allowlisting team_metadata sub-keys to be promoted to OpenTelemetry baggage.
Adds Tencent TokenHub as a provider.
Adds TinyFish as a search provider.
Adds typed, semantic-convention-aligned OpenTelemetry instrumentation.
Adds a fail-open option to the Headroom guardrail for unreachable fallback behavior.
Prometheus user budget metrics now include user_email and user_alias.
Allows llm_api_routes virtual keys to list MCP tools through this endpoint.
Adds a Valkey semantic cache backend and fixes semantic cache scope keys.
Tracks cost for unmanaged Vertex AI batch jobs.
Vector stores support engines URLs for Vertex AI Search and forward per-request parameters.
Adds a watsonx Orchestrate agent provider for A2A.
Adds xai.grok-4.3 to the Bedrock Mantle model cost map for SigV4 authentication.
Adds Claude Fable 5 support across Anthropic, Bedrock, Vertex AI, and Azure AI.
A model cost map is added for gemini-3.1-flash-lite.
Allows proxy admins to assign MCP servers to teamless keys.
Adds Rust OCR providers and packages the Rust OCR bridge in the LiteLLM wheel.
Adds mistral/mistral-ocr-2512 to the cost map.
Adds an OpenAI realtime translation layer to litellm-rust.
Adds an endpoint to replay logging payloads through callbacks.
Caller identity is resolved once into a Principal at the authentication seam.
SMTP implicit SSL on port 465 is now supported.
A per-agent lite claude command wraps coding agents through the proxy.
The standardized rate limit error includes an llm_provider field.
A per-agent opencode command wraps coding agents through the proxy.
The standardized rate limit error includes a rate_limit_type field.
The rate limiter now allows opting out of v3 TPM reservation and the Redis circuit breaker.
Adds MCP OAuth passthrough and issuer-scoped JWT authentication.
The proxy exposes Prisma idle and connect timeouts, plus extra database URL parameters.
Adds a Microsoft Purview DLP guardrail.
User budget metrics include user_email and user_alias.
Terraform stacks for AWS ECS and GCP Cloud Run were added for the componentized gateway.
Model metadata for Azure AI Foundry GPT-5.4 was added to the model catalog.
The gateway, UI backend, and UI can now run as separate services.
The MCP server list API now exposes delegate_auth_to_upstream.
LassoGuardrail now supports tool calling.
LiteLLM now supports OTEL GenAI semantic conventions.
PROXY_BASE_URL is available as an escape hatch for MCP OAuth invalid_request issues, with diagnostic logging.
Weighted-routing failover was added.
Adds Azure Sentinel audit log support.
Adds the ability to authenticate to Azure with a token.
Adds retrieval support for Bedrock batch model invocation jobs.
Adds a Bedrock Claude Platform route.
Adds an endpoint for bulk key updates for a team.
Adds the ability to configure separate database read and write endpoints.
This flag enables PKCE passthrough for MCP authentication.
Adds support for authenticating to Grafana Cloud Pyroscope.
Adds Grok 4.3 model entries and pricing metadata.
Adds health_check_reasoning_effort for model health checks.
Adds scope and wildcard support for JWT routing overrides.
URL-based namespacing now supports MCP access group names.
Gemini returns separate embeddings for multimodal inputs and supports combined multimodal embeddings through nested input.
Adds NVIDIA Riva as a speech-to-text provider for audio transcription.
Adds OBO authentication for MCP.
Adds parallel_tool_calls to the parameters supported by xAI models.
Adds a UI for routing groups.
Adds routing groups and a UI for managing them.
Decouples S3 audit-log configuration through s3_audit_callback_params.
Adds OpenAPI support for Vertex AI Model Garden publisher model IDs.
Vertex AI Search is available as a vector store provider in the UI.
Adds support for the Z.AI GLM-5 model on Bedrock.
Adds AIHubMix as an OpenAI-compatible provider.
Adds optional TCP SO_KEEPALIVE support to aiohttp's TCPConnector.
Adds support for the Azure Entra discovery endpoint.
Adds retry settings for the generic API logger.
Adds support for the gpt-image-2 model.
Adds extra_headers support for OpenAPI MCP.
Adds an opt-in short-ID tool prefix to keep MCP tool names under the 60-character limit.
Supports passthrough of Bedrock retrievalConfiguration for vector stores.
Adds support for configuring search provider credentials at the team level.
Adds a flag for configuring the timeout used during uvicorn worker health checks.
Adds durable agent workflow run tracking through this endpoint.
Adds bidirectional synchronization between access groups and teams or keys.
Adds support for OpenAI's Chat-GPT 5.3 Chat model.
Adds a CrowdStrike AIDR guardrail hook.
Supports setting JSON Schema validation per request for thread safety.
Adds support for encrypted content affinity.
Adds the model to the Vertex model database.
Adds a Google Search API integration.
Adds the model to the model cost map.
Adds the model to the model cost map.
Adds guardrail-mode-default-list.
Adds an in_flight_requests metric to the health backlog endpoint and Prometheus.
Makes the UI login session duration configurable through this environment variable.
Adds pricing for Nebius models.
Adds image edit support for OpenRouter models.
Adds native OpenRouter models to the model cost map.
Adds embedding support for Perplexity pplx-embed-v1 models.
Adds Responses Websocket support, including support across providers.
Adds team-based guardrail registration and an approval workflow.
Adds a batch expiry setting for teams.
Adds tool policies for the AI Gateway.
Adds VIDEO modality support in Vertex AI token usage tracking.
Adds an Access Group Selector to the key and team create and edit flow.
Adds help for editing and viewing categories, one-click category addition, and navigation to the next page.
Adds routing based on whether reasoning is supported.
Adds a setting for the Google Cloud metadata server host used by oidc/google/ secret references; the default is metadata.google.internal.
Adds a timeout setting for reads from the Google Cloud metadata server used by oidc/google/ model API key references.
Adds the required S3 bucket setting for the Hex spend callback.
Adds an optional custom S3-compatible endpoint setting for the Hex callback; Athena requires AWS S3.
Adds an S3 object prefix setting for Hex spend exports, defaulting to litellm-spend.
Adds a region setting for Hex spend exports, falling back to AWS_REGION and then us-east-1.
Adds an environment-variable form of litellm_settings.http2 to enable or disable provider HTTP/2 negotiation, including for async Vertex AI Search vector store searches.
Adds an allowlist of request-metadata keys promoted onto OTEL v2 spans; setting it replaces the default list.
Adds a setting for identity attributes stamped on every OTEL v2 span in a request; setting it replaces the default list.
Sets Uvicorn's h11 incomplete HTTP header buffer size for the default server and --run_gunicorn when h11 is used; --max_request_header_size takes precedence.
Adds an environment variable for configuring the ZeroGPU base URL, defaulting to https://api.zerogpu.ai/v1.
Adds an environment variable for the ZeroGPU API key.
Performance 9
The command starts faster by no longer importing the full SDK.
Sampled guardrail scans run in the background so stream chunks no longer pause.
Compresses buffered responses for clients that accept gzip.
Improved request lookups on large spend log tables by building missing indexes after migrations.
QdrantSemanticCache can now be served natively from Rust.
FastAPI and tiktoken BPE imports are deferred out of import litellm.
When request_correlation_in_logs is off, correlation contextvar stamping is skipped.
Pre-warms the upstream realtime connection pool to reduce session-establishment latency.
The chat completions fast path was optimized.
Behavior and default changes 262
The Docker images now use a newer Wolfi base image, which may affect deployment decisions.
The beta allowlist is selected per deployment, and input_transformations are surfaced.
BaseVideoConfig providers registered through custom_provider_map can now serve requests on /v1/videos.
The Codex catalog now honors model_info.max_input_tokens for stock models.
Hosted vLLM responses preserve stop_reason and token_ids on chat choices and stream chunks.
Bedrock defaults to native structured output on the listed Opus, Fable, Sonnet, and Haiku models.
Health errors no longer include Python stack traces; traces remain in the proxy log with --detailed_debug.
Now sets trace-level name, input, output and tags on traces LiteLLM starts.
Model groups' reasoning efforts are now provided to pi, OpenCode and Codex when launched through
lite.No longer installs placeholder models into every install.
drop_paramsnow applies to Claude Code and Codex requests.The Azure gpt-chat-latest max_input_tokens value is now 128000.
A streaming chat cut off mid-answer can continue on the configured fallback.
Personal keys now inherit MCP and agent access from owner teams under this setting.
Batch requests can now be routed to batch deployments.
Successful fallbacks are now counted under the originally requested model.
Per-deployment reasoning effort levels now apply on every provider and route, including
azure_ai.When set, tag routing uses only prefixed caller tags.
Uses x-mcp-<access_group>-* headers as default upstream credentials for group members.
Derives the runtime session id from A2A message.contextId.
Supports mid-stream fallback for the anthropic_messages route type.
Compression is decoupled between the routing decision and the model call.
Gateway model discovery is enabled by default for lite claude.
Escalates oversized prompts to a tier that fits before dispatch.
JWT-authenticated callers are pinned by user ID in deployment affinity.
The CLI sets ENABLE_TOOL_SEARCH=true for lite claude.
Returns enabled thinking content by default.
Custom providers registered in custom_provider_map now have native generateContent support.
Pricing is added for every live but unpriced Bedrock model in GovCloud.
Applies model_info.health_check_params to health-check probes.
The stored SSO identity assertion is renewed behind ID-JAG.
Supports wildcard prefixes in JWT team_allowed_routes.
Shows budget window usage in the key information response.
Key updates can keep or shrink MCP server grants the key already holds.
Claude Code gateway model discovery is enabled by default.
The ID-JAG credential is preflighted at the transport edge.
A warning is issued when an oauth2_id_jag server outruns the SSO provider's assertion capture.
The proxy recognizes OpenCode's bare x-session-id header for session affinity.
Together AI maps reasoning_effort according to model class.
Unifies Rust opt-in and bridge policy.
Adds fallback on Anthropic safeguard refusals for /v1/messages and arms it on generic chains when no content-policy list exists.
Adds shared budget enforcement for model access groups.
Carries the final response cost on streamed usage by default.
Cost calculation now supports time-based off-peak pricing.
The proxy briefly defaulted to the v2 migration resolver, but a later release-note entry reverted that default to v1.
Vector-store search_results are attached when a guardrail is registered.
Client subscription forwarding is backported to the stable 1.106.x release line.
The GCS logger now uses the bucket and credentials configured on the proxy.
Failure logs for rejected requests now keep only core request fields, tags and guardrail details.
Provides an opt-in route for gpt-oss and grok on Bedrock.
Background interaction billing settlement is durable across pods.
Each Nova Sonic assistant sentence is forwarded once over the realtime API.
Streamed prompt-based JSON tool calls are converted into real tool calls.
Transcript guardrails run on raw-path transcription sessions using a transcription-safe block.
The UI renders team_metadata_schema keys as fixed labels.
Serves a Codex-native model catalog with per-model service_tiers.
Postgres reads are canceled after 30 seconds so timed-out pages do not leave scans or aggregations running.
Adds the OpenAI Decisions provider to the stable 1.104.x release.
Configured pre-call guardrails now scan retrieved vector store chunks.
Postgres requests are canceled after 30 seconds to prevent retries from piling slow LiteLLM_SpendLogs aggregations onto the database.
Adds the /v1/systemone endpoint to the stable 1.104.x release.
OpenAI models on bedrock-runtime are served through its native Responses API.
Configured cache_control_injection_points are now applied alongside cache_control marks supplied by the client.
CLI session spend is attributed to the per-user cli-session alias instead of the hashed session token.
Context-window escalation is now opt-in, so it will not occur unless explicitly enabled.
A deployment's pricing override is now applied to realtime sessions.
The Google GenAI adapter now forwards response schemas and tool parameters through generateContent.
The endpoint now lists key and team model aliases.
Synchronous Redis clusters now authenticate using IAM credential providers.
Key model aliases are authorized the same way as team aliases.
Setting this flag moves every OTel callback on the proxy to V2 except logfire, changing other OTel exports too.
Callbacks can filter model listing routes for each caller.
Image generations are priced by resolution.
Raw SSE is streamed unbuffered through the post_call hook.
Provider response headers are passed to callbacks on every endpoint.
Vertex AI search_api vector store hits now return chunk content, extractive text, and structData.
Team admins can update member key budgets when the feature is enabled.
Server-side Team Usage export can include keys beyond the top-N key cap.
Team usage key search can now reach beyond the top-N keys.
Passthrough requests log upstream 4xx/5xx response bodies and include them in the failure hook.
The proxy now defaults to the v2 migration resolver.
When this token is set, Bedrock batch retrieve and cancel requests are signed with deployment credentials.
Foundry Models now use the native /openai/v1/responses route.
The model is billed at off-peak rates outside peak hours.
The model is billed at off-peak rates outside peak hours.
Minimal thinking is mapped to low for Gemini 3.7 and 3.8 Flash.
The Vertex model's context window is now set to 262144 tokens.
A license configured here unlocks enterprise settings; a valid LITELLM_LICENSE remains active if the config license is invalid.
Buffered stream chunks are released after each scan passes rather than waiting for the full stream.
JWT and team-linked keys inherit organization alias, budget, and rate limits.
Deleted keys can now be retrieved through the key information endpoint.
Embedding vectors are summarized as Langfuse observation output.
Minimal thinking is mapped to low for Gemini 3.7 and 3.8 Flash.
litellm_trace_id now defaults to the OTel server span trace id.
Nested request metadata keys are promoted to span attributes under litellm.metadata.*.
Team admins can edit max_budget when enabled.
Proxy admins now see all model groups in the model-group information endpoint.
The model prices schema generator now classifies off_peak_pricing as a structured object.
The moderation model is resolved at call time and defaults to omni-moderation-latest.
Azure AI Foundry Models route the Responses API to the native /openai/v1/responses endpoint.
Responses API output is now mapped onto the Langfuse generation output.
Responses streaming now emits typed failure events.
Team admins can edit rpm_limit when enabled.
Skill registration now accepts SSH clone URLs.
Team member deletions and role changes now emit audit events, and team creation carries the final roster.
Team service account keys can use key management endpoints for their own team.
Adds temporary budget increases for team members.
Vertex AI now streams GCS batch output files from this endpoint.
Trace context now propagates on HTTP and WebSocket passthrough requests.
The response header now names the guardrail that blocked the request.
AWS session tags are passed into STS AssumeRole.
Skills can use HTTPS zip archive plugin sources.
Cost estimates now include cache and reasoning tokens.
Claude Code's apiKeyHelper can now supply the key when using lite claude.
OpenAPI specifications can be checked without native MCP handshakes.
Post-call guardrail pipelines execute on streaming responses and apply text rewrites to streams.
Guardrail tool-call rewrites are delivered into buffered chat, Responses, and Messages streams.
The router can fall back on Anthropic safeguard refusals on /v1/messages.
Automatically escalates stalled complexity-router tasks.
The router holds a concurrency slot until a streaming response is exhausted or closed.
Applies off-peak pricing to reasoning and cache-creation rates, and honors it in Fireworks AI and Perplexity cost calculations.
Makes request images visible to the LLM classifier in the complexity router.
Shadow evaluation now judges tool-call turns instead of dropping them or erroring.
MCP streamable HTTP admission accepts the raw x-litellm-api-key header.
The turn now ends when the web search interception agentic loop reaches its ceiling.
Audit logs are enabled by default for enterprise licenses.
Batch records are scanned with content hooks beyond guardrails.
Individual batch records can be redacted or dropped instead of rejecting the entire file.
Bedrock guardrail usage units are tracked per invocation and their cost counts against spend and budgets.
LiteLLM identity and metadata are forwarded into Bedrock requestMetadata.
Maps cache_control_injection_points to OpenAI prompt_cache_breakpoint for GPT-5.6+ targets.
LLM Call spans are now emitted for speech, image, moderation, OCR, and transcription operations.
The /v1/messages bridge maps metadata.user_id to prompt_cache_key.
The proxy automatically suppresses the no-Redis banner for confirmed single-worker deployments.
Phoenix traces are routed to per-key and per-team projects under OTel v2.
Auto prompt caching now has deployment affinity.
A warning is emitted when config.yaml declares PTU while attribution is disabled, helping identify a configuration mismatch.
The completion bridge now mints item IDs for the Responses API.
Routes /chat/completions through the Rust core for Anthropic and Bedrock.
The /v1/messages bridge now translates tool_result document blocks.
Batch input files are validated before processing, with invalid inputs rejected early.
NIM/vLLM extra parameters are translated to Fireworks-native arguments.
MCP gateway session bearer tokens are scoped to the RFC 8707 resource.
Shadow evaluation now samples /v1/messages and /v1/responses traffic.
OpenAI passthrough streams now include usage cost tracking.
Lite login session tokens now carry team grants.
xhigh reasoning support is enabled for gpt-5.4-mini models.
Resolves Cursor thinking and fast model-name suffixes, supports Cursor agent mode, and enforces per-model budgets against resolved model variants.
New teams inherit the default organization configured in default team settings.
Bills intercepted web searches to the calling key.
Names the RPC system and upstream on MCP tool-call spans.
Inference spans now include service tier attributes.
Complexity router session affinity is off by default and can be configured in the UI.
The auto-router tracks turns per complexity tier.
Shows a user's email or alias in usage data exports.
The ComplexityRouter classifier can now see assistant turns and rate what a short reply approves; the Auto-Router UI exposes the assistant-turn context switch.
The CLI now reads base_url from its persistent configuration file.
Config sync is now pushed to pods through Redis pub/sub.
The ID-JAG subject is now sourced from the user's stored SSO assertion.
AI API keys are now permitted to read /model/info.
Bedrock tags are forwarded to CreateModelInvocationJob for batch jobs.
The proxy automatically enables drop_params for Codex user agents.
The dashboard session budget default is raised to $1 and made configurable in config and the Admin UI.
Paginates the managed batch list using a unified_object_id cursor.
Records cost and usage reported by the upstream target.
Daily spend aggregates now track tokens saved through prompt compression.
Sends RFC 8707 resource indicators on upstream OAuth legs.
The endpoint's page_size cap is raised to 1000.
Budget rejection failure logs include structured budget fields.
Multi-model complexity tiers can randomly select a model, and adaptive mode supports a soft floor.
Marks Cost Optimization as beta in the Admin UI left navigation.
Maps the LiteLLM session ID to the x-session-affinity header for Fireworks prompt caching.
The supported Python requirement cap is raised to below 3.15 so current releases can be installed on Python 3.14.
Azure Anthropic /messages requests can be routed through Rust when rust:true is enabled.
Session affinity is enabled by default for the complexity router.
LiteLLM sends the session ID in this Fireworks header to enable prompt caching.
Adaptive thinking and effort are translated for pre-4.6 model support, and @default Vertex AI models resolve to adaptive thinking.
Keys are throttled after reaching a spend limit instead of having access revoked.
The complexity router logs the cause of each routing decision.
Budget enforcement and cost tracking now apply to Dashscope tiered pricing.
OAuth delegate clients can be admitted using a single envelope bearer.
Streaming requests now populate remaining and limit values for x-ratelimit-* fields in the standard logging object.
Mapped Claude 4.8+ Bedrock entries are flagged as supporting system messages mid-conversation.
Client-forwarded pass-through MCP tool calls now relay upstream 401 responses.
Adds an api_provider label to token, latency, request, and cache Prometheus metrics.
The standardized rate limit error includes a category field.
Routes Claude Opus 4.8 through adaptive thinking.
Routes the native Workers AI provider through the OpenAI-compatible endpoint.
The proxy warns at startup when custom_auth skips common_checks enforcement.
Generalizes declarative fallbacks for unknown models.
Adds GA model pricing for gemini-3-pro-image and gemini-3.1-flash-image.
Interactions migrates to the Google Interactions API steps schema (May 2026).
Stores litellm_call_id on spend logs to support database-to-trace correlation.
Adds a default of None for the team membership budget table field.
Virtual keys configured with llm_api_routes can list MCP servers.
Allows non-creator users to OAuth into OBO-mode MCP servers from the Tools page.
MCP server access now resolves team.access_group_ids and key.access_group_ids, and key grants can be additive with opt-in member assignment.
Rolls MCP tool spend up to user counters and the usage UI.
Reuses an E2B container across requests when metadata.session_id is set.
Allowlisted OIDC claims are persisted during CLI SSO polling.
Surfaces OpenAI moderation violation_categories on guardrail traces.
Includes organization metadata in Vantage FOCUS Tags exports.
Extends passthrough_managed_object_ids support to Azure.
Applies the Redis namespace to all key operations.
Extends the response headers hook to streaming, TTS, image generation, and passthrough requests.
A SCIM admin group can determine the global proxy role.
Ingests enterprise extension attributes into user metadata.
Skips health checks for semantic auto_router deployments.
Cache replay for streaming responses is word-sliced.
Disables proxy buffering on streaming SSE responses.
team_id and team_alias are propagated to all child OpenTelemetry spans.
Team members can create keys on org-scoped teams.
Inference spans include team_metadata, http.route, and model names.
Emits a CLIENT span for MCP discovery when otel_v2 is enabled.
Allows /v1/messages to pass through to native endpoints via supported_endpoints.
GitHub Copilot routes /v1/messages to its native Anthropic endpoint.
Emits the response cost header on /messages and /generateContent.
Expands the all-proxy-models sentinel in direct access lookup.
In development, .env is hot-reloaded when the proxy runs with --reload.
Mints a per-session agent credential during lite login.
Migrates authorization_code MCP to the v2 resolver for single-replica use.
Moves authorization_code MCP to the v2 resolver in single-replica mode.
OAuth tokens obtained in the Tools tab are now persisted to the database.
Adds shared OAuth token handling with expiry-aware caching and single-flight refresh, including cross-replica refresh for the v2 per-user store.
MCP now mirrors the upstream token lifetime instead of forcing a one-hour OBO expiry.
The MCP UI highlights servers when the logged-in user is missing required per-user environment variables.
The Linear MCP registry entry now defaults to streamable HTTP.
Stops logging tool-call input in the MCP client.
Arize Phoenix traces now render tool calls, cost, passthrough I/O, session and user data, multimodal content, and cache tokens.
OTel v2 spans now include gen_ai.input.messages and gen_ai.output.messages.
The record/replay proxy now supports chat, embeddings, moderations, rerank, and Anthropic requests.
Warns when X-Forwarded-For is present while use_x_forwarded_for is off.
Anthropic service_tier is priced and surfaced in cost tracking.
Future Claude models are routed to the Anthropic provider through pattern matching.
Batch-file auth was backported to the stable 1.88.x release line.
CrowdStrike AIDR was backported to the stable 1.88.x release line.
Fable 5 was backported to the stable 1.88.x release line.
Mantle Responses SigV4 was backported to the stable 1.88.x release line.
apply_guardrail is wired into proxy logging callbacks.
OpenAI costs account for the regional-processing uplift for EU/US data residency.
Fable 5 is backported to the stable 1.87.x release line.
team_id and team_alias are propagated to all child OTEL spans.
The success SERVER span now sets http.response.status_code.
The proxy SERVER span now includes OTel-standard status code, route/path, and preprocessing latency attributes.
Anthropic clients now receive native web_search_tool_result blocks for citations.
When the flag is set, models with disable_background_health_check are skipped by GET /health.
Health responses are scoped to the caller's models and display fields are tidied.
The UI key Overview header now shows expiration, and the User information is combined into one field.
Adds OpenAI Realtime GA support while retaining beta compatibility.
Adds support for the OpenAI Realtime GA API while maintaining beta compatibility.
When --reload is set, the proxy hot-reloads its YAML configuration.
Teams can now be searched by team ID as well as by name.
Adds LiteLLM headers on Google native generateContent routes.
Runs pre_call_hook on Google generateContent endpoints.
Adds LiteLLM headers to Google native generateContent routes.
Propagates metadata labels to Vertex AI embedding, Imagen, and rerank requests.
Adds support for wildcard models in the files API.
OCR now supports local files.
Reverts StreamableHTTPSessionManager to stateless mode.
The default per-host aiohttp connection limit is now 500.
The keepalive timeout now also applies to Vertex AI Search vector store searches over HTTP/2.
The prior description's reference to team-metadata sub-keys promoted onto OTEL spans under litellm.team.metadata was replaced with the v2-specific behavior.
Tooling 4
The Admin UI toolchain moves to Node 24.
A generated JSON schema is now published for the model pricing and context-window data file.
Packages the Rust OCR bridge in the LiteLLM wheel.
The /v2/model/info endpoint is now published in the Swagger OpenAPI specification.
Fixes and other changes 598
Fixed GPT-6.2 prompt caching for system prompts sent to /v1/chat/completions or /v1/messages with store: false.
OpenAI allowed_tools is accepted on chat completions and flattened for the Responses bridge.
An upstream Anthropic 529 on /v1/messages now returns 529 overloaded_error.
Vertex AI now maps Anthropic context overflow errors.
On chat completions to Claude, prompt_cache_breakpoint is carried to cache_control.
Azure AI streams natively on an Azure OpenAI host through /v1/messages.
The proxy now returns 401 when Entra rejects a deployment's credential.
Fixed 500 errors when streaming OpenCode Go Messages-protocol models through chat completions.
Non-streaming chat responses now map Cohere v2 finish_reason.
Comparison response IDs are now authorized and decoded.
The proxy now counts context_management edits applied by /v1/messages across bridged providers.
Fixed follow-up requests with Anthropic server tool history, such as web search, skipping the context-window check.
Fireworks requests preserve developer items in place for models that accept a later system message.
Fixed 500 errors when a request sends a string fallback override such as "fallbacks": "default".
Fixed unmapped Fireworks AI models sized like 1p5b or 0p6b billing at double the up-to-4B rate.
Stored general_settings keys that no settings API manages are now ignored.
Fixed Hugging Face chat requests when the endpoint comes from HUGGINGFACE_API_BASE, avoiding requests sent to None or crashes.
Databricks joins plain text blocks for non-Claude json_object requests.
Bedrock sends native structured output for json_schema on Claude models that cannot force a tool.
The endpoint returns 400 instead of 500 when no key is provided.
MCP routes now answer bare OPTIONS requests without running LiteLLM authentication.
The proxy now checks the model in every OpenAI websocket passthrough frame.
With drop_params enabled, this parameter is trimmed to what each provider API accepts.
Provider model catalog and pricing data is updated, including model prices, limits, retirement information, and replacements.
Setting reasoning_effort to none disables thinking on Claude models that think by default.
Responses SSE event framing is preserved by the proxy.
Fixed requests dropping the team's model alias and landing on another deployment.
Bridged streaming events now serialize sequence_number on every event.
Spend rows for streamed /v1/responses requests are saved under the encrypted resp_ ID returned to the client.
Gemini resends once with a placeholder signature when another backend rejects a replayed thought signature.
Tool requests for grok-4-1, grok-4.3, and DeepSeek V4.1 are counted according to their hosts' billing behavior.
The endpoint now behaves as a true PATCH, with the UI sending only changed SSO fields.
Requests are pinned to the served deployment for prompt-caching affinity.
Requests from blocked or over-limit keys are refused before the body is read, preventing out-of-memory restarts on large requests.
Fixed budgets with long unit spellings like 1month, 7days or 2weeks resetting every midnight.
Fixed custom image handlers not receiving n, size, quality, response_format, user or mask.
Fixed the pass-through price check missing submits sent with /requests/.. or an encoded ? in the path.
Fixed ownership checks not matching alternate spellings of the same provider file ID, such as files%2F<id>.
Fixed Gemini batches created through /gemini logging $0 spend with model unknown.
Fixed SSO login redirecting to http:// behind TLS termination.
Fixed cached prompt tokens being billed at the full input rate when the response has no usage.cost.
Fixed 400 errors when sending reasoning_effort: "xhigh" to gemini-4-hydrogen.
Fixed the Spend Per User card on User Usage showing no users.
Fixed spend not resetting for users auto-joined to a default team or given default_team_member_models.
Fixed 500 errors on usage routes when the database drops during key, user, or team detail lookups.
Fixed streamed calls that fail before output so they retry the same model group.
An
api_baseending in/no longer adds//to the provider path and causes 404 errors.Client disconnects during body upload now abort with 499 instead of returning misleading errors.
Boolean settings are now stored as JSON booleans instead of text.
Request bodies sent with
zstdorgzipno longer cause 400Invalid JSONerrors.Empty or non-JSON 200 response bodies from Decisions providers no longer raise an unhandled validation error.
No longer rejects Gemini native tools that have no
typekey.No longer scans embeddings input.
The include_usage stream chunk now sends an empty choices array, matching OpenAI.
Aliases of Codex-known models now include that model's catalog entry.
Tool calls no longer fail with
No module named 'mcp'on base SDK installs.Editing an unrelated model no longer returns HTTP 500 when a model has saved access windows.
New model rows now apply on every worker as soon as they are written.
Values such as
24hare now sent upstream instead of being silently dropped.Adds support for Python 3.15.
The complete reasoning_effort dictionary is now sent when chat is bridged to Responses.
Guardrails selected in a WebSocket frame now run, and other guardrail settings no longer cause a 500.
Responses input token counts now match inference, fixing Claude counts with tools and text.format.
Shared-handler errors now report the appropriate error type instead of always reporting
internal_server_error.Native Anthropic responses now include a null stop_sequence when appropriate.
Long buffered streams no longer stall other requests on the same worker.
Headroom compression and retrieval now forward tenant-scoped session affinity to reach the same pod.
The endpoint now honors a deployment's own
supports_audio_inputandsupports_video_inputflags.Guardrail blocks on streamed requests now return Anthropic events.
Model listings for wildcard aliases over a provider org no longer show models that cannot be routed.
Partial wildcard health checks no longer probe models outside the wildcard.
Fixed azure_ai/model_router on a Foundry /openai/v1 base failing on /v1/responses and /v1/responses/compact.
Fixed one json_schema row failing every other row in a Vertex batch file.
Fixed a 400 Tool reference '<name>' not found error when a guardrail sees a tool name over 64 characters.
Fixed OpenAI models on /v1/messages continuing to stream upstream after the caller closes the stream.
LiteLLM's fake_stream param no longer reaches provider request bodies and causes 400 errors.
LiteLLM's own MCP params no longer reach provider request bodies and cause 400 errors.
Fixed SSO login detouring through this route and redirecting to http behind TLS termination.
Fixes versioned Claude max_tokens handling on Vertex AI.
The chat-to-Responses bridge handles cache_control breakpoints.
Azure Foundry project and resource Responses bases are supported.
Bedrock maps OpenAI vector store search filters.
Foundry Kimi K3 reasoning_content is kept.
LiteLLM sends reasoning_effort to Foundry Kimi K3.
Mixed reasoning and answers are preserved in Responses API handling.
Bedrock Converse supports s3:// media sources.
Fixed a sign-in loop ending in Authentication incomplete when servers answer mcp_all with detailed scopes.
Fixed 400 errors on /v1/decisions for azure/ deployments.
The listing now shows current Baseten Model APIs instead of retired deployment IDs.
Decisions calls on mixed model groups no longer hit a Bedrock deployment and return 400.
batchGenerateContent batches now log spend against the calling key instead of logging $0 with model unknown.
Bedrock no longer returns 400 when a previous_response_id chain contains a failed turn.
Baseten models no longer drop or reject reasoning_effort.
Bridged /v1/responses streaming events no longer have missing or repeated sequence numbers.
Streamed MCP follow-ups now retain multiple tool rounds, preventing models from repeating tool calls.
Gemini image-call billing for text and thinking, and Vertex Priority token billing, now use the correct rates.
Proxy budget resets are now idempotent.
Fixes to tool_choice handling were backported to this release.
Restores the per-user spend breakdown on the user aggregated route.
Fixed incorrect transcription cost for some FLAC files, which could push a key over its budget.
Fixed deployments using keyless workload identity answering 401 on image edits, audio, files, batches and other routes.
Fixed streams assigning index 0 to every parallel tool call, which caused clients to run only the first call.
Fixed the Messages API returning 400 for a parameter listed in the deployment's additional_drop_params.
Fixed AWS Bedrock 400 errors from GLM, GPT-6 Luna, and Nova 2 when conversations carry Claude's signed thinking.
Fixed completion(), responses(), and messages with tools failing with No module named 'mcp' on a base install.
Fixed requests to OpenAI sending background: true upstream, which could bill full runs that returned empty.
Fixed chatgpt/ models dropping encrypted reasoning between turns.
Fixed video polls failing with per-model keys or using the wrong provider account and returning a 404.
Fixed Vertex AI Claude batches failing with a 404 when created.
Fixed AWS Bedrock requests failing when api_base is an empty string.
Fixed tool results over 1 MiB failing with
SSE stream ended without a response.Model-level post_call guardrails now check each response once and call the moderation provider once.
Groups that accept unmatched tags no longer reject requests after affinity or cooldown filtering.
Base64 PDFs sent to Claude as image_url no longer fail with a 400.
Bedrock Invoke no longer drops this beta for Claude 4.5 and newer.
Spend rows are no longer dropped and valid keys no longer receive 401 responses while Postgres restarts or shuts down.
Prompt caching routing now pins follow-ups to one deployment when turn_off_message_logging is enabled.
Chat completions using response_format: json_object on OpenAI and Azure Responses deployments no longer fail with a 400 about the word json.
Bedrock Converse returns 400 for unsupported service tiers and honors reserved, auto and standard_only.
Bedrock JSON schema calls no longer drop thinking.
The compact Responses endpoint no longer returns 500 when a during_call guardrail is on by default.
Chirp text-to-speech now honors vertex_location so US and EU deployments call their multi-region host.
Team deployments are skipped when picking proxy-wide pass-through credentials.
Access-group responses now resolve resource names.
Uses annotation_cost_per_page to bill OCR annotation pages.
Mid-stream /v1/messages failures are logged as failures with partial usage.
Cohere embeddings now honor COHERE_API_BASE instead of always calling api.cohere.ai.
The componentized chart migrations Job can render affinity settings.
Custom image handlers now receive n, size, quality, and the other OpenAI image params.
Honors DATABASE_DISABLE_PREPARED_STATEMENTS in componentized entrypoints.
The default Vertex location is applied before building the passthrough base URL.
Omits encoding_format on OpenAI-compatible embedding calls when the client does not provide it.
Emulated file_search is scoped to the request's vector stores.
Parses form-encoded video edit and extension request bodies after authentication.
Honors pcm and wav response formats and rejects unsupported audio containers.
Honors global ssl_verify on the aiohttp_openai handler path.
Guardrail cost remains included in spend on cache hits.
Allows non-admin key_type preset transitions.
OpenCode models are synchronized from /v1/models.
Valid Messages and OCR requests with dict-subclass inputs no longer fail when LITELLM_RUST=true.
LiteLLM's own MCP and fake_stream params no longer reach provider request bodies and cause 400 errors.
Schem ed authentication_token values are normalized on the v2 and OpenAPI static paths.
The tool matrix shows indirectly granted and name-keyed MCP servers.
Supported GPT image parameters such as background are forwarded to OpenAI and Azure.
OpenRouter streams no longer send an empty choice after finish_reason: stop, avoiding failures in strict clients.
Normalizes agent card protocolBinding casing before matching the transport, so differently cased values are handled correctly.
Fixed proxy pods running out of memory when clients retry 429s with large request bodies.
Fixed 400 errors when sending reasoning_effort to DeepSeek V4 Flash and Pro on azure_ai.
Forwards reasoning_effort for unknown model aliases instead of failing closed.
Builds coordination Redis from REDIS_* environment variables unconditionally.
Preserves every value submitted for a repeated form key instead of dropping values.
Streamed thinking blocks now end with signature_delta so clients retain them for the next tool step.
Tolerates stream chunks that do not contain a choices key.
Vertex AI and Gemini no longer return 500 when earlier chat-history tool calls have null or truncated arguments.
The tile reads request totals from gateway request counts.
Returns persisted team memberships so first-time CLI login receives the default team.
Numeric multipart form fields are parsed back into numbers.
Fixed aborted AWS Bedrock Invoke streams continuing to generate billed output tokens upstream.
Fixed 500 errors when allowed_openai_params is a string or tuple.
Forwards the uploaded source file to the provider for video edits.
Decodes encoded file_id values in chat and Responses requests.
Gemini image edits are billed by tokens instead of at a flat per-image price.
Fixed spend going negative after a scheduled budget reset on multi-pod deployments.
Fixed Slack and GitHub MCP reconnects looping between the provider and the Connect page.
Fixed gpt-5.4 and gpt-5.5 function-tool calls without reasoning_effort being bridged to /v1/responses.
Fixed missing per-user data on this endpoint and the empty Spend Per User card in the Admin UI.
Fixed Google MCP servers asking users to sign in again when the access token expires.
Per-second transcriptions now bill the seconds reported by the provider instead of the measured length.
The proxy fix backports gzip scoping to the stable release.
The proxy fix backports off-loop compression to the stable release.
The proxy no longer sometimes exits on startup with an ImportError when it cannot reach the remote model cost map.
Fixes batch-cost, pricing, and translation issues.
Adds a Bedrock Mantle 404 fallback when counting tokens.
Fixes proxy spend and cost handling.
Team keys can retrieve, cancel, or download their own batches without receiving a 403.
Tool calls for gpt-5.4+ models no longer land on choices[1].
Run this script to fix vector stores created before this release.
Calling a bare tool name on this endpoint no longer returns Tool not found.
Signed thinking blocks and thinking.block_binding are no longer dropped on multi-turn Anthropic requests.
Fixes undercounting for PDFs, system prompts, and tools, and rejection of Google countTokens requests.
Metadata updates no longer return HTTP 400 because of keys the proxy added to the store.
Keeps tool_result next to tool_use when continuing with an Anthropic previous_response_id.
Marks background responses stale_expired when the provider returns 404.
Prices a base64 PDF document per page instead of as one image.
Saves file details for every batch output file so that files can be listed and retrieved.
Maps Scheduled batch jobs to in_progress when retrieving job status.
Tool schemas sent to Converse models have lookaround regex patterns removed when those models reject them.
Falls back to bedrock-mantle for Claude token counting when bedrock-runtime cannot count the model.
The bridge now honors request cache controls and preserves prompt cache reuse.
ClickHouse tracing storage configuration is unified.
The proxy exits when DATABASE_URL is set but the Prisma toolchain is missing.
CLI and Claude Code gateway sign-in can proceed on nodes where the admin UI is disabled.
Drops encrypted reasoning when a fallback target cannot decrypt it.
Bedrock model pricing includes cross-region rows for glm 5.3.
Keeps idle Responses websockets open until a configurable session limit.
Keeps include_fallback_errors off the provider call on the synchronous Router path.
Forwards the inline-tools beta to Vertex and Anthropic.
Mistral Large 4 (Le Chonk) is added to the supported model catalog.
nova 2.5 sonic is added to Bedrock model pricing.
The /openai_passthrough endpoint uses OpenAI workload identity federation tokens.
The Router now honors a per-request fallbacks list during a mid-stream fallback.
Accepts team-scoped models by their public name.
Missing required parameters, invalid pagination, and unknown IDs return 4xx instead of 500.
Preserves prompt cache breakpoints and maps input_audio blocks in the chat-to-Responses bridge.
Reads the supports_audio_output cost-map key when checking audio output support.
Resumes synchronous streaming fallbacks without retrying the primary deployment.
Unified guardrails now run on image edit requests.
Vector store file listings now return managed file IDs.
Realtime sessions now dial the multi-region Live API host.
The proxy's gzip scoping was fixed in the stable release.
Fixed image scans flagging brotli 1.2.0, the emSign ECC Root CA - G3 and unused lockfile packages.
Billing fixes for LIT-145 were backported to stable/1.105.x.
A Bedrock Mantle count_tokens fallback was backported to stable/1.105.x.
Per-user auth MCP tool listing was backported to stable/1.105.x.
Proxy fixes from #44243 and #44508 were backported to the stable 1.105.x release.
Keeps the served service_tier on streamed chunks and spend rows.
The card shows Failed to load when its request fails.
Fixed batch cost tracking, claude-haiku-5-5 and Bedrock profile pricing, and
safeguardsrequests on/v1/messages.Fixed Azure AI Foundry returning 400 when the client sends this beta.
Fixed
/v1/messagesstreams holding this event for minutes during adaptive thinking on Bedrock and Vertex.Fixed streamed requests through a model alias being billed at $0 instead of the deployment's price.
Fixed large non-streaming chat requests logging and charging spend twice.
Fixed incorrect or missing pricing for failed, timed-out, cancelled, and spilled-over requests.
Fixed DeepSeek and Qwen3.5 token counts that could be up to 30% low or twice too high on count endpoints.
Fixed timeouts while looking up names for busy hashed keys.
Fixed reports showing no owner for CLI session keys when spend logs are off or purged.
Fixed automatic prompt caching adding extra cache marks when
extra_bodyoverrides a client mark.Backports October 19 count_tokens fixes to stable/1.104.x.
Restores Google request compatibility on stable/1.104.x.
Restores legacy token count input precedence in the proxy.
Restores supported_decisions_providers on stable/1.104.x so Add Guardrail settings load.
Backports team-scoped batch model access to stable/1.104.x.
Replayed prefixes for preserved thinking remain byte-stable on chat completions.
Cached object permissions are invalidated when a key is updated.
The router now honors disable_fallbacks during mid-stream fallback.
Firerouter short names are routed correctly, and pass-through legs are billed at the routed model's rates.
Without this variable, V2 sends to the US cloud rather than the EU cloud used by the SDK callback; set it explicitly to avoid exporting to the wrong region.
xAI now accepts max_completion_tokens as a supported parameter.
MCP prompt and resource discovery now paginates results.
MCP tool results are preserved in the non-Anthropic Messages bridge.
Model listing endpoints now honor model_info.discoverable, allowing models to be hidden from listings.
Non-enum reasoning_effort values are forwarded through the Responses bridge instead of being dropped.
REST oauth_delegate tool calls now forward the caller's bearer token.
The responses-to-chat-completion bridge now forwards safety_identifier.
stream_chunk_size is no longer sent in provider request bodies; Bedrock Invoke streaming now honors it.
MCP tools/call no longer returns 404 on a worker that has not served tools/list.
Tag-object TPM limits are now enforced by the proxy.
The configured cache size is now applied to the key object partition.
The endpoint no longer calls the provider or blocks the event loop.
Startup is more reliable when several replicas boot against one database at the same time.
The otel callback now initializes with OpenTelemetry 1.44 and newer.
Spend tracking fixes were backported to the stable release line.
Fixes for responses were backported to the stable 1.103.x release.
Migrations and the migration sanity check stop building the hand-built SpendLogs indexes.
Stream chunks now retain the served model reported by message_start.
Image generation requests now send the resolved Entra ID token.
Secret synchronization now renames secrets when a key alias changes and handles body-less key regeneration.
Bedrock adds Invoke streaming pass-through for /v1/messages.
Bedrock and Anthropic Claude tools now honor eager_input_streaming.
Fixes FIPS startup checks on images whose default config keeps MD5 working by probing scrypt instead.
Gemini candidates with a finishReason and no content are now preserved.
An upstream 500 keeps internal_server_error as its public error type.
Each bulk key update now writes only the fields carried by that item.
Prompt caching now works on the Bedrock Nova InvokeModel route.
LiteLLM parameters are no longer included in provider request bodies.
Responses requests now translate the reasoning object into a chat-completion reasoning effort.
DashScope requests now forward reasoning_effort to the provider.
Native WebSocket response.create frames now merge in deployment litellm_params.
RAG forwards retrieval_filter from retrieval_config to vector store search.
Budget is re-checked on router fallback targets.
Bedrock file content downloads now carry through the configured S3 endpoint URL.
Bedrock file content downloads now carry through the configured S3 region name.
SCIM user PUT now accepts entitlements and roles entries without a value.
The release backports session conversation ID handling and JWT team header selection.
Sibling TPM and RPM counters are reset when their shared rate limit window rolls over.
SDK-native passthrough routes /v1/messages and /converse now honor stream_timeout.
Budget updates now apply to team members who still use the team default.
Team member spend is flushed through JSONB.
The release backports a text-completion usage fix.
Pass-through relays now preserve the caller's traceparent.
Pass-through relays now preserve the caller's tracestate.
The transcribe provider is now recognized when granting models.
Model metadata now resolves a model group alias to its target.
Backports fixes #42152 and #42288 for Anthropic to the stable 1.102.x release.
Routing falls back from an unhealthy auto-router tier.
The database SSL mode is carried into assembled writer and reader URLs.
The database SSL root certificate is carried into assembled writer and reader URLs.
Fine-tuned Gemini endpoints are supported in managed batches.
Mock responses report the admission-time input token count in usage, including on streaming mock responses.
OCR calls honor deployment custom pricing.
provider_specific_fields is no longer sent on the native Anthropic /v1/messages wire.
Vertex AI returns a 400 for invalid reasoning_effort values instead of a 500.
Tool previews refresh when connection settings are edited.
A wildcard license now grants auto_router.
Files and batches credential loading now forwards aws_external_id.
Known estimates over the remaining budget are now rejected when fail_closed_budget_enforcement is enabled.
Honors proxy environment variables when force_ipv4 uses the httpx transport.
Guardrail providers that implement only apply_guardrail now run in logging_only mode.
Container create and list requests are now routed through model_list deployments.
Backports the MongoDB sidecar to this release.
The Bedrock realtime API now surfaces Nova Sonic user transcripts, speech events, and usage.
Per-model budget counters are shared across replicas through the spend counter cache.
Applies guardrail updates to the serving worker immediately and rejects invalid configurations with 422.
Restores Python 3.10 compatibility so LiteLLM remains importable.
Resolves retry_policy by exception hierarchy and adds ServiceUnavailableErrorRetries and DefaultRetries.
Backports team admin callbacks to this release.
Backports tenant trace destinations to this release.
Bedrock unbuffered post_call scans now honor streaming buffer and sampling configuration.
The endpoint's content type now matches the returned audio format.
Returns Anthropic type:error envelopes for /v1/messages errors.
Resolves embedding credentials per request.
Mid-stream content_policy_violation now falls back to routing in stable/1.100.x.
Fixes the GPT-6 reasoning gate for Bedrock.
Retry breadcrumbs no longer retain every earlier request.
SCIM-created teams now receive default_team_params, including configured models.
Thinking blocks now round-trip to OpenAI backends through the Anthropic messages bridge.
The rolling Docker image tag now points at this release.
Azure AD and GCP IAM authentication is applied to every asynchronous Redis client path.
A completed batch is not retired from cost recovery while output_file_id is still lagging.
Generic OIDC user claims can be sourced from the ID or access token when UserInfo is incomplete.
Per-model budgets now track spend, enforce limits, and report using the same counter.
A failed Prisma generate no longer causes the migration entrypoint to fail.
Prompt caching is preserved for mid-conversation system messages on Claude models without the capability flag.
The bridge now preserves reasoning input items and signed thinking blocks.
AWS Bedrock batch cancellation is supported through StopModelInvocationJob.
Partial-stream spend rows are priced at the real model and retain prompt and cache fields.
The endpoint's four cleanup operations are now atomic.
The unresolvable-team fallback now resolves team object_permission independently.
Omits thinking.type=disabled for Claude models with always-on thinking.
WebSocket passthrough is registered for OpenAI prefixes, allowing those routes to use passthrough.
The 5m and 1h cache-write split is aggregated across iterations.
Regional geo uplift is applied to cached tokens.
Anthropic /v1/messages responses, including streaming responses, are cached.
Real Search document endpoints are recognized so teams can read and write through passthrough.
Managed-batch litellm_params are registered so they are not forwarded to the provider, and output buckets are resolved on every path that reads them.
Team and key creation now honor an explicitly null budget_duration; the UI dropdowns can be cleared.
Terminal batches with no output file are marked processed.
Cost estimates now include resolved provider and deployment pricing.
Streaming chunks expose provider usage, including prompt-cache counts.
The model price data now has the corrected DeepSeek V4 maximum output token value.
Guardrail-blocked responses report real token usage.
OpenAI and Azure return a 200 response marked length-truncated when the output budget fits no token.
Caller host and configured upstream headers are excluded from logged metadata.
A managed batch's cost is accounted for exactly once.
The aggregate MCP endpoint is served directly at bare /mcp instead of redirecting with 307.
Management reads retain OAuth endpoints entered by an admin.
Web search tool cost is tracked per call for OpenAI and Azure.
Blocked requests return the full PANW AIRS scan response, and allowed requests surface scan_id.
A PTU deployment no longer bills for grounded search.
Spend buffer transactions are requeued when the database commit fails.
Fireworks router slugs using the routers/ prefix are supported.
Spend logs are requeued when a database write fails with a transport error.
Tiered pricing supports cache creation cost and is applied all-or-nothing.
Images in tool_result content are made visible to OpenAI-compatible providers.
TPM limit calculations reserve the larger declared output budget.
A zero output rate no longer causes transcription cost to be zeroed.
Vertex AI translates batch rows to the Gemini embedding shape.
Anthropic model responses always include token limits, using null when a limit is unknown.
AI21 key resolution now uses the documented AI21_API_KEY environment variable.
Forwards allowed_openai_params through the Responses-to-chat-completions bridge.
The proxy sends keepalive pings during upstream silence on Anthropic messages SSE streams.
Azure Sentinel now respects AZURE_AUTHORITY_HOST and derives the Azure Monitor audience for each cloud.
Azure storage now honors AZURE_STORAGE_ENDPOINT_SUFFIX for sovereign clouds.
Passes the SSE-KMS key through when uploading batch input files to S3.
Chunks oversized Bedrock ApplyGuardrail requests instead of failing.
Normalizes batch records for /v1/completions and /v1/responses.
The Anthropic adapter no longer indexes choices[0] for streaming chunks that have no choices.
Rejected credential updates return the real status code instead of an inaccurate one.
The Cursor chat completions endpoint now works with Cursor agent mode.
Calling disable_logging now actually stops logging.
Resolves entity access groups in model listing endpoints.
Returns unified output file IDs from the batches endpoint.
Health probes that lose a planned engine-restart race no longer trigger alerts.
Jina AI key resolution now accepts the documented JINA_API_KEY as a fallback.
The content filter can now run on post_mcp_call.
Restores snippet text in native web_search_tool_result blocks.
Pass-through credentials are resolved live from router deployments.
Request-parameter checks are applied consistently across body, path, and form inputs.
Batch cost accounting now includes Responses API usage.
Key and team router_settings.model_group_alias values are now applied.
No-op toolSpec.strict is no longer forwarded to Bedrock Converse.
JWT authentication now backfills null user_email values on existing users and propagates user_email and api_key through attribution paths.
Improves HTTP 404 diagnostics for Headroom compression requests.
Client headers are now forwarded to the provider for Responses API requests.
Marks v2 server spans as failed for pre-call errors.
Surfaces the real error and status on Vertex AI batch creation instead of an IndexError 500.
Zscaler AI Guard now honors its configured timeout.
Config-defined A2A agents remain registered, and the documented agents: key is accepted.
Budgets are enforced only on routes that can spend.
Cost and usage are now calculated for completed Vertex AI batches.
Policies defined in configuration are preserved across database sync and exposed through list APIs.
Config-defined guardrails are served from list and info endpoints without a database, and their IDs are stable.
The fast service tier is now billed at the priority rate.
The key update endpoint can now identify a key by key_alias.
MCP discovery results are no longer written to the row; already-stamped rows are healed, and failed discovery retries with backoff.
Model writes are rejected if they would corrupt an auto-router pseudo-model, and the proxy reports when a write does not survive the post-write reload.
acompletion now honors an explicitly supplied priority=0.
A request-level num_retries value now takes precedence over a deployment's litellm_params value.
Documented in-stream Responses API error codes now map to real HTTP statuses.
The proxy skips team model aliases that point to deleted deployments.
The proxy no longer serves a stale team model allowlist after /team/update.
JWT teams are now allowed to use /v1/messages by default.
The managed-file read path now honors the per-model gcs_bucket_name.
Agent cards accept semantic-version protocolVersion values such as 0.3.0.
Anthropic requests receive injected cache_control only when they do not already carry one.
Failed atomic budget reservations are rejected when fail_closed_budget_enforcement is enabled.
Enforces global max_budget against the resettable proxy budget row so budget_duration is respected.
Uses a toolset row's stored tool name as written.
OpenAI cache_write_tokens are mapped for prompt cache creation billing.
Avoids a database outage during planned RDS IAM rotation.
Keeps one chat completion ID per stream and always streams completed responses.
Strips include_usage from stream_options instead of dropping the parameter.
Requests without messages return 400 instead of 500.
Malformed cost-map token limits are treated as absent rather than causing problems on the models endpoint.
Incrementally parses accumulated Gemini stream JSON to prevent a multi-value wedge.
Raw adaptive thinking is translated for pre-4.6 models on chat completions and Bedrock Converse.
The proxy derives the session ID from Anthropic metadata.user_id for session affinity.
The upstream model body field is no longer treated as a LiteLLM model on auth-enforced pass-through routes.
Persists DCR clients in a server-scoped store so refresh survives token expiry.
Discovered OAuth endpoints are persisted, the last known good values are retained after failed rediscovery, and missing scopes or token_url are discovered when authorization_url is set manually.
Team and key enable_tag_filtering settings are now applied during tag routing.
Excludes grounding tokens from input token billing for Vertex AI.
Corrects the Fireworks AI prompt-cache read price to $0.14/1M.
Langfuse OTLP exporters are built per request using dynamic key and team credentials.
The master key can now route to team-scoped models.
The Responses API clamps max_output_tokens below the API minimum.
Concurrency is now tracked as a per-slot gauge when enforcing max_parallel_requests.
Aggregate tools/list results include per-server outcomes, and single-server REST statuses are reported truthfully.
apply_guardrail-style model-level pre_call guardrails now run at the deployment hook.
Streaming usage cost is taken from the provider-reported cost for OpenRouter streams.
Spend for a partial streamed response is billed if the client disconnects mid-stream.
Enforces context-window pre-call checks for Responses API input.
Proxy YAML can resolve auto-router routing plugins from configuration, including dotted paths and plugins from installed packages.
Per-request routing_strategy values in key or team router_settings are now honored.
Resolves team wildcard credentials for vector store files.
LiteLLM self-heals when Bedrock or Vertex returns missing thinking-signature errors.
Unauthenticated pass-through requests are now tracked in spend logs.
Token limits are sourced from the cost map rather than Router.get_model_group_info; malformed configured limits are treated as absent.
RAG query requests now track LLM completion usage and spend.
Proxy request-handling fixes were backported in this release.
The route is classified as async to prevent duplicate success callbacks.
AWS authentication parameters in DB-sourced models now resolve os.environ/ references; the Bedrock realtime handler also honors AWS auth params.
Guardrail requests now send only messages added since the last assistant turn.
Non-SSE passthrough responses are streamed instead of buffered in memory.
Response-id encoding is now idempotent, preventing MCP-related issues.
The persisted toggle is reflected correctly when the UI loads, and its setting is honored for guardrail_information in spend logs.
The verbosity parameter is now forwarded to chat completion providers.
Recovers output tokens for interrupted Anthropic streams.
The Update API Key modal only rotates api_key.
The STS region is decoupled from Bedrock aws_region_name.
Resolves the Azure Sentinel audit stream from AZURE_SENTINEL_AUDIT_STREAM_NAME.
Normalizes the Messages system role and adaptive-thinking behavior.
Forwards strict and additionalProperties settings to the Bedrock Converse toolSpec.
Corrects health checks for Bedrock embeddings.
Pass-through requests preserve SigV4 headers and the signed request body.
Adds a SigV4 fallback for chat completions authentication.
Persists budget_duration for member budgets added through /team/member_add.
Persists the DCR client_id so interactive OAuth token refresh works.
Adds current Workers AI text-generation models to the cost map.
Cohere SageMaker endpoints now receive the native Cohere embedding payload.
Bedrock Cohere embeddings now send embedding_types as a JSON array rather than a string.
Syncs the chat completions endpoint with the full API surface.
Restores per-query billing for Gemini 3.x web search.
Preserves usageMetadata for cost tracking.
Uses GA event names for compatibility with Pipecat 1.3.x.
Fixes googleSearch, server-side tools, and googleMaps JSON schema handling.
Makes the Generic Guardrail resilient to built-in tools and errors.
Persists the global retry_policy through /config/update.
The proxy decodes bytes and passes through SSE for Google-native streamGenerateContent.
guardrail_response is serialized to JSON in OpenTelemetry traces.
Maps guardrailConfig to InvokeModel guardrail headers for Bedrock.
Passes the full imageConfig dictionary for Gemini image generation on Vertex AI.
The /v2/team/list response exposes keys_count.
Honors request_timeout as an independent per-attempt timeout in the router.
Persists oauth2_flow when registering an MCP server.
Forwards all multipart files when fields have repeated names.
Responses API streaming now uses OpenAI SSEDecoder.
Cache hits for the OpenAI Responses bridge are replayed as chat streams.
Budgets are enforced against authoritative database spend when the cross-pod counter is stale.
Prevents forcing SSLConnection when ssl=False in the connection pool.
Bedrock drops unmappable Responses tools instead of failing the request.
Passthrough requests now return 404 correctly when SERVER_ROOT_PATH is set.
Non-string service_tier values no longer silently drop cost tracking.
Surfaces a clean RateLimitError for a mid-stream 429 when there are no fallbacks.
Editing a model no longer corrupts its team BYOK model name.
Cancels an upstream LLM stream when the client disconnects during time-to-first-token.
Prevents a stale Vertex bearer token from causing a 401 after token expiry.
Restores wildcard expansion in model info responses.
Implements Veo video editing in Vertex AI video handlers, which use database credentials.
Strips output_config.effort for Vertex Claude models that reject it, including Haiku 4.5.
String embedding input is wrapped in an array for the WatsonX API.
Includes a Bedrock fix backported to the stable 1.91.x release.
Preserves web search usage in cost tracking.
Unsupported speed parameters are dropped when drop_params is enabled.
Recovers cost on interrupted and agentic Anthropic streams.
Sanitizes tool_use IDs on the native /v1/messages path.
Only expands AWS credential references sourced from configuration.
Honors api_base for VPC endpoint routing on Bedrock Mantle.
The CLI SSO device flow now returns verification_uri_complete.
OTel v2 now emits the six gen_ai.client.* metrics to match v1.
Makes policy-pipeline block responses match direct guardrail attachment responses.
Instruments during-call and post-call guardrail latency.
Challenges delegate-auth OAuth servers with upstream resource_metadata.
REST tool calls now honor server_id when multiple MCP servers share an upstream URL.
Resolves config-defined MCP servers in per-user credential and environment-variable endpoints.
Deleting an MCP server now removes orphaned per-user credential rows.
MCP tool configuration is loaded through the OBO- and passthrough-aware GET path.
Resolves toolset tools using the server's known prefix.
OTel v2 now accepts the uppercase snake-case environment variable.
Isolates pricing overrides from sibling deployments.
Serializes team budget_limits to JSON in jsonify_team_object.
Wraps the agentic loop response in a fake stream for streaming requests.
Bedrock forwards strict and additionalProperties to Converse toolSpec, enabling those tool schema settings to reach the provider.
The budget reset timestamp is recomputed when budget_duration changes through /budget/update.
The pre_call hook now runs once for model-level guardrails.
The responses bridge maps a chat request containing only a system message to a system input item.
Authentication now resolves managed video model IDs.
The model price map now includes mistral/ministral-8b-latest.
The use_chat_completions_api flag no longer leaks into the provider request body.
The Model Garden OpenAI-compatible path now uses a user-supplied api_base as-is.
Vector stores now support an engines URL for Vertex AI Search.
Budget fixes were backported to the stable 1.88.x release line.
DB-resilience fixes were backported to the stable 1.88.x release line.
Model-info fixes were backported to the stable 1.88.x release line.
A NetApp streaming-cost fix was backported to the stable 1.88.x release line.
Passthrough fixes were backported to the stable 1.88.x release line.
OTEL emits a guardrail span on violations and surfaces status and categories.
Streaming no longer drops text deltas and always emits terminal completion.
Omits function_call id on Vertex Gemini 3.5+ tool turns.
A non-root npm fix was cherry-picked into this release.
Bedrock Mantle requests now use the /anthropic/v1/messages path.
The poller now converts raw output_file_id values to managed IDs.
Environment-variable encryption on /config/update is now idempotent.
Input handling for CrowdStrike AIDR was improved.
PKCE bypass is now delegated for internal MCP servers.
Redirect URIs on the allowlist are now allowed.
BYOK models are now sorted by displayed name in the response.
The v3 limiter no longer leaks its internal stash into the provider body.
Vector store retrieve, list, update, and delete operations now work without a model.
Completed Vertex AI batch jobs no longer report zero cost or usage.
The Docker fix restores npm to the non_root builder.
Tool names are sanitized to match Anthropic's required [a-zA-Z0-9_-]{1,128} pattern.
cache_control is preserved when transforming Responses API requests to Chat Completion.
Vertex AI requests omit system_instruction, tools, and toolConfig when cachedContent is set.
Caller-supplied tags are always merged into request metadata.
Configuration updates write only the targeted sections and no longer depend on the store_model_in_db gate.
Responses API failures register cooldowns, and stale encrypted_content fails fast.
Gemini 3 thinking now follows provider defaults.
Health checks return 503 when the targeted model is unhealthy or the database is disconnected.
The public readiness endpoint now exposes database status.
The remaining-tokens metric is now emitted for Bedrock and Vertex.
Supported model parameters now match proxy model information, helping callers see consistent parameter support.
Fixes the metrics endpoint hanging when authentication is required and succeeds.
Fallbacks are triggered when an httpx.TimeoutException occurs mid-stream.
Adds /openai/v1/realtime to the routes used for logging.
OpenAPI MCP tools now forward extra_headers.
The openrouter/ prefix is stripped from model names.
Bugs in OpenTelemetry tracing for the proxy integration are fixed.
Anthropic and Bedrock omit thinking and output_config when reasoning_effort is none; reasoning effort is forwarded across Anthropic, Bedrock, and Vertex, with invalid values returning 400.
Redis Sentinel client handling is fixed to resolve an authentication error.
response_schema is normalized for native Gemini generateContent requests.
Fixes SCIM user lookup filters.
Lazy-loaded features no longer return 404 when SERVER_ROOT_PATH is set.
Empty Bedrock Converse thinking blocks no longer receive a blank-text fallback.
thinking_blocks are stripped from chat messages before calls to the Fireworks API.
Upstream 401 responses are surfaced for token-forwarding MCP servers.
Backports a CrowdStrike AIDR identity fix.
Backports CrowdStrike AIDR metadata capture.
Corrects pricing for GPT-5.5 Pro.
Backfills streaming response cost in logging.
Fixes non-streaming Anthropic requests that use json response_format with user tools.
Preserves prompt token details through an embedding cache round-trip.
Fixes the Azure AI fine-tuning API.
Includes system messages and tools in token-counting API requests.
Resolves api_base from the environment variable for Azure AI Document Intelligence OCR.
Uses FEATHERLESS_AI_API_KEY as the API key environment variable.
Preserves $ref in JSON Schema sent to Gemini 2.0+ models.
Passes native Gemini imageConfig parameters through for image generation.
Passes model information and metadata through image_edit so custom pricing is applied.
Forwards extra_headers on the OpenAI image-generation code path.
Fixes MCP streaming events and makes response IDs consistent.
Adds video_tokens to completion_tokens_details.
Registers OpenRouter as a native Responses API provider.
Enables function calling for PublicAI Apertus models.
Maps reasoning_effort to output_config for Claude 4.6 models.
Corrects the supported parameter list for the GPT-5 model family.
Moves duration to hidden parameters to match the OpenAI response specification.
Fixes the converse Anthropic usage object to follow the v1/messages specs.
Fixes unsupported parameters for ChatGPT Codex.
Handles a missing DATABASE_URL in append_query_params.
Fixes OCI Grok output pricing.
Uses None instead of Reasoning() for the reasoning parameter.
Fixes SSO PKCE support in multi-pod Kubernetes deployments.
Excludes tool parameters for models without function calling support.
Preserves key_alias and team_id metadata in aggregated daily activity after key deletion or regeneration.
Fixes the virtual key grace period from environment variables and the UI.
Clarifies this environment variable as a boolean flag that drops unsupported provider parameters, including its accepted values, precedence, and interaction with Claude Code and Codex requests.
Documents that enabling the flag lets LiteLLM modify requests to satisfy provider requirements, including sanitizing messages, lowering token limits, and adjusting Gemini cached-content requests.