Skip to content

feat(proxy): proactive model deprecation alerts and /model/deprecations endpoint - #26900

Merged
mateo-berri merged 17 commits into
litellm_internal_stagingfrom
litellm_model-deprecation-alerts-55bc
Aug 18, 2026
Merged

mateo-berri merged 17 commits into
litellm_internal_stagingfrom
litellm_model-deprecation-alerts-55bc

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Apr 30, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • Provider sunset dates ship in the registry but stay invisible
  • Operators find out a model died when calls fail
  • No lead time to test and migrate replacements

How it solves it:

  • New GET /model/deprecations buckets configured models by urgency
  • Daily Slack alert lists deprecated and imminent models, once a day per fleet via a redis lock and shared sent stamp
  • Admin UI alert settings label the new alert type; a failing pass backs off a day
  • Per deployment model_info.deprecation_date overrides the registry

User Flow

Before: a proxy admin running a fleet of deployments has no way to see which of them a provider is about to sunset

  1. They hit GET http://localhost:4000/model/info with the master key and read back pricing, context windows, and modes
  2. The payload carries no provider sunset dates, only whatever they typed into model_info themselves, so they keep routing traffic to a dying model
  3. The provider retires it and their app starts getting hard failures on POST http://localhost:4000/v1/chat/completions with no prior warning

After: the same admin gets the sunset dates up front, and Slack nags them daily while there is still time to migrate

  1. They hit GET http://localhost:4000/model/deprecations with the master key
  2. They get back three lists, deprecated, imminent, and upcoming, each entry naming the model as they configured it, the date, days remaining, and the provider
  3. They re-bucket without touching config by hitting GET http://localhost:4000/v1/model/deprecations?warn_within_days=90, which pulls anything sunsetting inside 90 days into imminent
  4. With Slack alerting turned on they also get a daily message titled "Model Deprecation Warning" listing the deprecated and imminent models, at High severity once any date has passed, and one message a day even when the proxy runs as several replicas sharing redis
  5. For a model whose sunset date is not in the registry yet, they set deprecation_date under model_info on that deployment and it shows up in the same lists

Relevant issues

Linear ticket

Resolves LIT-2701

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • My PR passes all CI/CD checks (e.g., lint, format, unit tests)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have received a Greptile Confidence Score of at least 4/5 before requesting a maintainer review (Greptile reviews automatically once the PR is opened; only comment @greptileai to re-request a review after pushing changes)

Delays in PR merge?

If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).

Screenshots / Proof of Fix

Every case below was run against a live proxy at the named commit, both halves loading the same config with five deployments: claude-opus-4-1 (registry date already passed), gemini/imagen-4.0-generate-001 (registry date passed the day of the run), openai/sora-2 (37 days out), an Azure deployment whose base_model carries no date, and internal-legacy with a hand set model_info.deprecation_date. The After proxy also picks up three Azure deployments stored in the dev database, all dated 2028, which is why upcoming lists more than the config. The Slack alert cases point SLACK_WEBHOOK_URL at a tiny local HTTP sink (python3 sink.py 41735 sink.log) that logs every POST with a timestamp, and the redis cases share one local redis-server --port 41738 through litellm_settings.cache_params

Before (909a2e6)

GET /model/deprecations

  1. curl -s -o /dev/null -w "%{http_code}\n" "http://localhost:41739/model/deprecations" -H "Authorization: Bearer sk-1234"
  2. 404, the route does not exist

Re-bucket with warn_within_days=90, no restart

  1. curl -s -o /dev/null -w "%{http_code}\n" "http://localhost:41739/v1/model/deprecations?warn_within_days=90" -H "Authorization: Bearer sk-1234"
  2. 404

Auth enforced like the other model management routes

  1. curl -s -o /dev/null -w "%{http_code}\n" "http://localhost:41739/model/deprecations"
  2. 404, no route to protect

Boot-time Slack alert reaches the webhook

  1. SLACK_WEBHOOK_URL=http://127.0.0.1:41735/webhook litellm --config qa_deprecation_config.yaml --port 41739 &, then wait for /health/liveliness
  2. sleep 45; cat sink.log prints nothing: no deprecation alert exists, so a fleet running two already deprecated models hears nothing

Multi replica fleet sends one alert

  1. Same as above with two pods on shared redis
  2. sink.log stays empty

Restart within a day stays quiet

  1. Restart one pod
  2. sink.log stays empty

A pod with nothing to report leaves the daily lock free

  1. Boot a pod whose models carry no sunset date, then a pod whose models do
  2. sink.log stays empty

No webhook configured logs once a day

  1. Boot the same config with alerting: ["slack"] and no SLACK_WEBHOOK_URL (port 41739), wait for /health/liveliness (18:07:06), then sleep 75
  2. grep -c "Error in model deprecation alert loop" pod.log prints 0 and grep -c deprecation pod.log prints 0: nothing checks sunset dates, so nothing complains either

After (7017df5)

GET /model/deprecations

  1. curl -s -X GET "http://localhost:41733/model/deprecations" -H "Authorization: Bearer sk-1234"
  2. Output, with internal-legacy taking its date from model_info.deprecation_date on the deployment because the registry has none for openai/gpt-4o, and the dateless Azure config deployment correctly absent
{
    "deprecated": [
        {
            "model_name": "opus-4-1",
            "litellm_model": "claude-opus-4-1",
            "deprecation_date": "2026-08-05",
            "days_until_deprecation": -13,
            "status": "deprecated",
            "litellm_provider": "anthropic"
        },
        {
            "model_name": "imagen-4",
            "litellm_model": "gemini/imagen-4.0-generate-001",
            "deprecation_date": "2026-08-17",
            "days_until_deprecation": -1,
            "status": "deprecated",
            "litellm_provider": "gemini"
        }
    ],
    "imminent": [
        {
            "model_name": "internal-legacy",
            "litellm_model": "openai/gpt-4o",
            "deprecation_date": "2026-08-20",
            "days_until_deprecation": 2,
            "status": "imminent",
            "litellm_provider": null
        }
    ],
    "upcoming": [
        {
            "model_name": "sora-2",
            "litellm_model": "openai/sora-2",
            "deprecation_date": "2026-09-24",
            "days_until_deprecation": 37,
            "status": "upcoming",
            "litellm_provider": "openai"
        },
        {
            "model_name": "gpt-5-6-luna-azure-openai",
            "litellm_model": "azure/gpt-5.6-luna",
            "deprecation_date": "2028-01-11",
            "days_until_deprecation": 511,
            "status": "upcoming",
            "litellm_provider": "azure"
        },
        {
            "model_name": "gpt-5-6-sol-azure-openai",
            "litellm_model": "azure/gpt-5.6-sol",
            "deprecation_date": "2028-01-11",
            "days_until_deprecation": 511,
            "status": "upcoming",
            "litellm_provider": "azure"
        },
        {
            "model_name": "gpt-5-6-terra-azure-openai",
            "litellm_model": "azure/gpt-5.6-terra",
            "deprecation_date": "2028-01-11",
            "days_until_deprecation": 511,
            "status": "upcoming",
            "litellm_provider": "azure"
        }
    ],
    "warn_within_days": 30,
    "checked_at": "2026-08-18T01:06:07.407468Z"
}

Re-bucket with warn_within_days=90, no restart

  1. curl -s "http://localhost:41733/v1/model/deprecations?warn_within_days=90" -H "Authorization: Bearer sk-1234"
  2. sora-2 moves from upcoming into imminent (model names only, for brevity)
{"deprecated": ["opus-4-1", "imagen-4"], "imminent": ["internal-legacy", "sora-2"], "upcoming": ["gpt-5-6-luna-azure-openai", "gpt-5-6-sol-azure-openai", "gpt-5-6-terra-azure-openai"], "warn_within_days": 90, "checked_at": "2026-08-18T01:06:07.465843Z"}

Auth enforced like the other model management routes

  1. curl -s -o /dev/null -w "%{http_code}\n" "http://localhost:41733/model/deprecations"
  2. 401

Boot-time Slack alert reaches the webhook

  1. SLACK_WEBHOOK_URL=http://127.0.0.1:41735/webhook litellm --config qa_deprecation_config.yaml --port 41733 &
  2. until curl -s -o /dev/null http://127.0.0.1:41733/health/liveliness; do sleep 2; done; date +%H:%M:%S prints 18:05:59
  3. cat sink.log shows the alert 2 seconds after the proxy reported healthy
2026-08-17T18:06:01 POST /webhook {"text": "Alert type: `model_deprecation_warnings`\nLevel: `High`\nTimestamp: `18:05:56`\n\nMessage: *Model Deprecation Warning*\n\n*Already deprecated:*\n• `opus-4-1` (provider: anthropic, deprecates 2026-08-05, already deprecated 13d ago)\n• `imagen-4` (provider: gemini, deprecates 2026-08-17, already deprecated 1d ago)\n\n*Deprecating within 30 days:*\n• `internal-legacy` ...

Multi replica fleet sends one alert

  1. redis-cli -p 41738 flushall; : > sink.log, then boot two pods on qa_deprecation_config_redis.yaml (ports 41736 and 41737) and wait for both /health/liveliness; date prints 17:58:20
  2. sleep 10; cut -c1-120 sink.log shows exactly one alert
2026-08-17T17:58:24 POST /webhook {"text": "Alert type: `model_deprecation_warnings`\nLevel: `High`\nTimestamp: `17:58:1
  1. redis-cli -p 41738 --scan plus ttl shows the daily lock and the shared sent stamp, both a day long
model_deprecation_alert_sent ttl=86389 value=1787014699.57098
cronjob_lock:slack_model_deprecation_warning ttl=86389 value="19c98929-9873-4f68-9cf7-0cb91b6d0ea3"

Restart within a day stays quiet

  1. pkill -f "port 41737", boot it again on the same redis, wait for /health/liveliness (17:58:48), then sleep 45
  2. cut -c1-120 sink.log still shows only the 17:58:24 deprecation alert (plus an unrelated spend_reports alert): the restarted pod sees the sent stamp and never asks redis for the lock

A pod with nothing to report leaves the daily lock free

  1. Stop both pods, redis-cli -p 41738 flushall; : > sink.log, boot a pod on qa_empty_config_redis.yaml (one undated openai/gpt-4o, port 41737), wait for /health/liveliness (17:59:58), then sleep 40 so at least two passes ran
  2. redis-cli -p 41738 --scan | grep -ci "cronjob_lock\|deprecation" prints 0, and sink.log is empty: an empty pass claims nothing
  3. Boot a pod on qa_deprecation_config_redis.yaml (port 41736) against the same redis; /health/liveliness at 18:00:54
  4. sleep 10; cut -c1-160 sink.log shows the alert seconds later instead of a day later, and redis now holds the lock and stamp
2026-08-17T18:00:58 POST /webhook {"text": "Alert type: `model_deprecation_warnings`\nLevel: `High`\nTimestamp: `18:00:53`\n\nMessage: *Model Depre
model_deprecation_alert_sent ttl=86389
cronjob_lock:slack_model_deprecation_warning ttl=86389

No webhook configured logs once a day

  1. Boot the same config with alerting: ["slack"] and no SLACK_WEBHOOK_URL (port 41733), wait for /health/liveliness (18:01:25), then sleep 75 so three polls would have run
  2. grep -c "Error in model deprecation alert loop" pod.log prints 1, and the loop backs off a full day instead of logging every 30 seconds
18:01:22 - LiteLLM Proxy:ERROR: slack_alerting.py:1150 - Error in model deprecation alert loop: Missing SLACK_WEBHOOK_URL from environment

Type

🆕 New Feature

Caveats (if any)

  • Coverage is only as good as the registry dates
  • Slack alert fires daily, enabled by default with alerting on
  • Deployments sharing a model group and date report once
  • Alert loop re-reads router and alert types every pass
  • Loop polls every 30 seconds; the sent stamp keeps passes idle for a day
  • Lock is claimed only when there is something to report
  • Without redis every pod alerts, same as the daily report
  • Without redis a restart re-alerts; with redis the sent stamp holds a day
  • A pass that raises (missing webhook) logs once and backs off a day
  • Docs for the new alert type and route land in the docs repo separately
  • An Azure deployment named like an OpenAI model inherits that OpenAI date when the registry has no Azure date; set base_model or model_info.deprecation_date to pin it
  • A webhook delivery that fails still consumes the daily window, like every batched Slack alert
  • Slack proof lands on a local webhook sink; the shared send path itself is unchanged

Final Attestation

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR

Link to Devin session: https://app.devin.ai/sessions/680cda1b74c34159899de6c6ae064ef6
Requested by: @mateo-berri


Note

Cursor Bugbot is generating a summary for commit 4e7e2f5. Configure here.

Link to Devin session: https://app.devin.ai/sessions/9ac267a1b87043189b066e7a44373a8e

@CLAassistant

CLAassistant commented Apr 30, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ mateo-berri
❌ cursoragent
You have signed the CLA already but the status is still pending? Let us recheck it.

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: datetime subclass of date causes arithmetic TypeError
    • Added an explicit isinstance(raw_value, datetime) check before the date check in _parse_deprecation_date to convert datetime values via .date() so downstream dep_date - today arithmetic stays consistent.
Preview (dd3282fdbb)
diff --git a/litellm/integrations/SlackAlerting/slack_alerting.py b/litellm/integrations/SlackAlerting/slack_alerting.py
--- a/litellm/integrations/SlackAlerting/slack_alerting.py
+++ b/litellm/integrations/SlackAlerting/slack_alerting.py
@@ -1150,6 +1150,81 @@
     async def model_removed_alert(self, model_name: str):
         pass
 
+    async def send_model_deprecation_alert(
+        self, llm_router: Optional[Any] = None
+    ) -> bool:
+        """Aggregate deprecation metadata for the configured models and alert.
+
+        Returns ``True`` when an alert payload was dispatched, ``False``
+        otherwise. The ``send_alert`` helper itself is responsible for honoring
+        the user's webhook configuration; this method only owns producing the
+        message and choosing whether to send it.
+        """
+        if (
+            self.alerting is None
+            or AlertType.model_deprecation_warnings not in self.alert_types
+        ):
+            return False
+
+        from litellm.proxy.common_utils.model_deprecation import (
+            collect_model_deprecations,
+            format_deprecation_alert_message,
+        )
+
+        try:
+            snapshot = collect_model_deprecations(llm_router=llm_router)
+        except Exception as e:
+            verbose_proxy_logger.exception(
+                "Error collecting model deprecation snapshot: %s", e
+            )
+            return False
+
+        message = format_deprecation_alert_message(snapshot)
+        if message is None:
+            return False
+
+        level: Literal["Low", "Medium", "High"] = (
+            "High" if snapshot.deprecated else "Medium"
+        )
+
+        await self.send_alert(
+            message=message,
+            level=level,
+            alert_type=AlertType.model_deprecation_warnings,
+            alerting_metadata={
+                "deprecated_count": len(snapshot.deprecated),
+                "imminent_count": len(snapshot.imminent),
+                "upcoming_count": len(snapshot.upcoming),
+            },
+        )
+        return True
+
+    async def _run_scheduled_deprecation_check(self, llm_router: Optional[Any] = None):
+        """Periodic background task that emits a model deprecation alert.
+
+        Runs immediately on startup (so operators see the current state in
+        Slack) and then sleeps ``DEFAULT_DEPRECATION_CHECK_INTERVAL_SECONDS``
+        between runs. Exits silently if the alert type is not enabled.
+        """
+        from litellm.types.proxy.model_deprecation import (
+            DEFAULT_DEPRECATION_CHECK_INTERVAL_SECONDS,
+        )
+
+        if (
+            self.alerting is None
+            or AlertType.model_deprecation_warnings not in self.alert_types
+        ):
+            return
+
+        while True:
+            try:
+                await self.send_model_deprecation_alert(llm_router=llm_router)
+            except Exception as e:
+                verbose_proxy_logger.exception(
+                    "Error in model deprecation alert loop: %s", e
+                )
+            await asyncio.sleep(DEFAULT_DEPRECATION_CHECK_INTERVAL_SECONDS)
+
     async def send_webhook_alert(self, webhook_event: WebhookEvent) -> bool:
         """
         Sends structured alert to webhook, if set.

diff --git a/litellm/proxy/common_utils/model_deprecation.py b/litellm/proxy/common_utils/model_deprecation.py
new file mode 100644
--- /dev/null
+++ b/litellm/proxy/common_utils/model_deprecation.py
@@ -1,0 +1,249 @@
+"""Helpers for surfacing model deprecation/sunset information.
+
+This module reads ``deprecation_date`` metadata that is bundled in
+``model_prices_and_context_window.json`` (exposed at runtime via
+``litellm.model_cost``) and classifies the proxy's configured models into
+``upcoming``, ``imminent`` and ``deprecated`` buckets. It is the single
+source of truth used by both the ``/model/deprecations`` endpoint and the
+proactive Slack alert.
+
+Resolution order for a deployment's deprecation date:
+
+1. ``model_info.deprecation_date`` – an explicit override on the deployment.
+2. ``model_info.base_model`` looked up in ``litellm.model_cost``.
+3. The ``litellm_params.model`` string looked up in ``litellm.model_cost``.
+
+Models without any deprecation metadata are skipped silently (most models
+are not deprecated, and we don't want to pollute the response).
+"""
+
+from __future__ import annotations
+
+from datetime import date, datetime, timezone
+from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple
+
+import litellm
+from litellm._logging import verbose_logger
+from litellm.types.proxy.model_deprecation import (
+    DEFAULT_DEPRECATION_WARN_DAYS,
+    ModelDeprecationInfo,
+    ModelDeprecationResponse,
+)
+
+if TYPE_CHECKING:
+    from litellm.router import Router as _Router
+
+    Router = _Router
+else:
+    Router = Any
+
+
+def _parse_deprecation_date(raw_value: Any) -> Optional[date]:
+    """Parse a ``deprecation_date`` string in YYYY-MM-DD form.
+
+    Returns ``None`` for missing, malformed, or sentinel placeholder values
+    (the JSON map ships a documentation sentinel of the form ``"date when..."``).
+    """
+    if raw_value is None:
+        return None
+    if isinstance(raw_value, datetime):
+        return raw_value.date()
+    if isinstance(raw_value, date):
+        return raw_value
+    if not isinstance(raw_value, str):
+        return None
+    try:
+        return datetime.strptime(raw_value.strip(), "%Y-%m-%d").date()
+    except ValueError:
+        return None
+
+
+def _lookup_deprecation_date_from_cost_map(
+    model_key: Optional[str],
+) -> Tuple[Optional[date], Optional[str]]:
+    """Look up a deprecation date in ``litellm.model_cost`` for ``model_key``.
+
+    Returns a tuple of (deprecation_date, litellm_provider).
+    """
+    if not model_key:
+        return None, None
+    entry = litellm.model_cost.get(model_key)
+    if not isinstance(entry, dict):
+        return None, None
+    return (
+        _parse_deprecation_date(entry.get("deprecation_date")),
+        entry.get("litellm_provider"),
+    )
+
+
+def _resolve_deployment_deprecation(
+    deployment: Dict[str, Any],
+) -> Tuple[Optional[date], Optional[str], Optional[str]]:
+    """Resolve a deployment's deprecation metadata.
+
+    Returns a tuple of (deprecation_date, litellm_model, litellm_provider).
+    """
+    model_info = deployment.get("model_info") or {}
+    explicit = _parse_deprecation_date(model_info.get("deprecation_date"))
+    if explicit is not None:
+        litellm_params = deployment.get("litellm_params") or {}
+        return (
+            explicit,
+            litellm_params.get("model"),
+            model_info.get("litellm_provider"),
+        )
+
+    base_model = model_info.get("base_model")
+    dep_date, provider = _lookup_deprecation_date_from_cost_map(base_model)
+    if dep_date is not None:
+        return dep_date, base_model, provider
+
+    litellm_params = deployment.get("litellm_params") or {}
+    raw_model = litellm_params.get("model")
+    dep_date, provider = _lookup_deprecation_date_from_cost_map(raw_model)
+    if dep_date is not None:
+        return dep_date, raw_model, provider
+
+    if isinstance(raw_model, str) and "/" in raw_model:
+        # Try the un-prefixed lookup (e.g. "openai/gpt-4o" → "gpt-4o").
+        bare = raw_model.split("/", 1)[1]
+        dep_date, provider = _lookup_deprecation_date_from_cost_map(bare)
+        if dep_date is not None:
+            return dep_date, bare, provider
+
+    return None, raw_model, model_info.get("litellm_provider")
+
+
+def _classify(days_until: int, warn_within_days: int) -> str:
+    if days_until < 0:
+        return "deprecated"
+    if days_until <= warn_within_days:
+        return "imminent"
+    return "upcoming"
+
+
+def _model_dump_compat(deployment: Any) -> Dict[str, Any]:
+    """Return a plain dict for both pydantic models and dicts."""
+    if isinstance(deployment, dict):
+        return deployment
+    if hasattr(deployment, "model_dump"):
+        return deployment.model_dump(exclude_none=True)
+    if hasattr(deployment, "dict"):
+        return deployment.dict()
+    return dict(deployment)
+
+
+def collect_model_deprecations(
+    llm_router: Optional[Router],
+    warn_within_days: int = DEFAULT_DEPRECATION_WARN_DAYS,
+    today: Optional[date] = None,
+) -> ModelDeprecationResponse:
+    """Aggregate deprecation info for all deployments configured on the router.
+
+    De-duplicates by ``(model_name, deprecation_date)`` so multi-deployment
+    model groups (load-balanced across regions) only surface once per
+    deprecation date.
+    """
+    snapshot_time = datetime.now(timezone.utc)
+    today = today or snapshot_time.date()
+
+    response = ModelDeprecationResponse(
+        warn_within_days=warn_within_days,
+        checked_at=snapshot_time,
+    )
+
+    if llm_router is None:
+        return response
+
+    seen: set = set()
+    deployments = llm_router.get_model_list() or []
+    for deployment in deployments:
+        deployment_dict = _model_dump_compat(deployment)
+        model_name = deployment_dict.get("model_name")
+        if not model_name:
+            continue
+
+        dep_date, litellm_model, provider = _resolve_deployment_deprecation(
+            deployment_dict
+        )
+        if dep_date is None:
+            continue
+
+        dedup_key = (model_name, dep_date.isoformat())
+        if dedup_key in seen:
+            continue
+        seen.add(dedup_key)
+
+        days_until = (dep_date - today).days
+        status = _classify(days_until, warn_within_days)
+
+        info = ModelDeprecationInfo(
+            model_name=model_name,
+            litellm_model=litellm_model,
+            deprecation_date=dep_date,
+            days_until_deprecation=days_until,
+            status=status,
+            litellm_provider=provider,
+        )
+
+        if status == "deprecated":
+            response.deprecated.append(info)
+        elif status == "imminent":
+            response.imminent.append(info)
+        else:
+            response.upcoming.append(info)
+
+    response.deprecated.sort(key=lambda m: m.deprecation_date)
+    response.imminent.sort(key=lambda m: m.deprecation_date)
+    response.upcoming.sort(key=lambda m: m.deprecation_date)
+
+    verbose_logger.debug(
+        "model_deprecation: deprecated=%d imminent=%d upcoming=%d",
+        len(response.deprecated),
+        len(response.imminent),
+        len(response.upcoming),
+    )
+
+    return response
+
+
+def format_deprecation_alert_message(
+    snapshot: ModelDeprecationResponse,
+) -> Optional[str]:
+    """Format a Slack-friendly alert message for the warning buckets.
+
+    Only ``deprecated`` and ``imminent`` models are included; ``upcoming``
+    models are intentionally omitted to avoid alert fatigue. Returns
+    ``None`` when there is nothing to alert on.
+    """
+    if not snapshot.deprecated and not snapshot.imminent:
+        return None
+
+    lines: List[str] = ["*⚠️ Model Deprecation Warning*"]
+
+    def _format_entry(info: ModelDeprecationInfo) -> str:
+        suffix = (
+            f"already deprecated {abs(info.days_until_deprecation)}d ago"
+            if info.days_until_deprecation < 0
+            else f"in {info.days_until_deprecation}d"
+        )
+        return (
+            f"• `{info.model_name}` "
+            f"(provider: {info.litellm_provider or 'unknown'}, "
+            f"deprecates {info.deprecation_date.isoformat()} – {suffix})"
+        )
+
+    if snapshot.deprecated:
+        lines.append("\n*Already deprecated:*")
+        lines.extend(_format_entry(i) for i in snapshot.deprecated)
+
+    if snapshot.imminent:
+        lines.append(f"\n*Deprecating within {snapshot.warn_within_days} days:*")
+        lines.extend(_format_entry(i) for i in snapshot.imminent)
+
+    lines.append(
+        "\nPlan migrations to a supported model. See "
+        "https://docs.litellm.ai/docs/proxy/model_management for guidance."
+    )
+
+    return "\n".join(lines)

diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@ -313,6 +313,7 @@
     get_config_file_contents_from_gcs,
     get_file_contents_from_s3,
 )
+from litellm.proxy.common_utils.model_deprecation import collect_model_deprecations
 from litellm.proxy.common_utils.openai_endpoint_utils import (
     remove_sensitive_info_from_deployment,
 )
@@ -552,6 +553,10 @@
 from litellm.types.proxy.management_endpoints.model_management_endpoints import (
     ModelGroupInfoProxy,
 )
+from litellm.types.proxy.model_deprecation import (
+    DEFAULT_DEPRECATION_WARN_DAYS,
+    ModelDeprecationResponse,
+)
 from litellm.types.proxy.management_endpoints.ui_sso import (
     DefaultTeamSSOParams,
     LiteLLM_UpperboundKeyGenerateParams,
@@ -11215,6 +11220,52 @@
     return {"data": all_models}
 
 
+@router.get(
+    "/model/deprecations",
+    tags=["model management"],
+    dependencies=[Depends(user_api_key_auth)],
+    response_model=ModelDeprecationResponse,
+)
+@router.get(
+    "/v1/model/deprecations",
+    tags=["model management"],
+    dependencies=[Depends(user_api_key_auth)],
+    response_model=ModelDeprecationResponse,
+)
+async def model_deprecations(
+    user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),
+    warn_within_days: int = DEFAULT_DEPRECATION_WARN_DAYS,
+) -> ModelDeprecationResponse:
+    """List models with known deprecation/sunset dates, bucketed by urgency.
+
+    Reads `deprecation_date` metadata from `model_prices_and_context_window.json`
+    (and any per-deployment `model_info.deprecation_date` overrides) for the
+    models configured on this proxy.
+
+    Parameters:
+        warn_within_days: Window (in days) used to bucket "imminent" models.
+            Defaults to `LITELLM_MODEL_DEPRECATION_WARN_DAYS` env var (or 30).
+
+    Returns:
+        A payload with three lists of `ModelDeprecationInfo` entries:
+
+        - `deprecated`: deprecation date is in the past — these requests may
+          fail at any time.
+        - `imminent`: deprecation date is within `warn_within_days` from today.
+        - `upcoming`: deprecation date is further out.
+
+    Example:
+    ```shell
+    curl -X GET 'http://localhost:4000/model/deprecations' \\
+        -H 'Authorization: Bearer sk-1234'
+    ```
+    """
+    global llm_router
+    return collect_model_deprecations(
+        llm_router=llm_router, warn_within_days=warn_within_days
+    )
+
+
 def _get_model_group_info(
     llm_router: Router, all_models_str: List[str], model_group: Optional[str]
 ) -> List[ModelGroupInfoProxy]:

diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py
--- a/litellm/proxy/utils.py
+++ b/litellm/proxy/utils.py
@@ -379,6 +379,7 @@
         # Guard flags to prevent duplicate background tasks
         self.daily_report_started: bool = False
         self.hanging_requests_check_started: bool = False
+        self.deprecation_check_started: bool = False
 
     def startup_event(
         self,
@@ -421,6 +422,19 @@
             )  # RUN HANGING REQUEST CHECK (if user wants to alert on hanging requests)
             self.hanging_requests_check_started = True
 
+        if (
+            self.slack_alerting_instance is not None
+            and AlertType.model_deprecation_warnings
+            in self.slack_alerting_instance.alert_types
+            and not self.deprecation_check_started
+        ):
+            asyncio.create_task(
+                self.slack_alerting_instance._run_scheduled_deprecation_check(
+                    llm_router=llm_router
+                )
+            )  # RUN MODEL DEPRECATION ALERT LOOP (if scheduled)
+            self.deprecation_check_started = True
+
     def update_values(
         self,
         alerting: Optional[List] = None,

diff --git a/litellm/types/integrations/slack_alerting.py b/litellm/types/integrations/slack_alerting.py
--- a/litellm/types/integrations/slack_alerting.py
+++ b/litellm/types/integrations/slack_alerting.py
@@ -1,7 +1,7 @@
 import os
 from datetime import datetime as dt
 from enum import Enum
-from typing import Any, Dict, List, Literal, Optional, Set, Union
+from typing import List, Optional, Set, Union
 
 from pydantic import BaseModel, Field
 from typing_extensions import TypedDict
@@ -146,6 +146,7 @@
     # Deployment alerts
     cooldown_deployment = "cooldown_deployment"
     new_model_added = "new_model_added"
+    model_deprecation_warnings = "model_deprecation_warnings"
 
     # Outage alerts
     outage_alerts = "outage_alerts"
@@ -186,6 +187,7 @@
     # Deployment alerts
     AlertType.cooldown_deployment,
     AlertType.new_model_added,
+    AlertType.model_deprecation_warnings,
     # Outage alerts
     AlertType.outage_alerts,
     AlertType.region_outage_alerts,

diff --git a/litellm/types/proxy/model_deprecation.py b/litellm/types/proxy/model_deprecation.py
new file mode 100644
--- /dev/null
+++ b/litellm/types/proxy/model_deprecation.py
@@ -1,0 +1,89 @@
+"""Type definitions for model deprecation tracking and proactive alerts.
+
+The proxy reads deprecation/sunset metadata from
+``litellm.model_cost`` (sourced from ``model_prices_and_context_window.json``)
+and surfaces it through the ``/model/deprecations`` endpoint and Slack
+alerting. These types describe the response payload and the alert payload.
+"""
+
+from __future__ import annotations
+
+from datetime import date, datetime
+from typing import List, Optional
+
+from pydantic import BaseModel, Field
+
+
+DEFAULT_DEPRECATION_WARN_DAYS = 30
+"""Default warning window (in days) for the ``imminent`` bucket.
+
+Matches the typical migration window most LLM providers offer between
+deprecation announcement and removal. Callers of ``/model/deprecations``
+can override this per-request via the ``?warn_within_days=N`` query
+parameter without restarting the proxy.
+"""
+
+DEFAULT_DEPRECATION_CHECK_INTERVAL_SECONDS = 24 * 60 * 60
+"""How often the periodic background check runs. Once per day."""
+
+
+DeprecationStatusLiteral = str
+"""One of ``"upcoming"``, ``"imminent"``, ``"deprecated"``.
+
+* ``upcoming`` – deprecation is scheduled but more than the warn window away.
+* ``imminent`` – deprecation date is within ``warn_within_days`` from today.
+* ``deprecated`` – deprecation date has already passed.
+"""
+
+
+class ModelDeprecationInfo(BaseModel):
+    """Per-model deprecation metadata returned by ``/model/deprecations``."""
+
+    model_name: str = Field(
+        description="The public name of the model on the proxy (model_group)."
+    )
+    litellm_model: Optional[str] = Field(
+        default=None,
+        description="The underlying litellm model string the deprecation date is sourced from.",
+    )
+    deprecation_date: date = Field(
+        description="The date (UTC) when the model becomes deprecated."
+    )
+    days_until_deprecation: int = Field(
+        description=(
+            "Days remaining until the deprecation date. Negative if the model "
+            "is already deprecated."
+        ),
+    )
+    status: DeprecationStatusLiteral = Field(
+        description="One of 'upcoming', 'imminent', or 'deprecated'.",
+    )
+    litellm_provider: Optional[str] = Field(
+        default=None, description="The provider this model belongs to."
+    )
+
+
+class ModelDeprecationResponse(BaseModel):
+    """Response payload for ``GET /model/deprecations``."""
+
+    deprecated: List[ModelDeprecationInfo] = Field(
+        default_factory=list,
+        description="Models whose deprecation date has already passed.",
+    )
+    imminent: List[ModelDeprecationInfo] = Field(
+        default_factory=list,
+        description=(
+            "Models whose deprecation date is within ``warn_within_days`` from "
+            "today and require immediate migration planning."
+        ),
+    )
+    upcoming: List[ModelDeprecationInfo] = Field(
+        default_factory=list,
+        description="Models with a future deprecation date outside the warn window.",
+    )
+    warn_within_days: int = Field(
+        description="The window (in days) used to bucket 'imminent' models."
+    )
+    checked_at: datetime = Field(
+        description="UTC timestamp when the deprecation snapshot was generated."
+    )

diff --git a/tests/test_litellm/integrations/SlackAlerting/test_model_deprecation_alert.py b/tests/test_litellm/integrations/SlackAlerting/test_model_deprecation_alert.py
new file mode 100644
--- /dev/null
+++ b/tests/test_litellm/integrations/SlackAlerting/test_model_deprecation_alert.py
@@ -1,0 +1,100 @@
+"""Tests for the Slack alerting model deprecation hook."""
+
+import os
+import sys
+from unittest.mock import AsyncMock, MagicMock, patch
+
+import pytest
+
+sys.path.insert(0, os.path.abspath("../../../.."))
+
+import litellm
+from litellm.integrations.SlackAlerting.slack_alerting import SlackAlerting
+from litellm.proxy._types import AlertType
+
+
+def _make_router(deployments):
+    router = MagicMock()
+    router.get_model_list.return_value = deployments
+    return router
+
+
+@pytest.mark.asyncio
+async def test_should_skip_when_alert_type_disabled():
+    alerting = SlackAlerting(
+        alerting=["slack"],
+        alert_types=[AlertType.llm_exceptions],
+    )
+    sent = await alerting.send_model_deprecation_alert(llm_router=MagicMock())
+    assert sent is False
+
+
+@pytest.mark.asyncio
+async def test_should_skip_when_no_alerting_configured():
+    alerting = SlackAlerting(
+        alerting=None,
+        alert_types=[AlertType.model_deprecation_warnings],
+    )
+    sent = await alerting.send_model_deprecation_alert(llm_router=MagicMock())
+    assert sent is False
+
+
+@pytest.mark.asyncio
+async def test_should_skip_when_no_deprecations_found(monkeypatch):
+    monkeypatch.setattr(litellm, "model_cost", {})
+    alerting = SlackAlerting(
+        alerting=["slack"],
+        alert_types=[AlertType.model_deprecation_warnings],
+    )
+    router = _make_router(
+        [
+            {
+                "model_name": "fresh",
+                "litellm_params": {"model": "openai/gpt-4o"},
+                "model_info": {"id": "x"},
+            }
+        ]
+    )
+    sent = await alerting.send_model_deprecation_alert(llm_router=router)
+    assert sent is False
+
+
+@pytest.mark.asyncio
+async def test_should_dispatch_high_severity_when_deprecated(monkeypatch):
+    monkeypatch.setattr(
+        litellm,
+        "model_cost",
+        {
+            "dead-model": {
+                "deprecation_date": "2020-01-01",
+                "litellm_provider": "openai",
+            }
+        },
+    )
+    alerting = SlackAlerting(
+        alerting=["slack"],
+        alert_types=[AlertType.model_deprecation_warnings],
+    )
+    router = _make_router(
+        [
+            {
+                "model_name": "dead-alias",
+                "litellm_params": {"model": "dead-model"},
+                "model_info": {"id": "1"},
+            }
+        ]
+    )
+
+    with patch.object(
+        alerting, "send_alert", new_callable=AsyncMock
+    ) as mock_send_alert:
+        sent = await alerting.send_model_deprecation_alert(llm_router=router)
+
+    assert sent is True
+    mock_send_alert.assert_awaited_once()
+    call_kwargs = mock_send_alert.await_args.kwargs
+    assert call_kwargs["alert_type"] == AlertType.model_deprecation_warnings
+    assert call_kwargs["level"] == "High"
+    assert call_kwargs["alerting_metadata"]["deprecated_count"] == 1
+    assert call_kwargs["alerting_metadata"]["imminent_count"] == 0
+    assert "dead-alias" in call_kwargs["message"]

diff --git a/tests/test_litellm/proxy/common_utils/test_model_deprecation.py b/tests/test_litellm/proxy/common_utils/test_model_deprecation.py
new file mode 100644
--- /dev/null
+++ b/tests/test_litellm/proxy/common_utils/test_model_deprecation.py
@@ -1,0 +1,280 @@
+"""Tests for the model deprecation helper module.
+
+These tests focus on the helper itself — not on the proxy endpoint or
+Slack integration — so they can run without the full proxy stack.
+"""
+
+import os
+import sys
+from datetime import date
+from unittest.mock import MagicMock
+
+
+sys.path.insert(0, os.path.abspath("../../../.."))
+
+import litellm
+from litellm.proxy.common_utils.model_deprecation import (
+    _classify,
+    _parse_deprecation_date,
+    collect_model_deprecations,
+    format_deprecation_alert_message,
+)
+
+
+def _make_router(deployments):
+    router = MagicMock()
+    router.get_model_list.return_value = deployments
+    return router
+
+
+class TestParseDeprecationDate:
+    def test_should_parse_iso_string(self):
+        assert _parse_deprecation_date("2026-12-31") == date(2026, 12, 31)
+
+    def test_should_pass_through_date_object(self):
+        d = date(2026, 1, 1)
+        assert _parse_deprecation_date(d) == d
+
+    def test_should_return_none_for_documentation_sentinel(self):
+        # The JSON map ships a sentinel string under the "sample_spec" key.
+        assert (
+            _parse_deprecation_date(
+                "date when the model becomes deprecated in the format YYYY-MM-DD"
+            )
+            is None
+        )
+
+    def test_should_return_none_for_none(self):
+        assert _parse_deprecation_date(None) is None
+
+    def test_should_return_none_for_unsupported_type(self):
+        assert _parse_deprecation_date(12345) is None
+
+
+class TestClassify:
+    def test_should_classify_past_dates_as_deprecated(self):
+        assert _classify(-1, warn_within_days=30) == "deprecated"
+        assert _classify(-365, warn_within_days=30) == "deprecated"
+
+    def test_should_classify_inside_window_as_imminent(self):
+        assert _classify(0, warn_within_days=30) == "imminent"
+        assert _classify(15, warn_within_days=30) == "imminent"
+        assert _classify(30, warn_within_days=30) == "imminent"
+
+    def test_should_classify_outside_window_as_upcoming(self):
+        assert _classify(31, warn_within_days=30) == "upcoming"
+        assert _classify(365, warn_within_days=30) == "upcoming"
+
+
+class TestCollectModelDeprecations:
+    def test_should_return_empty_response_when_router_is_none(self):
+        snapshot = collect_model_deprecations(llm_router=None)
+        assert snapshot.deprecated == []
+        assert snapshot.imminent == []
+        assert snapshot.upcoming == []
+
+    def test_should_skip_models_without_deprecation_metadata(self, monkeypatch):
+        monkeypatch.setattr(litellm, "model_cost", {})
+        router = _make_router(
+            [
+                {
+                    "model_name": "gpt-4o",
+                    "litellm_params": {"model": "openai/gpt-4o"},
+                    "model_info": {"id": "abc"},
+                }
+            ]
+        )
+        snapshot = collect_model_deprecations(llm_router=router)
+        assert snapshot.deprecated == []
+        assert snapshot.imminent == []
+        assert snapshot.upcoming == []
+
+    def test_should_classify_into_three_buckets(self, monkeypatch):
+        today = date(2026, 6, 1)
+        monkeypatch.setattr(
+            litellm,
+            "model_cost",
+            {
+                "deprecated-model": {
+                    "deprecation_date": "2026-01-01",
+                    "litellm_provider": "openai",
+                },
+                "imminent-model": {
+                    "deprecation_date": "2026-06-15",
+                    "litellm_provider": "openai",
+                },
+                "upcoming-model": {
+                    "deprecation_date": "2027-01-01",
+                    "litellm_provider": "openai",
+                },
+            },
+        )
+        router = _make_router(
+            [
+                {
+                    "model_name": "deprecated-alias",
+                    "litellm_params": {"model": "openai/deprecated-model"},
... diff truncated: showing 800 of 964 lines

You can send follow-ups to the cloud agent here.

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit dd3282f. Configure here.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

cursoragent and others added 4 commits August 10, 2026 22:42
…ns endpoint

Surfaces deprecation_date metadata that is already shipped in
model_prices_and_context_window.json so operators get lead time to
migrate before a provider sunsets a model.

- New helper litellm.proxy.common_utils.model_deprecation classifies the
  router's configured models into deprecated / imminent / upcoming
  buckets. Resolution order: explicit model_info.deprecation_date >
  model_info.base_model > litellm_params.model.
- New GET /model/deprecations (and /v1/model/deprecations) endpoint
  returns a ModelDeprecationResponse, gated by user_api_key_auth.
- New AlertType.model_deprecation_warnings (in DEFAULT_ALERT_TYPES) plus
  SlackAlerting.send_model_deprecation_alert dispatches a Slack message
  for deprecated/imminent models. Severity is High when any model is
  already past its date, Medium when only imminent.
- ProxyLogging.startup_event schedules a daily background task
  (_run_scheduled_deprecation_check) when the alert type is enabled. The
  interval is configurable via LITELLM_MODEL_DEPRECATION_CHECK_INTERVAL
  and the warn window via LITELLM_MODEL_DEPRECATION_WARN_DAYS.
- Tests: 16 unit tests for the helper plus 4 for the Slack hook in
  tests/test_litellm/.

Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
…tion

The proxy documentation lives in BerriAI/litellm-docs and any new env
key flagged by os.getenv() must be added there before the
test_env_keys.py CI check passes. Rather than fork the docs repo for
two niche tunables, hard-code the defaults:

- DEFAULT_DEPRECATION_WARN_DAYS = 30 (already overridable per-request
  via ?warn_within_days=N on /model/deprecations).
- DEFAULT_DEPRECATION_CHECK_INTERVAL_SECONDS = 24h.

Both can still be raised as env-var follow-ups together with their docs
update if operators ask for it.

Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
Drops Any-typed router plumbing, immutable bucketing, generated dashboard API types, and adds endpoint plus resolution-fallback tests

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the litellm_model-deprecation-alerts-55bc branch from dd3282f to 8f1aea5 Compare August 10, 2026 22:58
@devin-ai-integration
devin-ai-integration Bot marked this pull request as ready for review August 10, 2026 23:02
@codecov

codecov Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.89189% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
litellm/proxy/proxy_server.py 50.00% 11 Missing ⚠️
...tellm/integrations/SlackAlerting/slack_alerting.py 95.34% 2 Missing ⚠️
litellm/proxy/common_utils/model_deprecation.py 97.72% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@greptile-apps

greptile-apps Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR exposes configured model sunset information through authenticated management endpoints and adds coordinated Slack warnings for deprecated or imminent models.

  • Resolves registry and deployment-level deprecation metadata into urgency buckets.
  • Adds daily, Redis-coordinated Slack alerts that re-read current Router and alert configuration.
  • Adds endpoint, lifecycle, alerting, and deprecation-resolution coverage.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
litellm/integrations/SlackAlerting/slack_alerting.py Adds deprecation alert formatting, daily coordination, current-Router lookup, and a polling loop that observes runtime configuration changes.
litellm/proxy/common_utils/model_deprecation.py Resolves registry or deployment override dates, deduplicates deployments, and produces deprecated, imminent, and upcoming buckets.
litellm/proxy/proxy_server.py Adds authenticated /model/deprecations route aliases with configurable warning windows.
litellm/proxy/utils.py Schedules the deprecation loop during startup and when alerting is enabled through runtime configuration.
tests/test_litellm/proxy/utils/proxy_logging/test_lifecycle.py Covers startup and runtime scheduling behavior for the deprecation alert loop.

Reviews (13): Last reviewed commit: "fix(alerting): back off a day after a de..." | Re-trigger Greptile

Comment thread litellm/proxy/utils.py Resolved
Comment thread litellm/proxy/utils.py Resolved
Comment thread litellm/proxy/utils.py Resolved
mateo-berri and others added 2 commits August 10, 2026 23:23
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The daily loop no longer captures the startup Router or bails when the alert type is off at startup, so config reloads take effect

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

@greptileai re-review: the daily deprecation check now re-reads the router and alert types each pass, with a regression test

…gured

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@github-actions github-actions Bot removed the stale label Aug 11, 2026
@codspeed

codspeed Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing litellm_model-deprecation-alerts-55bc (7017df5) with litellm_internal_staging (2bc87ec)1

Open in CodSpeed

Footnotes

  1. No successful run was found on litellm_internal_staging (e2d8fc9) during the generation of this report, so 2bc87ec was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

Comment thread litellm/proxy/utils.py Resolved
…s alerting

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
doonga pushed a commit to greyrock-labs/home-ops that referenced this pull request Sep 5, 2026
…9.1) (#104)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/berriai/litellm](https://images.chainguard.dev/directory/image/wolfi-base/overview) ([source](https://github.com/BerriAI/litellm)) | minor | `v1.98.0` → `v1.99.1` |

---

### Release Notes

<details>
<summary>BerriAI/litellm (ghcr.io/berriai/litellm)</summary>

### [`v1.99.1`](https://github.com/BerriAI/litellm/releases/tag/v1.99.1)

[Compare Source](https://github.com/BerriAI/litellm/compare/v1.99.0...v1.99.1)

#### Docker-only release

**This release ships container images only. There is no PyPI package for `1.99.1`.**

`pip install litellm==1.99.1` will not resolve — install the images below, or stay on `1.99.0` on PyPI. The git tag and this release exist so the images are traceable to an exact commit.

| Image                                                                     | Tags                |
| ------------------------------------------------------------------------- | ------------------- |
| `ghcr.io/berriai/litellm` · `docker.io/litellm/litellm`                   | `1.99.1`, `v1.99.1` |
| `ghcr.io/berriai/litellm-database` · `docker.io/litellm/litellm-database` | `1.99.1`, `v1.99.1` |
| `ghcr.io/berriai/litellm-non_root` · `docker.io/litellm/litellm-non_root` | `1.99.1`, `v1.99.1` |

This is the newest stable image, so the rolling `latest` and `main-stable` image tags now point at `1.99.1`.

It carries one fix on top of `1.99.0`: OpenTelemetry v2 spans now emit cache token counts (`gen_ai.usage.cache_creation.input_tokens` and `gen_ai.usage.cache_read.input_tokens`) alongside the cache cost that was already reported. If you compute spend from OTel token counts rather than from LiteLLM's own cost fields, prompt-caching workloads were previously under-counted.

***

#### Verify Docker Image Signature

All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).

**Verify using the pinned commit hash (recommended):**

A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:

```bash
cosign verify \
  --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \
  ghcr.io/berriai/litellm:v1.99.1
```

**Verify using the release tag (convenience):**

Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:

```bash
cosign verify \
  --key https://raw.githubusercontent.com/BerriAI/litellm/v1.99.1/cosign.pub \
  ghcr.io/berriai/litellm:v1.99.1
```

Expected output:

```
The following checks were performed on each of these signatures:
  - The cosign claims were validated
  - The signatures were verified against the specified public key
```

***

#### What's Changed

- chore(release): backport [#&#8203;38716](https://github.com/BerriAI/litellm/issues/38716) to stable/1.99.x and cut 1.99.1 by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;39179](https://github.com/BerriAI/litellm/pull/39179)

**Full Changelog**: <https://github.com/BerriAI/litellm/compare/v1.99.0...v1.99.1>

### [`v1.99.0`](https://github.com/BerriAI/litellm/releases/tag/v1.99.0)

[Compare Source](https://github.com/BerriAI/litellm/compare/v1.98.0...v1.99.0)

#### Verify Docker Image Signature

All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).

**Verify using the pinned commit hash (recommended):**

A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:

```bash
cosign verify \
  --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \
  ghcr.io/berriai/litellm:v1.99.0
```

**Verify using the release tag (convenience):**

Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:

```bash
cosign verify \
  --key https://raw.githubusercontent.com/BerriAI/litellm/v1.99.0/cosign.pub \
  ghcr.io/berriai/litellm:v1.99.0
```

Expected output:

```
The following checks were performed on each of these signatures:
  - The cosign claims were validated
  - The signatures were verified against the specified public key
```

***

#### What's Changed

- chore(typing): drop 1.3k basedpyright errors across 30 Any hotspot files by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37073](https://github.com/BerriAI/litellm/pull/37073)
- fix(proxy): register WebSocket passthrough for OpenAI prefixes by [@&#8203;LHMQ878](https://github.com/LHMQ878) in [#&#8203;36151](https://github.com/BerriAI/litellm/pull/36151)
- fix(bedrock): report uploaded size in the FileObject returned by managed batch uploads by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;36392](https://github.com/BerriAI/litellm/pull/36392)
- fix(batches): support AWS Bedrock batch cancellation via `StopModelInvocationJob` by [@&#8203;ArjunPakhan](https://github.com/ArjunPakhan) in [#&#8203;34087](https://github.com/BerriAI/litellm/pull/34087)
- feat: Async Rust OCR Bridge and MCP OAuth UI Restore by [@&#8203;ArjunPakhan](https://github.com/ArjunPakhan) in [#&#8203;31453](https://github.com/BerriAI/litellm/pull/31453)
- fix(batches): don't crash logging when a completed batch has no output file by [@&#8203;MUSE-CODE-SPACE](https://github.com/MUSE-CODE-SPACE) in [#&#8203;34067](https://github.com/BerriAI/litellm/pull/34067)
- fix(UI): add default model pin to complexity router UI by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;36615](https://github.com/BerriAI/litellm/pull/36615)
- feat(ui): add Lite mixed-provider auto-router preset by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37068](https://github.com/BerriAI/litellm/pull/37068)
- feat(ui): link key info header to its user, creator, team, and organization by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37187](https://github.com/BerriAI/litellm/pull/37187)
- fix(guardrails): scan text on /guardrails/apply\_guardrail for Azure Content Safety by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;36894](https://github.com/BerriAI/litellm/pull/36894)
- feat(bedrock): forward LiteLLM identity and metadata into Bedrock requestMetadata by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;36861](https://github.com/BerriAI/litellm/pull/36861)
- fix(azure): rename max\_tokens to max\_completion\_tokens for gpt-5-chat deployments by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;36857](https://github.com/BerriAI/litellm/pull/36857)
- fix(bedrock): preserve cache token usage when invocationMetrics replace the usage block by [@&#8203;brian5021](https://github.com/brian5021) in [#&#8203;36878](https://github.com/BerriAI/litellm/pull/36878)
- fix(proxy): registry caches stop per-request tag and end-user Postgres reads in auth by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;36801](https://github.com/BerriAI/litellm/pull/36801)
- test(e2e): replay a real tool-search assistant turn back to Bedrock Invoke by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;36856](https://github.com/BerriAI/litellm/pull/36856)
- fix(proxy): return 400 naming the missing required param on POST /v1/batches by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37199](https://github.com/BerriAI/litellm/pull/37199)
- fix(ci): bump sqlparse to 0.6.0 to resolve osv-scan CVEs by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37200](https://github.com/BerriAI/litellm/pull/37200)
- fix(ui): stop pairing key spend with the team budget when a key has no budget by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37196](https://github.com/BerriAI/litellm/pull/37196)
- fix(guardrails): record MCP tool guardrail evaluations and blocks in … by [@&#8203;Scott-Wilson-ZocDoc](https://github.com/Scott-Wilson-ZocDoc) in [#&#8203;36978](https://github.com/BerriAI/litellm/pull/36978)
- fix(proxy): return 400 for non-object metadata and litellm\_metadata instead of silent drop or 500 by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37203](https://github.com/BerriAI/litellm/pull/37203)
- fix(anthropic): preserve optional Responses tool properties by [@&#8203;Scott-Wilson-ZocDoc](https://github.com/Scott-Wilson-ZocDoc) in [#&#8203;36979](https://github.com/BerriAI/litellm/pull/36979)
- feat(ui): add user ID request log filter by [@&#8203;daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#&#8203;36781](https://github.com/BerriAI/litellm/pull/36781)
- fix(anthropic): stop emitting empty thinking blocks on the Responses adapter by [@&#8203;Scott-Wilson-ZocDoc](https://github.com/Scott-Wilson-ZocDoc) in [#&#8203;36033](https://github.com/BerriAI/litellm/pull/36033)
- fix(ui): make per-user usage filter searchable by [@&#8203;daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#&#8203;36790](https://github.com/BerriAI/litellm/pull/36790)
- refactor(ui): decouple bulk invite from the invite user button by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37061](https://github.com/BerriAI/litellm/pull/37061)
- fix(helm): bound the migrations Job so a blocked migration cannot stall the release by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;36975](https://github.com/BerriAI/litellm/pull/36975)
- feat(proxy): let USE\_V2\_MIGRATION\_RESOLVER select the v2 migration resolver by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;36258](https://github.com/BerriAI/litellm/pull/36258)
- fix(mcp): scope authorization server issuer by [@&#8203;irosh-colombage-ZocDoc2](https://github.com/irosh-colombage-ZocDoc2) in [#&#8203;36482](https://github.com/BerriAI/litellm/pull/36482)
- fix(responses): unwrap object-form tool\_choice before calling the Responses API by [@&#8203;Scott-Wilson-ZocDoc](https://github.com/Scott-Wilson-ZocDoc) in [#&#8203;36032](https://github.com/BerriAI/litellm/pull/36032)
- test(ui): query antd controls accessibly instead of by internal CSS class by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37014](https://github.com/BerriAI/litellm/pull/37014)
- fix(proxy): bill cancelled and failed batches that still produced an output file by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37205](https://github.com/BerriAI/litellm/pull/37205)
- fix(bedrock): read batch usage by payload shape, not by provider name by [@&#8203;marty-sullivan](https://github.com/marty-sullivan) in [#&#8203;37078](https://github.com/BerriAI/litellm/pull/37078)
- fix(ui): self-contained searchable user filter on the Usage page by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37206](https://github.com/BerriAI/litellm/pull/37206)
- revert: don't fix mcp scope authorization server issuer by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37220](https://github.com/BerriAI/litellm/pull/37220)
- fix(mcp): scope authorization server issuer for named MCP servers by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37204](https://github.com/BerriAI/litellm/pull/37204)
- test(ui): gate dashboard test assertions with testing-library and jest-dom rules by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37018](https://github.com/BerriAI/litellm/pull/37018)
- feat(shadow-eval): name the shadowed key in job responses and the UI headline by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37221](https://github.com/BerriAI/litellm/pull/37221)
- test(ui): assert what collaborators are called with, not merely that they were by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37019](https://github.com/BerriAI/litellm/pull/37019)
- fix(logging): stop deepcopying results redaction cannot redact by [@&#8203;marty-sullivan](https://github.com/marty-sullivan) in [#&#8203;36638](https://github.com/BerriAI/litellm/pull/36638)
- fix(gemini): price gemini 3.6 flash at Google's introductory rates on every service tier by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37197](https://github.com/BerriAI/litellm/pull/37197)
- perf(guardrails): stop sending the conversation twice in the noma v2 payload by [@&#8203;itaimodi](https://github.com/itaimodi) in [#&#8203;36764](https://github.com/BerriAI/litellm/pull/36764)
- fix(streaming): track provider-reported cost when caller omits include\_usage by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;35013](https://github.com/BerriAI/litellm/pull/35013)
- fix: stop rust flag from leaking into upstream provider request bodies by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37218](https://github.com/BerriAI/litellm/pull/37218)
- fix(proxy): return 404 instead of 500 for unresolvable batch and file ids on /v1/batches by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37201](https://github.com/BerriAI/litellm/pull/37201)
- fix(bedrock): validate file-content retrieval against the configured output bucket ([#&#8203;26335](https://github.com/BerriAI/litellm/issues/26335)) by [@&#8203;kingdoooo](https://github.com/kingdoooo) in [#&#8203;31435](https://github.com/BerriAI/litellm/pull/31435)
- fix(proxy): reject out-of-range limit on GET /v1/batches with OpenAI-parity 400 by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37198](https://github.com/BerriAI/litellm/pull/37198)
- fix(batches): price a retrieved batch from its deployment's model and rates (internal copy of [#&#8203;37077](https://github.com/BerriAI/litellm/issues/37077)) by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37219](https://github.com/BerriAI/litellm/pull/37219)
- feat(ocr): return Azure Document Intelligence's native payload from /v1/ocr via req\_format=native by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37194](https://github.com/BerriAI/litellm/pull/37194)
- fix(anthropic): fold guardrail-modified leading system rows into top-level system param by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37231](https://github.com/BerriAI/litellm/pull/37231)
- fix(shadow\_eval): copy messages before router call and raise judge output cap by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37232](https://github.com/BerriAI/litellm/pull/37232)
- feat(proxy): add Amazon Comprehend Medical passthrough provider by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37229](https://github.com/BerriAI/litellm/pull/37229)
- test(ui): settle the in-flight search before the loading tests end by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37227](https://github.com/BerriAI/litellm/pull/37227)
- test(cli): use example.com placeholder host in base-url trailing slash test by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37240](https://github.com/BerriAI/litellm/pull/37240)
- feat(complexity\_router): operator-defined tier sets for the LLM classifier by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37226](https://github.com/BerriAI/litellm/pull/37226)
- feat(ui): configure the auto router's heuristic scorer from the Admin UI by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37216](https://github.com/BerriAI/litellm/pull/37216)
- fix(shadow\_eval): drop unused judge reasoning field and salvage truncated verdicts by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37239](https://github.com/BerriAI/litellm/pull/37239)
- feat(proxy): proactive model deprecation alerts and `/model/deprecations` endpoint by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;26900](https://github.com/BerriAI/litellm/pull/26900)
- refactor(ui): move dashboard toasts from antd message/notification onto sonner by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37207](https://github.com/BerriAI/litellm/pull/37207)
- feat(guardrails): track bedrock guardrail usage units per invocation by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37225](https://github.com/BerriAI/litellm/pull/37225)
- fix(proxy): strip callback credentials from the auth object stamped into request metadata by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37233](https://github.com/BerriAI/litellm/pull/37233)
- fix(guardrails): retry usage upserts only on connection errors by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37247](https://github.com/BerriAI/litellm/pull/37247)
- fix(mcp): oauth discovery must not cause outages by [@&#8203;daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#&#8203;36599](https://github.com/BerriAI/litellm/pull/36599)
- test(ui): await the playground model combobox before clicking it by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;36850](https://github.com/BerriAI/litellm/pull/36850)
- refactor(ui): migrate budget and skill forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37262](https://github.com/BerriAI/litellm/pull/37262)
- refactor(ui): migrate tag and memory forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37266](https://github.com/BerriAI/litellm/pull/37266)
- feat(complexity\_router): plan-mode tier floor for coding-agent clients by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37230](https://github.com/BerriAI/litellm/pull/37230)
- refactor(ui): codemod every toast call site onto lib/toast and delete the antd-era facades by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37253](https://github.com/BerriAI/litellm/pull/37253)
- feat(proxy): add /team/daily/activity/aggregated and switch the Usage team tab to it by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;36562](https://github.com/BerriAI/litellm/pull/36562)
- refactor(ui): migrate user, logging and policy forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37303](https://github.com/BerriAI/litellm/pull/37303)
- refactor(ui): migrate user, policy, and margin forms to shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37305](https://github.com/BerriAI/litellm/pull/37305)
- refactor(ui): migrate the regenerate key and team member forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37300](https://github.com/BerriAI/litellm/pull/37300)
- refactor(ui): migrate CloudZero and cost tracking forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37312](https://github.com/BerriAI/litellm/pull/37312)
- refactor(ui): migrate auto router and credential forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37304](https://github.com/BerriAI/litellm/pull/37304)
- refactor(ui): migrate guardrail and vector store forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37306](https://github.com/BerriAI/litellm/pull/37306)
- refactor(ui): migrate prompt, UI access, plugin and MCP filter forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37297](https://github.com/BerriAI/litellm/pull/37297)
- refactor(ui): drop the unreachable user edit modal by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37327](https://github.com/BerriAI/litellm/pull/37327)
- fix(router): route Responses API input through the auto-router by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37333](https://github.com/BerriAI/litellm/pull/37333)
- refactor(ui): migrate the login, onboarding and search tool forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37334](https://github.com/BerriAI/litellm/pull/37334)
- feat(ui): plan-mode override tier in the auto-router create and edit forms by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37319](https://github.com/BerriAI/litellm/pull/37319)
- refactor(ui): retire the tremor date range picker in favour of the shared advanced picker by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37302](https://github.com/BerriAI/litellm/pull/37302)
- fix(proxy): forward Bedrock event-stream content-type on unbuffered passthrough by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;33767](https://github.com/BerriAI/litellm/pull/33767)
- fix(azure\_ai): strip non-OpenAI-spec message fields before request by [@&#8203;ayaangazali](https://github.com/ayaangazali) in [#&#8203;34445](https://github.com/BerriAI/litellm/pull/34445)
- fix(proxy): stop leaking the client\_side\_timeout marker to providers by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37346](https://github.com/BerriAI/litellm/pull/37346)
- refactor(ui): migrate the caching, cost tracking, alerting and user detail forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37350](https://github.com/BerriAI/litellm/pull/37350)
- refactor(ui): migrate pass-through, project and access group forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37354](https://github.com/BerriAI/litellm/pull/37354)
- refactor(ui): migrate the vector store creation form to shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37353](https://github.com/BerriAI/litellm/pull/37353)
- refactor(ui): move the MCP server forms and detail tabs off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37329](https://github.com/BerriAI/litellm/pull/37329)
- feat(complexity\_router): custom classifier plugins via classifier\_type 'custom' by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37249](https://github.com/BerriAI/litellm/pull/37249)
- fix(fireworks): skip accounts/ rewrite for FW-\* Foundry deployment ids by [@&#8203;bruno-olivia](https://github.com/bruno-olivia) in [#&#8203;37242](https://github.com/BerriAI/litellm/pull/37242)
- fix(advisor): resolve the advisor sub-call through the proxy router by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;36246](https://github.com/BerriAI/litellm/pull/36246)
- fix(router): forward target\_model\_names on file uploads to litellm\_proxy deployments by [@&#8203;shivamrawat1](https://github.com/shivamrawat1) in [#&#8203;36240](https://github.com/BerriAI/litellm/pull/36240)
- refactor(ui): move the internal user detail view off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37309](https://github.com/BerriAI/litellm/pull/37309)
- fix(responses): strip the responses/ routing prefix on the Responses API path by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37345](https://github.com/BerriAI/litellm/pull/37345)
- fix(main): forward store and prompt\_cache\_key params on chat completions by [@&#8203;Sujithr07](https://github.com/Sujithr07) in [#&#8203;33195](https://github.com/BerriAI/litellm/pull/33195)
- refactor(ui): migrate the model settings and credential rotation modals to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37342](https://github.com/BerriAI/litellm/pull/37342)
- refactor(ui): move the shared key form controls off antd onto shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37348](https://github.com/BerriAI/litellm/pull/37348)
- refactor(ui): move the tag and vector store views off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37311](https://github.com/BerriAI/litellm/pull/37311)
- refactor(ui): migrate SSO, SCIM and vault forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37347](https://github.com/BerriAI/litellm/pull/37347)
- test(ui): cover the edit project modal's required-field validation by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37363](https://github.com/BerriAI/litellm/pull/37363)
- refactor(ui): migrate the guardrail forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37364](https://github.com/BerriAI/litellm/pull/37364)
- refactor(ui): migrate agent forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37357](https://github.com/BerriAI/litellm/pull/37357)
- refactor(ui): migrate the MCP per-user env vars, toolset and tool arguments forms to react-hook-form and shadcn by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37349](https://github.com/BerriAI/litellm/pull/37349)
- fix(anthropic): emit tool\_use content\_block\_start without awaiting the next chunk by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37310](https://github.com/BerriAI/litellm/pull/37310)
- fix(proxy): send SSE keepalives while a slow upstream is still silent by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37322](https://github.com/BerriAI/litellm/pull/37322)
- fix(proxy): let org admins view their organization's usage by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37235](https://github.com/BerriAI/litellm/pull/37235)
- feat(vector\_stores): add Valkey as a managed vector store provider by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37002](https://github.com/BerriAI/litellm/pull/37002)
- refactor(ui): move the virtual key create and edit forms off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37324](https://github.com/BerriAI/litellm/pull/37324)
- refactor(ui): move the add model and credential forms off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37325](https://github.com/BerriAI/litellm/pull/37325)
- feat(team-callbacks): add DELETE /team/{team\_id}/callback/{callback\_name} by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37331](https://github.com/BerriAI/litellm/pull/37331)
- refactor(ui): move the teams page and team detail views off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37317](https://github.com/BerriAI/litellm/pull/37317)
- fix(cost\_calculator): recognize the ultrafast service tier in cost calculation by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37355](https://github.com/BerriAI/litellm/pull/37355)
- refactor(ui): move the cache settings and playground model selector off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37323](https://github.com/BerriAI/litellm/pull/37323)
- feat(guardrails): count bedrock guardrail cost against spend and budgets by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37362](https://github.com/BerriAI/litellm/pull/37362)
- refactor(ui): move the admin, SSO, SCIM, alerting and fallback forms off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37315](https://github.com/BerriAI/litellm/pull/37315)
- test(ui): raise vitest test and hook timeouts for CI headroom by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37370](https://github.com/BerriAI/litellm/pull/37370)
- fix(caching): truncate semantic cache embedding input, send extra\_body top-level by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37367](https://github.com/BerriAI/litellm/pull/37367)
- fix(guardrails): cap the date window accepted by /guardrails/usage endpoints by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37380](https://github.com/BerriAI/litellm/pull/37380)
- fix(ui): show select labels on the trigger instead of raw values by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37372](https://github.com/BerriAI/litellm/pull/37372)
- refactor(ui): move the team member search modal off antd Form by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37383](https://github.com/BerriAI/litellm/pull/37383)
- refactor(ui): move the model alias manager onto design tokens and shadcn controls by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37376](https://github.com/BerriAI/litellm/pull/37376)
- refactor(ui): move the MCP tool test form off antd by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37381](https://github.com/BerriAI/litellm/pull/37381)
- refactor(ui): move the model info view and pass-through endpoint forms off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37308](https://github.com/BerriAI/litellm/pull/37308)
- fix(otel): bound and shut down credential-scoped tracer providers by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;36591](https://github.com/BerriAI/litellm/pull/36591)
- fix(proxy): send SSE keepalives on assistants runs and A2A streams by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37368](https://github.com/BerriAI/litellm/pull/37368)
- test(anthropic): pin one content\_block\_stop per tool\_use block on the Responses adapter by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37356](https://github.com/BerriAI/litellm/pull/37356)
- refactor(ui): move the agent, guardrail, prompt, policy and skill forms off tremor by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37320](https://github.com/BerriAI/litellm/pull/37320)
- fix(guardrails): requeue usage rollup rows dropped after retry exhaustion by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37387](https://github.com/BerriAI/litellm/pull/37387)
- feat(proxy): add project-level ITPM and OTPM quotas by [@&#8203;shivijain2323](https://github.com/shivijain2323) in [#&#8203;35110](https://github.com/BerriAI/litellm/pull/35110)
- feat(bedrock): add a config toggle to disable agent-runtime pass-through by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37386](https://github.com/BerriAI/litellm/pull/37386)
- fix(mcp): attach per-user BYOK credential when listing tools for non-oauth2 auth types by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;34787](https://github.com/BerriAI/litellm/pull/34787)
- feat(ui): add success, warning and info status tokens by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37393](https://github.com/BerriAI/litellm/pull/37393)
- refactor(ui): drop [@&#8203;tremor/react](https://github.com/tremor/react) and the theming scaffolding it needed by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37394](https://github.com/BerriAI/litellm/pull/37394)
- refactor(ui): move the model info edit form off antd Form by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37392](https://github.com/BerriAI/litellm/pull/37392)
- fix(vector\_stores): stop leaking stored credentials in direct search debug logs by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37373](https://github.com/BerriAI/litellm/pull/37373)
- fix(logging): close three secret-leak paths in verbose logging by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37391](https://github.com/BerriAI/litellm/pull/37391)
- chore: bump litellm-enterprise 0.1.56 -> 0.1.57, litellm-proxy-extras 0.4.86 -> 0.4.87, litellm 1.98.0 -> 1.99.0 by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37395](https://github.com/BerriAI/litellm/pull/37395)
- fix(mcp): bind tool existence check to the selected server by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37388](https://github.com/BerriAI/litellm/pull/37388)
- fix(mcp): serve token-forwarding servers when oauth discovery fails by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37399](https://github.com/BerriAI/litellm/pull/37399)
- fix(databricks): add cost map entries for 14 newer Databricks models by [@&#8203;epistoteles](https://github.com/epistoteles) in [#&#8203;28501](https://github.com/BerriAI/litellm/pull/28501)
- refactor(ui): style the logging settings from semantic tokens by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37385](https://github.com/BerriAI/litellm/pull/37385)
- feat(tinyfish): surface response headers + top-level response extras by [@&#8203;ChenluJi](https://github.com/ChenluJi) in [#&#8203;32448](https://github.com/BerriAI/litellm/pull/32448)
- refactor(ui): codemod the antd Tooltips outside form files onto the shadcn atom by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37402](https://github.com/BerriAI/litellm/pull/37402)
- test(ocr): update Azure DI supported-params assertion for req\_format by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37419](https://github.com/BerriAI/litellm/pull/37419)
- fix(proxy): return no rows when the aggregated activity entity filter is empty by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37414](https://github.com/BerriAI/litellm/pull/37414)
- test: build redaction and batch limiter fixtures the way production does by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37416](https://github.com/BerriAI/litellm/pull/37416)
- test: allow protocol-constrained pass-through routes to declare fewer methods by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37415](https://github.com/BerriAI/litellm/pull/37415)
- test(ui): pin the MCP server edit save payload before the form migration by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37404](https://github.com/BerriAI/litellm/pull/37404)
- test(ui): characterize the create key form payload contract by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37405](https://github.com/BerriAI/litellm/pull/37405)
- refactor(ui): migrate the key edit form off Ant Design onto react-hook-form by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37398](https://github.com/BerriAI/litellm/pull/37398)
- test(ui): repoint the e2e locators at the post-antd form controls by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37421](https://github.com/BerriAI/litellm/pull/37421)
- test: point the live gemini and groq conformance suites at models that still exist by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37422](https://github.com/BerriAI/litellm/pull/37422)
- refactor(ui): extract the create-key payload builder out of create\_key\_button by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37397](https://github.com/BerriAI/litellm/pull/37397)
- fix(types): map nested prompt\_tokens\_details.cache\_creation\_input\_tokens to cache\_write\_tokens by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37377](https://github.com/BerriAI/litellm/pull/37377)
- fix(router): honor key-level tag filtering in pre-routing and pin auto-router e2e regressions by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37366](https://github.com/BerriAI/litellm/pull/37366)
- feat(otel): attribute Prisma database spans to PostgreSQL instead of localhost by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;36595](https://github.com/BerriAI/litellm/pull/36595)
- fix(bedrock): degrade gracefully on malformed tool-call arguments by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;33842](https://github.com/BerriAI/litellm/pull/33842)
- test: move the remaining live groq call sites off the retired llama models by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37426](https://github.com/BerriAI/litellm/pull/37426)
- fix(ui): highlight the first member search match so Enter picks it by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37429](https://github.com/BerriAI/litellm/pull/37429)
- chore(ci): promote internal staging to main by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37400](https://github.com/BerriAI/litellm/pull/37400)
- fix(proxy): log spend for OpenAI passthrough embeddings with unmapped models by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37425](https://github.com/BerriAI/litellm/pull/37425)
- fix(router): keep acreate\_file fallbacks inside the requested model group by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37424](https://github.com/BerriAI/litellm/pull/37424)
- fix(proxy): record estimated input tokens in spend logs for failed dispatched requests by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37365](https://github.com/BerriAI/litellm/pull/37365)
- fix: accept bool thinking param instead of crashing with AttributeError by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37423](https://github.com/BerriAI/litellm/pull/37423)
- refactor(ui): migrate the teams form graph off antd Form onto react-hook-form by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37417](https://github.com/BerriAI/litellm/pull/37417)
- fix(ui): restore the cache control Role and Index field hints by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37437](https://github.com/BerriAI/litellm/pull/37437)
- feat(ui): add mounted-field projections for the MCP server form graph by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37440](https://github.com/BerriAI/litellm/pull/37440)
- refactor(ui): extract the MCP server edit save payload into a pure builder by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37436](https://github.com/BerriAI/litellm/pull/37436)
- test: derive vertex batch cost expectation from the cost map by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37444](https://github.com/BerriAI/litellm/pull/37444)
- refactor(ui): port the create key form off antd Form onto react-hook-form by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37442](https://github.com/BerriAI/litellm/pull/37442)
- refactor(ui): port the add model form off antd Form onto react-hook-form by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37446](https://github.com/BerriAI/litellm/pull/37446)
- refactor(ui): host KeyLifecycleSettings tests in react-hook-form instead of antd Form by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37449](https://github.com/BerriAI/litellm/pull/37449)
- fix(ui): rebuild nested and list paths in the mounted-field projection by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37450](https://github.com/BerriAI/litellm/pull/37450)
- fix(ui): gate the pass-through guardrail field inputs when the section is disabled by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37435](https://github.com/BerriAI/litellm/pull/37435)
- fix(tests): keep a host PROXY\_BASE\_URL out of request-derived URL tests by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37451](https://github.com/BerriAI/litellm/pull/37451)
- refactor(ui): port the MCP server forms off antd Form onto react-hook-form by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37483](https://github.com/BerriAI/litellm/pull/37483)
- test(e2e): pin the tag-routing denial to its actual cause by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37432](https://github.com/BerriAI/litellm/pull/37432)
- fix(proxy): read through to the DB on registry misses so just-created models, guardrails, and agents resolve on sibling replicas by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;36263](https://github.com/BerriAI/litellm/pull/36263)
- fix(mcp): forward the per-server auth header on OpenAPI tool calls by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37410](https://github.com/BerriAI/litellm/pull/37410)
- chore(typing): drop 1.3k basedpyright errors across 42 Any hotspot files by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37439](https://github.com/BerriAI/litellm/pull/37439)
- test(ui): drive fields with change events where the typing is not the behaviour by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37495](https://github.com/BerriAI/litellm/pull/37495)
- fix(ui): restore tab strip styling and panel persistence lost in the shadcn migration by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37403](https://github.com/BerriAI/litellm/pull/37403)
- feat(spend-logs): add lifecycle timestamps by [@&#8203;sytianhe](https://github.com/sytianhe) in [#&#8203;37361](https://github.com/BerriAI/litellm/pull/37361)
- refactor(ui): migrate the antd Button call sites onto the shadcn Button by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37505](https://github.com/BerriAI/litellm/pull/37505)
- test(ui): split the vitest suite into unit, component, integration and type projects by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37488](https://github.com/BerriAI/litellm/pull/37488)
- refactor(ptu): give the rollup a source-agnostic deployment record by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37501](https://github.com/BerriAI/litellm/pull/37501)
- feat(auto-router)!: scope shadow eval jobs to multiple keys by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37251](https://github.com/BerriAI/litellm/pull/37251)
- refactor(ui): migrate the antd Alert call sites onto the shared Alert by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37513](https://github.com/BerriAI/litellm/pull/37513)
- chore(ui): upgrade the dashboard to React 19 by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37411](https://github.com/BerriAI/litellm/pull/37411)
- fix(streaming): accept provider cost objects when propagating usage cost by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;36593](https://github.com/BerriAI/litellm/pull/36593)
- fix(complexity-router): gate the reasoning override on a non-SIMPLE score by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37500](https://github.com/BerriAI/litellm/pull/37500)
- fix(mcp): stop reporting failed OpenAPI tool calls as successes by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37496](https://github.com/BerriAI/litellm/pull/37496)
- feat(e2e): add record/replay transport seam and fixture bundle format by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37360](https://github.com/BerriAI/litellm/pull/37360)
- fix(proxy): accept inherited model sentinels in project key limits by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37515](https://github.com/BerriAI/litellm/pull/37515)
- fix(model\_prices): add provider-announced deprecation\_date to 205 registry entries by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37283](https://github.com/BerriAI/litellm/pull/37283)
- fix(model\_prices): correct gemini 3.1 flash image and deepseek v4 pricing, add openai deprecation dates by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37473](https://github.com/BerriAI/litellm/pull/37473)
- fix(model\_prices): set prompt\_cache\_min\_tokens=4096 for Gemini 3.5/3.6/3.7 Flash and 3.1 Pro Preview by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37516](https://github.com/BerriAI/litellm/pull/37516)
- fix(anthropic,bedrock): report provider thinking tokens instead of classifying them as text by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;35998](https://github.com/BerriAI/litellm/pull/35998)
- fix(batches): stop one bad output line from zeroing an entire batch's spend by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37457](https://github.com/BerriAI/litellm/pull/37457)
- feat(e2e): canonical content-based match keys for record-and-replay by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37525](https://github.com/BerriAI/litellm/pull/37525)
- feat(cli): add `lite login --config-claude` to wire Claude Code at login by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37507](https://github.com/BerriAI/litellm/pull/37507)
- fix(auth): resolve bare model names against wildcard deployments in model access groups by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37492](https://github.com/BerriAI/litellm/pull/37492)
- docs: run only the tests covering your change, leave suites to CI by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37528](https://github.com/BerriAI/litellm/pull/37528)
- feat(complexity-router): make the reasoning override floor configurable by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37537](https://github.com/BerriAI/litellm/pull/37537)
- fix(ui): drop stale user search answers so Enter commits the current match by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37504](https://github.com/BerriAI/litellm/pull/37504)
- refactor(ui): migrate the remaining dashboard pages off antd by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37524](https://github.com/BerriAI/litellm/pull/37524)
- feat(proxy): auto-suppress the no-Redis banner for confirmed single-worker deployments by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;36987](https://github.com/BerriAI/litellm/pull/36987)
- fix(proxy): retry spend updates on Postgres deadlock instead of dropping them by [@&#8203;RayJueWang](https://github.com/RayJueWang) in [#&#8203;34887](https://github.com/BerriAI/litellm/pull/34887)
- feat(search): add Amazon Bedrock AgentCore web search provider by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;36331](https://github.com/BerriAI/litellm/pull/36331)
- fix(helm): default litellm-helm to the ghcr.io/berriai/litellm image by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37491](https://github.com/BerriAI/litellm/pull/37491)
- refactor(ui): migrate antd Modal onto the shared shadcn Dialog by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37540](https://github.com/BerriAI/litellm/pull/37540)
- fix(ui): toggle unlimited budget when its text is clicked by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37547](https://github.com/BerriAI/litellm/pull/37547)
- feat(proxy): fast-fail validation for batch input files at /v1/files by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37527](https://github.com/BerriAI/litellm/pull/37527)
- chore: gitignore CLAUDE.local.md by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37545](https://github.com/BerriAI/litellm/pull/37545)
- perf(otel): build the credential-scoped tracer Resource once per logger by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37542](https://github.com/BerriAI/litellm/pull/37542)
- fix(ci): gate backend unit tests on the pull request's own file list by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37550](https://github.com/BerriAI/litellm/pull/37550)
- chore(codeowners): require pricing owner approval for the model prices jsons by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37551](https://github.com/BerriAI/litellm/pull/37551)
- fix(proxy): initialize the secret manager before resolving os.environ config references by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37544](https://github.com/BerriAI/litellm/pull/37544)
- refactor(ui): swap [@&#8203;ant-design/icons](https://github.com/ant-design/icons) for lucide-react by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37553](https://github.com/BerriAI/litellm/pull/37553)
- refactor(ui): migrate shared primitives and common components off antd by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37521](https://github.com/BerriAI/litellm/pull/37521)
- fix(spend-logs): backfill created\_at/updated\_at from row endTime instead of migration time by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37554](https://github.com/BerriAI/litellm/pull/37554)
- refactor(ui): migrate the MCP servers pages off antd by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37522](https://github.com/BerriAI/litellm/pull/37522)
- fix(vertex\_ai): apply regional endpoint uplift to cost tracking by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37543](https://github.com/BerriAI/litellm/pull/37543)
- fix(proxy): populate deployment attribution on failed-request spend logs by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37520](https://github.com/BerriAI/litellm/pull/37520)
- refactor(ui): migrate the model and router settings pages off antd by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37523](https://github.com/BerriAI/litellm/pull/37523)
- perf(ci): gate the lint, MCP and dashboard jobs on the pull request's file list by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37559](https://github.com/BerriAI/litellm/pull/37559)
- feat(router): allow per-tier litellm\_params in complexity autorouter config by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37064](https://github.com/BerriAI/litellm/pull/37064)
- fix(anthropic): log partial stream spend when a /v1/messages client disconnects mid-stream by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37558](https://github.com/BerriAI/litellm/pull/37558)
- fix(ui): clear pass-through header rows when the create modal is reopened by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37549](https://github.com/BerriAI/litellm/pull/37549)
- fix(ui): render optional array and object MCP tool parameters as JSON inputs by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37548](https://github.com/BerriAI/litellm/pull/37548)
- feat(proxy)!: default audit logs on for enterprise licenses by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37518](https://github.com/BerriAI/litellm/pull/37518)
- feat(ui): standardize the Teams page header by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;36897](https://github.com/BerriAI/litellm/pull/36897)
- feat(ptu): accrue flat cost for PTU deployments declared in config.yaml by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37556](https://github.com/BerriAI/litellm/pull/37556)
- refactor(ui): migrate the last antd components off antd onto shadcn by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37569](https://github.com/BerriAI/litellm/pull/37569)
- chore(ui): drop the antd dependency and its leftovers by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37574](https://github.com/BerriAI/litellm/pull/37574)
- refactor(ui): map hardcoded Tailwind palette classes onto semantic tokens by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37576](https://github.com/BerriAI/litellm/pull/37576)
- fix(ptu): hand the prune a plain delete filter the query builder can serialise by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37571](https://github.com/BerriAI/litellm/pull/37571)
- feat(proxy): enqueued-token rate limiting for batches with refund on completion and cancellation by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37539](https://github.com/BerriAI/litellm/pull/37539)
- fix(ui): restore hover feedback and dark-mode variants lost in the token migration by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37579](https://github.com/BerriAI/litellm/pull/37579)
- fix(ci): run the full dashboard suite when a change reaches outside src/ by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37563](https://github.com/BerriAI/litellm/pull/37563)
- fix(ui): keep semantic button colours on hover after the no-op hover cleanup by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37580](https://github.com/BerriAI/litellm/pull/37580)
- fix: add supports\_mid\_conversation\_system to bare first-party Claude cost-map keys by [@&#8203;oneKn8](https://github.com/oneKn8) in [#&#8203;36969](https://github.com/BerriAI/litellm/pull/36969)
- feat: add bedrock grok 4.6 to model cost map by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37517](https://github.com/BerriAI/litellm/pull/37517)
- fix: preserve prompt cache for mid-conversation system on unflagged Claude models by [@&#8203;oneKn8](https://github.com/oneKn8) in [#&#8203;36968](https://github.com/BerriAI/litellm/pull/36968)
- fix(router): routed deployment's own litellm\_params beat forwarded auto\_router marker params by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37615](https://github.com/BerriAI/litellm/pull/37615)
- refactor(ci): fold the nine thin unit-shard callers into one matrix by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37590](https://github.com/BerriAI/litellm/pull/37590)
- chore(ci): close the test-census blind spots and move scripts out of workflows/ by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37586](https://github.com/BerriAI/litellm/pull/37586)
- test: retire tests/old\_proxy\_tests, which holds no tests by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37605](https://github.com/BerriAI/litellm/pull/37605)
- feat(ci): ratchet the test suite's zero-assert, mock-echo and global-state debt by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37588](https://github.com/BerriAI/litellm/pull/37588)
- feat(proxy): native CLI login with OAuth authorization code + PKCE by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37626](https://github.com/BerriAI/litellm/pull/37626)
- feat(prompt-caching): map cache\_control\_injection\_points to OpenAI prompt\_cache\_breakpoint on GPT-5.6+ targets by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37628](https://github.com/BerriAI/litellm/pull/37628)
- fix(realtime): bound Vertex credential resolution and make realtime failures loud by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37604](https://github.com/BerriAI/litellm/pull/37604)
- fix(anthropic): map metadata.user\_id to prompt\_cache\_key on the /v1/messages bridge by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37623](https://github.com/BerriAI/litellm/pull/37623)
- fix(passthrough): resolve vertex live credentials from db model deployments by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37602](https://github.com/BerriAI/litellm/pull/37602)
- fix(prompt\_management): don't route no-prompt\_id requests to prompt managers that can't run them by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37575](https://github.com/BerriAI/litellm/pull/37575)
- test: remove the five test functions a later definition shadows by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37591](https://github.com/BerriAI/litellm/pull/37591)
- feat(ci): guard shard assignment across every sharded test tree by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37593](https://github.com/BerriAI/litellm/pull/37593)
- feat(ui): multi-key shadow eval picker and per-key breakdown by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37389](https://github.com/BerriAI/litellm/pull/37389)
- fix(ui): make dark-mode form controls visible by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37648](https://github.com/BerriAI/litellm/pull/37648)
- fix(ui): give status colours a readable foreground and drop the muted 70% step by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37649](https://github.com/BerriAI/litellm/pull/37649)
- fix(ui): make inline styles and code blocks follow the theme by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37651](https://github.com/BerriAI/litellm/pull/37651)
- fix(ui): move the policy flow builder onto theme tokens by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37654](https://github.com/BerriAI/litellm/pull/37654)
- test: settle three allowlist entries that were open questions by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37598](https://github.com/BerriAI/litellm/pull/37598)
- feat(ci): ratchet tests that skip themselves when a credential is absent by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37612](https://github.com/BerriAI/litellm/pull/37612)
- feat(ci): catch files a -k expression deselects from every job by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37601](https://github.com/BerriAI/litellm/pull/37601)
- test: run the 30 test files stranded in the second mirror by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37595](https://github.com/BerriAI/litellm/pull/37595)
- fix(ui): make hardcoded palette surfaces theme-aware by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37650](https://github.com/BerriAI/litellm/pull/37650)
- feat(cli): store the lite login credential in the OS keychain by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37566](https://github.com/BerriAI/litellm/pull/37566)
- fix(ui): draw one Per Day savings bar per date on Cost Optimization by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37643](https://github.com/BerriAI/litellm/pull/37643)
- feat(mistral): add zai-glm-5-2 and glm-5-2 model pricing by [@&#8203;mubashir1osmani](https://github.com/mubashir1osmani) in [#&#8203;37110](https://github.com/BerriAI/litellm/pull/37110)
- feat(complexity\_router): add business classification rubric preset by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37534](https://github.com/BerriAI/litellm/pull/37534)
- feat(ui): serve a dark-mode variant of the LiteLLM logo by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37656](https://github.com/BerriAI/litellm/pull/37656)
- fix(otel): route Phoenix traces to per-key/team projects under otel v2 by [@&#8203;mubashir1osmani](https://github.com/mubashir1osmani) in [#&#8203;36706](https://github.com/BerriAI/litellm/pull/36706)
- test: replace blind sleeps with deadline waits in callback and caching tests by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37660](https://github.com/BerriAI/litellm/pull/37660)
- fix(cli): keep the --pkce refresh token in the OS keychain, not in token.json by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37665](https://github.com/BerriAI/litellm/pull/37665)
- fix(ui): keep keyword tier rules that target operator-defined tiers when hydrating the edit modal by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37413](https://github.com/BerriAI/litellm/pull/37413)
- feat(proxy): add POST /auto\_router/validate\_complexity\_router\_config to dry-run the complexity-router write gate by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37409](https://github.com/BerriAI/litellm/pull/37409)
- feat(ui): let admins supply a dark-mode variant of their custom logo by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37662](https://github.com/BerriAI/litellm/pull/37662)
- fix(proxy): run pre-call guardrails on batch input file uploads by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37519](https://github.com/BerriAI/litellm/pull/37519)
- feat(ui): add a light/dark/system theme toggle to the top bar by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37669](https://github.com/BerriAI/litellm/pull/37669)
- feat(proxy): redact or drop individual batch records instead of rejecting the file by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37561](https://github.com/BerriAI/litellm/pull/37561)
- refactor(ui): mark dark as beta in the theme menu instead of the toolbar by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37680](https://github.com/BerriAI/litellm/pull/37680)
- ci: lint the test tree for undefined names (F821) and fix all 30 by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37671](https://github.com/BerriAI/litellm/pull/37671)
- feat(e2e): move record/replay to the provider edge (LIT-5745) by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37565](https://github.com/BerriAI/litellm/pull/37565)
- fix(mcp): let a salt-key-orphaned OAuth credential be replaced by re-authorization by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37672](https://github.com/BerriAI/litellm/pull/37672)
- fix(mcp): normalize auth schemes so MCP egress emits exactly one prefix by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37668](https://github.com/BerriAI/litellm/pull/37668)
- test: add six ruff rules that catch tests which cannot fail by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37709](https://github.com/BerriAI/litellm/pull/37709)
- perf(ci): measure unit-shard coverage with the sys.monitoring core by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37589](https://github.com/BerriAI/litellm/pull/37589)
- test: merge three stranded twins into the files that shadow them by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37600](https://github.com/BerriAI/litellm/pull/37600)
- test(ci): reject coverage-allowlist entries that no longer match a file by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37608](https://github.com/BerriAI/litellm/pull/37608)
- feat(ci): assert .github/workflows holds only workflows, correctly named by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37616](https://github.com/BerriAI/litellm/pull/37616)
- feat(ci): freeze the conftest save/restore inventory so it can only shrink by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37621](https://github.com/BerriAI/litellm/pull/37621)
- fix(a2a): accept the whole JSON-RPC id union the spec defines by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37704](https://github.com/BerriAI/litellm/pull/37704)
- fix(ptu): refuse an incomplete config.yaml reservation the way the endpoints do by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37703](https://github.com/BerriAI/litellm/pull/37703)
- chore: bump litellm-enterprise 0.1.57 -> 0.1.58, litellm-proxy-extras 0.4.87 -> 0.4.88 by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37717](https://github.com/BerriAI/litellm/pull/37717)
- feat(perplexity): add Agent API third-party models by [@&#8203;mubashir1osmani](https://github.com/mubashir1osmani) in [#&#8203;37112](https://github.com/BerriAI/litellm/pull/37112)
- fix(ui): surface the paginated fallback on Cost Optimization by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37659](https://github.com/BerriAI/litellm/pull/37659)
- feat(shadow\_eval)!: gate the per-key budget on dollar spend instead of turns by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37555](https://github.com/BerriAI/litellm/pull/37555)
- feat(ui): per-model reasoning effort in the complexity tier editor by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37673](https://github.com/Berr…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants