Skip to content

fix(databricks): bill cached tokens at cache rates and add missing Claude pricing - #37975

Merged
mateo-berri merged 10 commits into
litellm_internal_stagingfrom
litellm_databricks_cache_token_pricing
Aug 24, 2026
Merged

mateo-berri merged 10 commits into
litellm_internal_stagingfrom
litellm_databricks_cache_token_pricing

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • Databricks billed cache reads at the full input rate
  • Databricks registry entries carried no cache read or write rates
  • Claude Opus 4.7, 4.8, 5, Sonnet 5 and Fable 5 were unpriced

How it solves it:

  • Databricks cost calculation now runs through the cache-aware calculator
  • Adds cache read and write rates to 42 existing entries
  • Adds the five missing Claude entries at published DBU rates

User Flow

Before: a developer tracking Databricks Claude spend pays full input price for every cached token, and sees no spend at all on the newest models

  1. They configure databricks/databricks-claude-sonnet-4-5 and send POST https://litellm-domain/v1/chat/completions with a prompt long enough to be cached
  2. The response comes back 200, reporting 1,500 prompt tokens of which 800 are cache reads and 500 are cache writes, plus 100 completion tokens
  3. They send that usage to POST https://litellm-domain/spend/calculate and get back {"cost": 0.005999987}, the same amount an entirely uncached request of that size costs
  4. They switch to databricks/databricks-claude-opus-5 and repeat, and https://litellm-domain/spend/calculate returns {"cost": 0.0}, so the request lands on https://litellm-domain/ui/?page=logs at $0 spend

After: cache reads and cache writes bill at their own rates, and the newest models report real spend

  1. They configure databricks/databricks-claude-sonnet-4-5 and send POST https://litellm-domain/v1/chat/completions with a prompt long enough to be cached
  2. The response comes back 200, reporting 1,500 prompt tokens of which 800 are cache reads and 500 are cache writes, plus 100 completion tokens
  3. They send that usage to POST https://litellm-domain/spend/calculate and get back {"cost": 0.004215001}, with cache reads and cache writes each billed at their own published rate
  4. They switch to databricks/databricks-claude-opus-5 and repeat, and https://litellm-domain/spend/calculate returns {"cost": 0.007025025}, which is what https://litellm-domain/ui/?page=logs now shows for the request

Relevant issues

Linear ticket

Resolves LIT-5977

Pricing sources

Rates come from the published Databricks DBU table for proprietary foundation model serving, converted at the documented $0.070 per DBU that the existing entries already use.

Model Input DBU/1M Output DBU/1M Cache write DBU/1M Cache read DBU/1M
Opus 4.7 71.429 357.143 89.286 7.143
Opus 4.8 71.429 357.143 89.286 7.143
Opus 5 71.429 357.143 89.286 7.143
Sonnet 5 42.857 214.286 53.571 4.286
Fable 5 142.858 714.286 178.572 14.286

Each dollar figure is that DBU rate multiplied by $0.070, written to the significant digits the multiplication yields. Databricks publishes rates like 71.429 DBU per million tokens rather than round numbers, so the dollar rates come out non-round as well: Opus 5 input is 71.429 x $0.070 = $5.00003 per million tokens, not an even $5.00. A literal such as 3.0002e-07 is therefore the intended cache read rate for Sonnet 5, taken from its published 4.286 cache read DBU, and not a rounding artifact. The values are stored at exactly that precision, so none of them carry the trailing digits a raw float product would leave behind

Cache rates are derived exactly the way input and output are, from the published cache write and cache read DBU for that model, never as a ratio of the input rate. That distinction is worth stating because Databricks does not publish cache rates as clean multiples: Opus 5 lists 7.143 cache read DBU against 71.429 input DBU, giving $0.50001 per million tokens where a flat tenth of input would have given $0.500003. Of the 47 Databricks entries, 33 carry cache rates and the remaining 14 publish none at all and are covered two paragraphs below. Of those 33, 29 take their cache DBU straight from the published table, while databricks-claude-3-7-sonnet and databricks-claude-sonnet-4-1 are absent from it and instead inherit the Sonnet 4 family's rates, which they already match on an implied 42.857 input DBU

Two of those 33 deliberately sit below the published table. databricks-gemini-2-5-pro and databricks-gemini-2-5-flash carry a 20% promotional discount that the published DBU figures exclude and that runs through 2027-01-31, which is exactly why their stored rates land a factor of 1.25 under the table. They are correct as they stand rather than stale, so this PR does not touch them. Their cache rates follow their own discounted input rate instead of the undiscounted published cache DBU, keeping each entry on a single price list. A test pins both the discount and the cache relationship, so whoever drops the 1.25x when the promotion ends has to move the cache rates with it

That promotion is marked on every Gemini row, not just the 2.5 pair, and six covered models have registry entries. The other four, databricks-gemini-3-pro, databricks-gemini-3-1-pro, databricks-gemini-3-flash and databricks-gemini-3-1-flash-lite, store the full list rate and therefore bill about 25% above what Databricks actually charges. Those input and output literals predate this branch and it does not change them. The cache rates it adds for the four are derived from each entry's own stored input rate, which is what Databricks bills a Gemini cache write at, so every field on those entries stays on one price list and a later correction can move all of them together. The tests name the two groups separately for what they store rather than implying the four are exempt from the promotion, and the overcharge is tracked on its own ticket

The change is not uniformly a refund, and it is worth being explicit about the direction. Cache reads fall a long way, 9.7x on the request in the proof below, because they used to bill at the full input rate. Cache writes move the opposite way: they also used to fall back to the input rate, and they now bill the published write premium, 1.25x input on every Claude model here. A workload that writes the cache more often than it reads will see its reported spend go up, and the proof below shows both directions on the same pair of requests.

Sonnet 5 is listed at its standard rates rather than the introductory launch rates (28.571 input and 142.857 output DBU), which run only through 2026-08-31. Pricing entries carry no expiry date, so the choice is which direction to be wrong in. Standard rates overcharge Sonnet 5 by 50% for the nine days left in the introductory window, then become correct on their own. Introductory rates would read correctly for nine days and then undercharge by a third indefinitely, letting real spend outrun an enforced budget with no signal. The introductory numbers are kept in the entry's metadata.notes.

Opus 4.7 and Opus 4.8 are both priced from their own published rate of 71.429 input DBU, matching Opus 4.5 and 4.6. Neither had an entry before, so both fell back to the original Opus 4 at 214.286 DBU and billed $15 per million input tokens where Databricks charges $5. Correcting that drops their billed rate threefold, to $5 in and $25 out per million. It is a correction rather than a discount, but it is a visible decrease for anyone already calling either model. Opus 5, Sonnet 5 and Fable 5 had no fallback to land on at all and billed $0, so for those three the change is a rise from nothing to a real rate

The 14 Databricks models that publish no cache pricing at all, the Llama, Mixtral, Gemma, GPT OSS, MPT and embedding entries, get cache rates equal to their input rate. Routing them through the shared calculator otherwise bills a cached token at zero, because that calculator treats a missing cache rate as free, and a model with no caching discount should charge the ordinary input price instead. On a 10,000 token prompt with 8,000 cache reads this is the difference between $0.0050001 and $0.0010000, a fivefold undercharge, and a test now pins every priced Databricks entry to declaring cache rates so no future entry can regress into it.

Registry changes are additive and confined to databricks/ keys: no entry is removed and no existing rate is changed. Alongside the cache rates, 28 of the 42 existing entries newly declare supports_prompt_caching, which they had left off despite the provider supporting it. An old-formula versus new-formula comparison over an uncached usage block came back identical for all 47 Databricks models, and all seven legacy endpoint aliases kept their existing behaviour.

Pre-Submission checklist

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

  • I have added meaningful tests
  • The handful of test files covering my change pass locally, e.g. uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*, make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • 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

Shared setup, identical on both legs: two separate proxy processes each booted litellm --config <cfg> --num_workers 2 on two random free high ports, sharing one Postgres database and one Redis, matching the multi-pod shape customers run. Every request is sent through one instance and its spend is read back through the other. LITELLM_LOCAL_MODEL_COST_MAP=True so pricing comes from the checked-out registry. Clients are the OpenAI Python SDK for /v1/chat/completions and /v1/responses and the Anthropic Python SDK for /v1/messages. Cached cases send a large system block carrying cache_control: {"type": "ephemeral"} twice, so the second call is a real cache read against Databricks. Model deployments are databricks/databricks-claude-sonnet-4-5 and databricks/databricks-claude-opus-5 on a live Databricks workspace.

Before (a44bb47)

Cached request on /v1/chat/completions

  1. Send the priming call, then the identical call through the other instance with the OpenAI SDK. The second response reports prompt_tokens 9895, cache_read_input_tokens 9882, completion_tokens 4, so only 13 prompt tokens were fresh
  2. Read the spend back through the first instance:
$ curl -s -H "Authorization: Bearer $KEY" "http://127.0.0.1:18317/spend/logs?request_id=msg_bdrk_013s2cRNWXJKioF38CXe3bd1"
"spend": 0.02974490113, "prompt_tokens": 9895, "completion_tokens": 4, "call_type": "acompletion"
metadata.cost_breakdown = {"input_cost": 0.029684901050000004, "output_cost": 6.000008000000001e-05, "total_cost": 0.029744901130000004}
  1. That is 9895 * 3.00/1M + 4 * 15.00/1M, so all 9882 cache-read tokens were billed at the full input rate. At the published cache-read rate the same request costs 0.00306379759, so the bill is 9.7x too high

Unpriced new model on /v1/chat/completions

  1. Send a short completion to databricks/databricks-claude-opus-5. It returns 200 with content ok and usage prompt_tokens 16, completion_tokens 4, so Databricks really served and really billed it
  2. Read the spend back through the other instance:
$ curl -s -H "Authorization: Bearer $KEY" "http://127.0.0.1:18317/spend/logs?request_id=msg_bdrk_qas2gynkl4sykjumrcvmh2zoxwov2uricuzt4vlnqv4j7u6t3gfq"
"model": "databricks/databricks-claude-opus-5", "spend": 0.0, "prompt_tokens": 16, "completion_tokens": 4
metadata.cost_breakdown = {"input_cost": 0, "output_cost": 0, "total_cost": 0.0}
  1. Spend is exactly 0.0 on a real billable request

Cached request on /v1/messages

  1. Run the same two-call cache flow with the Anthropic SDK. The second response reports input_tokens 13, cache_read_input_tokens 9882, output_tokens 4
  2. Read the spend back through the other instance:
$ curl -s -H "Authorization: Bearer $KEY" "http://127.0.0.1:19483/spend/logs?request_id=msg_bdrk_01SCsmwARE1jzRz6zykE7pPg"
"spend": 0.02974490113, "prompt_tokens": 9895, "completion_tokens": 4, "call_type": "anthropic_messages"
  1. Identical to the chat-completions case, so the route makes no difference

Cached request on /v1/responses

  1. Run the same two-call cache flow with the OpenAI SDK responses API. The second response reports input_tokens 9895, input_tokens_details.cached_tokens 9882, output_tokens 4
  2. Read the spend back through the other instance:
$ curl -s -H "Authorization: Bearer $KEY" "http://127.0.0.1:19483/spend/logs?request_id=msg_bdrk_016oxJmfGqvkyP7T2BZ28X2t"
"spend": 0.02974490113, "prompt_tokens": 9895, "completion_tokens": 4, "call_type": "aresponses"
  1. All three cached routes land on the same 0.02974490113, because the cost calculation never looks at the cache-read split

After (0a869b7)

Commits since this hash (112224a, 9f1191e, 77cae92, 15e8a35) net to test-only changes: the head's tree differs from it solely in tests/test_litellm/llms/databricks/test_databricks_cost_calculator.py, so proxy behavior at the tip is identical to this proven run

Two proxy instances, each started with --num_workers 2, sharing one Postgres and one Redis. Every case is sent through one instance and the spend read back through the other, so the numbers below survive a process boundary. Instance A is 127.0.0.1:39346, instance B is 127.0.0.1:51566.

Cached request on /v1/chat/completions

  1. Send a priming call carrying a ~10k-token cache_control: {"type": "ephemeral"} system block through A, then send the identical call again. The second response reports prompt_tokens 10184, cache_read_input_tokens 10170, completion_tokens 4
  2. Read the spend back through B:
$ curl -s -X GET "http://127.0.0.1:51566/spend/logs?request_id=msg_bdrk_017bQ6PSke7u8NQrc8DUZBgj" -H "Authorization: Bearer $KEY"
"spend": 0.00315320334, "cache_read_input_tokens": 10170,
"cost_breakdown": {"cache_read_cost": 0.0030512034000000003, "total_cost": 0.00315320334}
  1. That is 14 * 2.99999/1M + 10170 * 0.30002/1M + 4 * 15.00002/1M, exact to the last digit, against 0.03061189824 under the old full-rate arithmetic, so 9.71x cheaper. The 14 text tokens are prompt_tokens minus the cache tokens, because Databricks reports prompt_tokens inclusive of them
  2. The paired cache write msg_bdrk_01VhKmwPEhWYxD5SFKhyWvqN billed 0.038239194840000004, exactly 14 * 2.99999/1M + 10170 * 3.74997/1M + 4 * 15.00002/1M, so the write rate is live too

Unpriced new model on /v1/chat/completions

  1. Send a short completion to databricks/databricks-claude-opus-5 through B. It returns 200 with usage prompt_tokens 22, completion_tokens 7
  2. Read the spend back through A:
$ curl -s -X GET "http://127.0.0.1:39346/spend/logs?request_id=msg_bdrk_pvlfwlgc7ukqwutwf5r5ijxy6bveqbptkgmwxr5d2jfcroftxqta" -H "Authorization: Bearer $KEY"
"spend": 0.00028500073,
"cost_breakdown": {"input_cost": 0.00011000066, "output_cost": 0.00017500007}
  1. That is 22 * 5.00003/1M + 7 * 25.00001/1M, non-zero where the same call previously billed nothing, and $5.00003/1M is exactly the published 71.429 input DBU at $0.070 per DBU

Cached request on /v1/messages

  1. Run the same two-call cache flow with the Anthropic SDK through A. The response reports input_tokens 14, cache_read_input_tokens 10170, output_tokens 4
  2. Read the spend back through B:
$ curl -s -X GET "http://127.0.0.1:51566/spend/logs?request_id=msg_bdrk_01My8JVDdoCuYuG5tcppUZES" -H "Authorization: Bearer $KEY"
"spend": 0.00315320334, "call_type": "anthropic_messages",
"cost_breakdown": {"cache_read_cost": 0.0030512034000000003}
  1. Identical to the chat-completions case, down to the cache-read component

Cached request on /v1/responses

  1. Run the same two-call cache flow with the OpenAI responses SDK through B. The response reports input_tokens 10184, input_tokens_details.cached_tokens 10170
  2. Read the spend back through A:
$ curl -s -X GET "http://127.0.0.1:39346/spend/logs?request_id=msg_bdrk_01U4P6UsvoRjADf5shyxg5RC" -H "Authorization: Bearer $KEY"
"spend": 0.00315320334, "call_type": "aresponses",
"cost_breakdown": {"cache_read_cost": 0.0030512034000000003}
  1. All three cached routes agree on the cache-aware figure, and the previously unpriced model bills at its published rate

Observations from the run, none of them caused or worsened by this PR:

  • spend stores one ULP below cost_breakdown.total_cost on the largest of the values, a float round-trip in that column
  • Opus 5 rejects temperature upstream, and drop_params does not strip it
  • /spend/logs keys on the provider message id, not the resp_... id the responses SDK hands back
  • Databricks returns Anthropic-shaped cache fields on all three routes

Type

🐛 Bug Fix
🆕 New Feature

Caveats (if any)

  • Sonnet 5 ships at standard rates, not the expiring introductory ones
  • Opus 4.7 and 4.8 now bill at their own rate, threefold below Opus 4's
  • Fable 5 rates come from the published table; no endpoint served to verify
  • Fable 5 is the one Claude endpoint Databricks documents as text-only, so it ships without vision
  • Cache writes now bill the 1.25x premium instead of falling back to input, so write-heavy spend rises
  • Gemini 2.5 Pro and Flash carry a 20% promotion through 2027-01-31, so their cache rates track the discount
  • Four Gemini 3 entries store the pre-existing list rate and bill 25% high; untouched here, tracked separately
  • Rates assume the US $0.070 per DBU on Global endpoints; other regions and In-geo tiers differ
  • Long-context tiers above 200k tokens publish separate higher rates that the registry does not model
  • New entries shadow future minor versions, so Opus 5.1 inherits Opus 5 pricing
  • Opus 4.9 is still unlisted, so it keeps inheriting Opus 4's threefold-higher rate
  • No entry carries a 1h-TTL cache write rate, which would bill zero if Databricks ever returned one
  • 28 entries newly declare cache support, but auto cache-control injection stays off for Databricks
  • The 42 pre-existing entries keep the older metadata.notes wording about the DBU fields
  • A pre-existing test swapped opus-5-1 for haiku-5-1, since the new entry makes the former mapped
  • Legacy dbrx-instruct and meta-llama-3.1-70b aliases stay unpriced, unchanged
  • Custom per-token pricing double-counts cache tokens, a separate pre-existing bug

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

  • 15e8a35 passes /live-pr-risk


Note

Medium Risk
Changes affect reported customer spend and billing for all Databricks traffic, including large corrections for newly mapped Opus models and cache-heavy workloads; risk is mitigated by extensive tests but pricing JSON mistakes would propagate widely.

Overview
Databricks spend calculation now routes through generic_cost_per_token instead of multiplying raw prompt_tokens by the input rate. Legacy endpoint aliases (e.g. mixtral-8x7b-instruct-v0.1) are normalized via a small prefix map before registry lookup, so cache read/write usage fields can bill at their own rates.

The model price registry (main + backup JSON) is updated in bulk for Databricks: cache_creation_input_token_cost and cache_read_input_token_cost on existing entries, supports_prompt_caching on many chat models, and new priced entries for Claude Opus 4.7/4.8/5, Sonnet 5, and Fable 5 at published DBU-derived dollar rates.

Tests lock in cached vs uncached math, DBU conversion for new models, legacy alias resolution, promotional vs list Gemini rates, and that Databricks Claude models do not receive automatic cache_control injection even when caching is marked supported.

Reviewed by Cursor Bugbot for commit 15e8a35. Bugbot is set up for automated code reviews on this repo. Configure here.

…aude pricing

Databricks cost calculation multiplied every prompt token by the input rate, so
a cache read cost the same as an uncached token. Route it through
generic_cost_per_token, which already understands cache reads and cache writes,
and add the cache rates the registry was missing.

Adds Claude Opus 4.7, Opus 4.8, Opus 5, Sonnet 5 and Fable 5 on Databricks.
@greptile-apps

greptile-apps Bot commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR makes Databricks spend calculation cache-aware and adds pricing metadata for newer Claude models.

  • Routes Databricks token costs through the shared cache-aware calculator.
  • Adds cache read/write rates and prompt-caching capabilities to Databricks registry entries.
  • Adds pricing and capabilities for Claude Opus 4.7, Opus 4.8, Opus 5, Sonnet 5, and Fable 5.
  • Expands regression coverage for cache billing, promotional rates, endpoint aliases, and fallback matching.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains, and the previously reported test typing issue is resolved at the current head.

Important Files Changed

Filename Overview
litellm/llms/databricks/cost_calculator.py Replaces direct input/output arithmetic with the shared cache-aware calculator while preserving legacy endpoint normalization.
model_prices_and_context_window.json Adds Databricks cache rates, caching capability metadata, and five Claude pricing entries.
litellm/model_prices_and_context_window_backup.json Mirrors the Databricks pricing and capability updates in the backup registry.
tests/test_litellm/llms/databricks/test_databricks_cost_calculator.py Adds comprehensive billing and registry tests; the previously reported missing type annotations are now present.
tests/test_litellm/integrations/test_anthropic_cache_control_hook.py Verifies that advertising Databricks prompt caching does not enable automatic Anthropic cache-control injection.
tests/test_litellm/litellm_core_utils/test_fallback_generalizations.py Updates fallback generalization coverage for newly registered Claude model families.

Reviews (6): Last reviewed commit: "test: separate gemini entries storing th..." | Re-trigger Greptile

Comment thread model_prices_and_context_window.json Resolved
@veria-ai

veria-ai Bot commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

This pull request updates Databricks model pricing so cached tokens are billed at cache-specific rates and adds missing Claude pricing. It also modifies the primary and backup model pricing maps.

Two pricing issues remain open despite one issue having been addressed. Long-context Gemini Pro cache usage is underbilled, allowing users to consume more resources than proxy budgets reflect, while Sonnet 5 rates are applied before their effective date and can prematurely exhaust shared budgets. The tiered cache-pricing gap is the more significant remaining concern because it permits repeatable budget-control circumvention.

Open issues (2)

Fixed/addressed: 1 · PR risk: 6/10

@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…ry window

The introductory DBU rates run through 2026-08-31 and pricing carries no
expiry date, so a static introductory entry would undercharge by a third
from September 1 and let spend outrun enforced budgets. Ship the standard
rates, which match Sonnet 4.5 and 4.6, and keep the introductory numbers
in the entry notes.

Also give the new cost calculator tests full type annotations.
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

Comment thread model_prices_and_context_window.json Outdated
"databricks/databricks-claude-sonnet-5": {
"cache_creation_input_token_cost": 3.7499875e-06,
"cache_read_input_token_cost": 2.9999900000000006e-07,
"input_cost_per_token": 2.9999900000000002e-06,

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.

Low: Premature rate increase enables shared-budget exhaustion

These standard rates do not take effect until September 1, 2026, but the calculator and reservation path consume this value immediately. Until then, a team member can make Sonnet 5 requests count at roughly 150% of their actual cost and prematurely exhaust shared team, key, or model budgets; retain the introductory rates until the transition date or add date-aware pricing. Apply the same correction to litellm/model_prices_and_context_window_backup.json.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Your earlier thread asked for exactly these standard rates. No date-aware pricing exists, and undercharging past August 31 breaks budgets worse.

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.

Thanks for the detail. I can't automatically confirm this is safe to dismiss, so I'm leaving the thread open for a maintainer to make the call.

…h no cache pricing

The shared cost calculator treats a missing cache rate as free, so routing
Databricks through it billed cached tokens at zero on the 14 entries that
publish no cache pricing. On a 10,000 token prompt with 8,000 cache reads
that is $0.0010000 against the correct $0.0050001, a fivefold undercharge.

Those entries now declare cache rates equal to their input rate, which is
what a model with no caching discount should charge, and a test pins every
priced Databricks entry to declaring cache rates so no future entry can
regress into it.

Also repoints the provider-neutral generalization test off an id the new
Opus 5 entry now shadows, adds backup-to-main parity tests for the five new
entries, pins that Databricks Claude is never auto-injected with cache
control despite reporting caching support, and trims the Sonnet 5 pricing
note, which is served on an unauthenticated route.
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

The new supports_prompt_caching assertion reads a capability this branch
adds to the registry, so it only holds against the bundled map. CI leaves
LITELLM_LOCAL_MODEL_COST_MAP unset and fetches main's copy, which lags the
branch until merge, so the test failed there while passing locally.

Use the local_model_cost_map fixture the repo already provides, matching
what the other two test files in this change do.
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

The figures came out of a float product of the DBU rate and the dollar
rate, so the map carried representation tails such as
2.9999900000000006e-07 where the derivation only means 2.99999e-07.

Trim the 44 values this change adds or edits to the shortest literal that
round-trips to the same figure, leaving every pre-existing value alone.
The largest move is under 1e-15 relative, so no billed amount changes.
Cache rates were derived as ratios of the dollar input rate (1.25x write,
0.1x read) while input and output derive from the published DBU table
times $0.070. Databricks publishes cache write and cache read DBU per
model, and those are not exact multiples of the input DBU, so the two
rules disagreed by up to 0.1 percent.

Rewrites 43 cache literals across 31 entries to published_cache_DBU x
$0.070. Skips databricks-gemini-2-5-pro and databricks-gemini-2-5-flash,
whose input and output rates predate the current table by a 1.25x
increase; their cache rates stay tied to their own input rate so each
entry remains internally consistent.

Replaces the ratio assertions with a test pinning the absolute published
DBU figures for the five new models, and adds a test pinning the
older-vintage exception. Corrects the metadata note on the five new
entries, which claimed the reference-only *_dbu_cost_per_token fields
drive cost calculation.
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@codspeed

codspeed Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing litellm_databricks_cache_token_pricing (15e8a35) with litellm_internal_staging (aae36f4)

Open in CodSpeed

… published DBU

databricks-claude-fable-5 was the only fable-5 entry in the registry
declaring supports_vision false, and the only one of the five new
entries to do so.

Only the five new models were pinned against the published DBU table,
so the 26 cache literals added to pre-existing entries were checked by
nothing independent. Extend the table to all 33 entries carrying cache
rates and assert both cache fields against it for the 31 that take the
published rates, leaving the two older-vintage gemini-2-5 entries to
their existing guard.

Also widen the cache-declaration guard to both cache fields, and
replace the single-model equals-input assertion with one that covers
all 14 entries publishing no cache rates.
…tale

The two gemini 2.5 entries price a factor of 1.25 under the published DBU
table because the published figures exclude a 20% promotion that runs to
2027-01-31. The previous constant name and test called them an older vintage
awaiting a refresh, which would have led a future reader to scale them up and
overcharge. Pin the discount and the cache relationship instead.
Databricks documents databricks-claude-fable-5 as accepting text only,
where every sibling Claude endpoint accepts text and image. An earlier
commit flipped the flag to true on the reasoning that fable-5 was the
only entry of its generation declaring false, which had it backwards:
it is the only one because the endpoint really does refuse images.
Advertising vision here would surface the model in capability filters
and hand the caller a provider-side rejection.
…ng list

The 20% promotion that runs to 2027-01-31 covers every gemini model, not
just the 2.5 pair, so a constant naming two of them implied the other four
were exempt. Six covered entries live in the registry: two store the
discounted rate and four store list, which is a pre-existing overcharge
this branch does not touch, since it only adds cache fields and derives
them from each entry's own input rate. Name both groups for what they
store, pin the expiry, and tighten the tolerance to 2e-4.
},
"databricks/databricks-gemini-2-5-pro": {
"cache_creation_input_token_cost": 1.24999e-06,
"cache_read_input_token_cost": 1.24999e-07,

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.

Medium: Long-context cache usage is underbilled

Databricks increases Gemini Pro cache rates above 200k input tokens, but this entry only defines the short-context rate. Because generic_cost_per_token activates tiered cache pricing only when an input_cost_per_token_above_200k_tokens field exists, a user can repeatedly submit cached prompts above 200k tokens and be charged the lower rate against their proxy budget. The same issue affects databricks-gemini-3-1-pro and databricks-gemini-3-pro; add the input, output, cache-creation, and cache-read above-200k fields to both price maps.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These entries never modeled 200k tiers; input and output share that pre-existing gap. A cache-rate fix is the wrong place to introduce tiered pricing.

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.

Thanks for the detail. I can't automatically confirm this is safe to dismiss, so I'm leaving the thread open for a maintainer to make the call.

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@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 15e8a35. Configure here.

@mateo-berri
mateo-berri enabled auto-merge August 24, 2026 17:29
@mateo-berri
mateo-berri merged commit 3122600 into litellm_internal_staging Aug 24, 2026
76 checks passed
@mateo-berri
mateo-berri deleted the litellm_databricks_cache_token_pricing branch August 24, 2026 17:36
doonga pushed a commit to greyrock-labs/home-ops that referenced this pull request Sep 6, 2026
…00.0) (#124)

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.99.1` → `v1.100.0` |

---

### Release Notes

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

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

[Compare Source](https://github.com/BerriAI/litellm/compare/v1.99.1...v1.100.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.100.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.100.0/cosign.pub \
  ghcr.io/berriai/litellm:v1.100.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

- fix(responses): keep the conversation when chaining previous\_response\_id on the bridge by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37956](https://github.com/BerriAI/litellm/pull/37956)
- feat(newrelic): per-team New Relic trace routing via team callbacks by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37603](https://github.com/BerriAI/litellm/pull/37603)
- perf(ci): cache uv dependencies in the lint job by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37783](https://github.com/BerriAI/litellm/pull/37783)
- perf(ci): fan the budget checkers out across cores by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37784](https://github.com/BerriAI/litellm/pull/37784)
- ci: port the Postgres suites off CircleCI onto service containers by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37785](https://github.com/BerriAI/litellm/pull/37785)
- feat(ci): gate patching of SDK internals in tests as TQ008 by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37787](https://github.com/BerriAI/litellm/pull/37787)
- ci: measure enterprise/ coverage by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37788](https://github.com/BerriAI/litellm/pull/37788)
- ci: run the keyless caching tests that ran in no job by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37790](https://github.com/BerriAI/litellm/pull/37790)
- fix(ci): run the migration DDL guard, and stop it reading comments as SQL by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37791](https://github.com/BerriAI/litellm/pull/37791)
- ci: run the enterprise package suite in GitHub Actions by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37798](https://github.com/BerriAI/litellm/pull/37798)
- perf(ci): give the two longest unit shards the runner's spare cores by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37804](https://github.com/BerriAI/litellm/pull/37804)
- test(exception-mapping): pin the status and error-shape table every provider maps to by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37807](https://github.com/BerriAI/litellm/pull/37807)
- fix(terraform): add soft\_budget, tags, and soft\_budget\_alerting\_emails to litellm\_team by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37918](https://github.com/BerriAI/litellm/pull/37918)
- fix(ui): theme the created-key box so it follows dark mode by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37985](https://github.com/BerriAI/litellm/pull/37985)
- fix(ui): restore the public model name tooltip layout in the add model flow by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37986](https://github.com/BerriAI/litellm/pull/37986)
- fix(ui): render team and org tpm/rpm limits of 0 as 0 instead of Unlimited by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37916](https://github.com/BerriAI/litellm/pull/37916)
- fix(ui): repoint the key detail URL to the rotated hash after regenerating by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37968](https://github.com/BerriAI/litellm/pull/37968)
- fix(ui): make playground chat bubbles theme-aware by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;37978](https://github.com/BerriAI/litellm/pull/37978)
- fix(UI): correct skill install command and marketplace setup UX by [@&#8203;ozolam](https://github.com/ozolam) in [#&#8203;33514](https://github.com/BerriAI/litellm/pull/33514)
- fix(proxy): skip health checks for strategy routers by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37966](https://github.com/BerriAI/litellm/pull/37966)
- fix(databricks): bill cached tokens at cache rates and add missing Claude pricing by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37975](https://github.com/BerriAI/litellm/pull/37975)
- fix(anthropic): round-trip thinking blocks to OpenAI backends on /v1/messages by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;37953](https://github.com/BerriAI/litellm/pull/37953)
- fix(a2a): normalize agent card protocolBinding casing before transport match by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37917](https://github.com/BerriAI/litellm/pull/37917)
- fix(interactions): track cost and spend for Google Interactions API requests by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;33310](https://github.com/BerriAI/litellm/pull/33310)
- fix(bedrock): stop emitting an empty assistant delta after the finish\_reason chunk by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;36806](https://github.com/BerriAI/litellm/pull/36806)
- fix(anthropic): reconcile enum with declared type in output\_format schema by [@&#8203;dkindlund](https://github.com/dkindlund) in [#&#8203;37882](https://github.com/BerriAI/litellm/pull/37882)
- feat(azure\_ai): support entra id / oauth auth on every azure ai foundry route by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;35415](https://github.com/BerriAI/litellm/pull/35415)
- fix(ui): boot the UI image as an arbitrary uid by anchoring nginx writes under /tmp by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37982](https://github.com/BerriAI/litellm/pull/37982)
- fix(proxy): parse form-encoded video edit/extension bodies after auth by [@&#8203;Souravrajvi0](https://github.com/Souravrajvi0) in [#&#8203;36513](https://github.com/BerriAI/litellm/pull/36513)
- fix(anthropic): keep legacy thinking budget\_tokens on Claude 4.6 models on /v1/messages by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38108](https://github.com/BerriAI/litellm/pull/38108)
- fix(utils): make prompt\_token\_calculator count claude models again by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38130](https://github.com/BerriAI/litellm/pull/38130)
- fix(proxy): keep every value of a repeated form key, and gate the tests that hid it by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;37908](https://github.com/BerriAI/litellm/pull/37908)
- fix(health): apply model\_info.health\_check\_params to health check probes by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38101](https://github.com/BerriAI/litellm/pull/38101)
- fix(runwayml): route every generation endpoint and fix video cost tracking by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38115](https://github.com/BerriAI/litellm/pull/38115)
- fix(passthrough): attribute spend and release budget reservation on router-model /vllm and /azure routes by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38111](https://github.com/BerriAI/litellm/pull/38111)
- fix: match OpenAI SDK wire format on image/video routes by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38104](https://github.com/BerriAI/litellm/pull/38104)
- fix(ci): give three unit shards a job deadline that outlasts their pytest budget by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38139](https://github.com/BerriAI/litellm/pull/38139)
- feat(ui): add Gemini Family auto-router preset by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38138](https://github.com/BerriAI/litellm/pull/38138)
- fix(logging\_worker): carry queued tasks across event-loop change instead of dropping them by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38144](https://github.com/BerriAI/litellm/pull/38144)
- feat(proxy): enforce vector-store upload security controls on /v1/rag/ingest by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38135](https://github.com/BerriAI/litellm/pull/38135)
- test(e2e): pin require\_managed\_files enforcement behind a marker-gated stack phase by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38117](https://github.com/BerriAI/litellm/pull/38117)
- refactor(ui): move the dashboard onto class-variance-authority by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38125](https://github.com/BerriAI/litellm/pull/38125)
- refactor(utils)!: delete prompt\_token\_calculator by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38132](https://github.com/BerriAI/litellm/pull/38132)
- fix(auto-router): list configured auto-routers in the usage picker before they have traffic by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38129](https://github.com/BerriAI/litellm/pull/38129)
- refactor(ui): install the shadcn field primitive by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38126](https://github.com/BerriAI/litellm/pull/38126)
- fix(complexity\_router): keep both ends of a clipped classifier context turn by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38141](https://github.com/BerriAI/litellm/pull/38141)
- fix(ci): ignore-list recursive form-field flatteners in recursive\_detector by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38149](https://github.com/BerriAI/litellm/pull/38149)
- fix(passthrough): stop leaking the caller's virtual key on credential-less Vertex passthrough by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38114](https://github.com/BerriAI/litellm/pull/38114)
- fix(router): stop copying forwarded credentials into retry breadcrumbs by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38133](https://github.com/BerriAI/litellm/pull/38133)
- feat(e2e): record and replay streamed provider responses chunk-for-chunk by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38136](https://github.com/BerriAI/litellm/pull/38136)
- fix: tolerate stream chunks without a choices key in stream\_chunk\_builder by [@&#8203;AkshaySasi](https://github.com/AkshaySasi) in [#&#8203;34382](https://github.com/BerriAI/litellm/pull/34382)
- fix(files): decode x-litellm-model encoded file\_id in chat + responses by [@&#8203;hclsys](https://github.com/hclsys) in [#&#8203;29832](https://github.com/BerriAI/litellm/pull/29832)
- fix(videos): forward uploaded source file on /v1/videos/edits to the provider by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38155](https://github.com/BerriAI/litellm/pull/38155)
- fix(s3\_v2): percent-encode object keys once so signed and sent URLs match by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38005](https://github.com/BerriAI/litellm/pull/38005)
- feat(ui): add error-code drilldown for failed requests on caching page by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38156](https://github.com/BerriAI/litellm/pull/38156)
- feat(search): add Grounding with Bing Search (bing\_grounding) as a search provider by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38119](https://github.com/BerriAI/litellm/pull/38119)
- ci: ban row-rewriting DML from prisma migrations by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37899](https://github.com/BerriAI/litellm/pull/37899)
- fix(langsmith): keep root-run ids self-consistent so batch ingest stops rejecting header-tagged requests by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38116](https://github.com/BerriAI/litellm/pull/38116)
- ci(e2e): record the e2e suite weekly and replay it on weekdays with zero egress by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38163](https://github.com/BerriAI/litellm/pull/38163)
- chore(codeowners): unown ui container plumbing and generated files by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38124](https://github.com/BerriAI/litellm/pull/38124)
- fix(logging): skip parsing redacted tool call arguments by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38169](https://github.com/BerriAI/litellm/pull/38169)
- feat(complexity\_router): bound the classifier context block, not each turn in it by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38145](https://github.com/BerriAI/litellm/pull/38145)
- fix(http\_handler): dispose aiohttp session when AsyncHTTPHandler is finalized without a running loop by [@&#8203;anmolg1997](https://github.com/anmolg1997) in [#&#8203;36670](https://github.com/BerriAI/litellm/pull/36670)
- fix(proxy): reset a stuck team member's budget by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37971](https://github.com/BerriAI/litellm/pull/37971)
- fix(anthropic/bedrock): request summarized adaptive thinking for reasoning\_effort and use provider thinking token counts by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37979](https://github.com/BerriAI/litellm/pull/37979)
- fix(completion\_extras): forward reasoning\_effort=max through the Responses API bridge by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38222](https://github.com/BerriAI/litellm/pull/38222)
- feat(vertex\_ai): add native Vertex AI Interactions API support by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38229](https://github.com/BerriAI/litellm/pull/38229)
- test(mcp): drain the logging worker after each test so queued callbacks cannot leak into the next test by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38228](https://github.com/BerriAI/litellm/pull/38228)
- fix(ui): forward OAuth issuer/authorization/token/registration URLs from the MCP server edit form by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;38154](https://github.com/BerriAI/litellm/pull/38154)
- fix(together\_ai): default endpoints to api.together.ai instead of api.together.xyz by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38233](https://github.com/BerriAI/litellm/pull/38233)
- fix(bedrock\_mantle): register a Bedrock runtime passthrough config so /bedrock/model/<deployment>/invoke works by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38231](https://github.com/BerriAI/litellm/pull/38231)
- fix(router): resolve provider from api\_base in deployment validation and acompletion by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38235](https://github.com/BerriAI/litellm/pull/38235)
- fix(model\_prices): raise bedrock\_mantle gpt-5.6 max\_input\_tokens to Mantle's enforced [`1050000`](https://github.com/BerriAI/litellm/commit/1050000) by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38225](https://github.com/BerriAI/litellm/pull/38225)
- fix(bedrock\_mantle): normalize Codex input item types Mantle rejects by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38227](https://github.com/BerriAI/litellm/pull/38227)
- fix(proxy): store the actual selected model in spend logs for Azure Model Router by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37770](https://github.com/BerriAI/litellm/pull/37770)
- feat(router): per-group supported reasoning efforts with the max level by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;37897](https://github.com/BerriAI/litellm/pull/37897)
- fix(proxy): stop expected 4xx responses from saturating worker CPU on failure logging by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38102](https://github.com/BerriAI/litellm/pull/38102)
- fix(caching): use upstream RedisCluster on redis-py with per-connection recovery by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38171](https://github.com/BerriAI/litellm/pull/38171)
- perf(auth): drop guaranteed-miss internal-cache Redis read from team object lookup by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38073](https://github.com/BerriAI/litellm/pull/38073)
- fix(together\_ai): route chat completions through a dedicated TogetherAIChatConfig by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38248](https://github.com/BerriAI/litellm/pull/38248)
- fix(ui): read reasoning tokens from Responses API output\_tokens\_details by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37952](https://github.com/BerriAI/litellm/pull/37952)
- fix(dashboard): don't show a stale provider prompt-cache chip on a response-cache hit by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37951](https://github.com/BerriAI/litellm/pull/37951)
- fix(ui): render tag-based guardrail mode instead of crashing the guardrails page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37493](https://github.com/BerriAI/litellm/pull/37493)
- fix(scim): return user\_id as Group members\[].value on transformed group responses by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38161](https://github.com/BerriAI/litellm/pull/38161)
- fix(scim): preserve existing team memberships when POST /Users adoption carries no groups by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38166](https://github.com/BerriAI/litellm/pull/38166)
- fix(router): support mid-stream fallback for anthropic\_messages route type by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;38153](https://github.com/BerriAI/litellm/pull/38153)
- fix(auth): support wildcard prefixes in jwt team\_allowed\_routes by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37756](https://github.com/BerriAI/litellm/pull/37756)
- feat(models): add missing Together AI serverless models to the cost map by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38230](https://github.com/BerriAI/litellm/pull/38230)
- fix(cerebras)!: add max\_retries and extra\_headers to get\_supported\_openai\_params by [@&#8203;deepanshululla](https://github.com/deepanshululla) in [#&#8203;36601](https://github.com/BerriAI/litellm/pull/36601)
- fix(anthropic): translate tool\_result document blocks in the /v1/messages bridge by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38251](https://github.com/BerriAI/litellm/pull/38251)
- fix(team): serialize member\_add, member\_delete, and delete under the team's advisory lock by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;37969](https://github.com/BerriAI/litellm/pull/37969)
- docs(pr-template): split Caveats bullets into severity tiers and call for plain engineering language by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38252](https://github.com/BerriAI/litellm/pull/38252)
- fix(anthropic): carry tool\_result document blocks through the /v1/messages responses bridge by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38261](https://github.com/BerriAI/litellm/pull/38261)
- fix(together\_ai): pass tools through for models missing from the registry by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38265](https://github.com/BerriAI/litellm/pull/38265)
- fix(anthropic): carry user-content document blocks through the /v1/messages responses bridge by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38267](https://github.com/BerriAI/litellm/pull/38267)
- fix(rerank): emit latency and cost headers on /rerank by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;35419](https://github.com/BerriAI/litellm/pull/35419)
- perf(streaming): add shared JSONFragmentAccumulator for Vertex and Anthropic by [@&#8203;deepanshululla](https://github.com/deepanshululla) in [#&#8203;36610](https://github.com/BerriAI/litellm/pull/36610)
- fix(together\_ai): strip internal thinking fields from outbound messages, keep reasoning\_content by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38275](https://github.com/BerriAI/litellm/pull/38275)
- fix(router): persist attempted\_fallbacks and original\_model\_group into spend logs metadata by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38107](https://github.com/BerriAI/litellm/pull/38107)
- fix(logging): redact tool call arguments to valid JSON and preserve null content by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38182](https://github.com/BerriAI/litellm/pull/38182)
- fix(ui): stack policy flow builder below the popup layer so guardrail options render by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38273](https://github.com/BerriAI/litellm/pull/38273)
- test: gate the test tree on B003 so a test cannot swap os.environ for a plain dict by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38274](https://github.com/BerriAI/litellm/pull/38274)
- refactor(repositories): type prisma table access with one generic protocol by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38205](https://github.com/BerriAI/litellm/pull/38205)
- fix(anthropic): buffer streamed responses carrying server-fulfilled tools so retrieval tool calls never reach the client by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;36245](https://github.com/BerriAI/litellm/pull/36245)
- test(together\_ai): regression suite across chat, responses, and messages surfaces by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38283](https://github.com/BerriAI/litellm/pull/38283)
- feat(logging): add async\_post\_call\_failure\_deployment\_hook by [@&#8203;deepanshululla](https://github.com/deepanshululla) in [#&#8203;36657](https://github.com/BerriAI/litellm/pull/36657)
- chore: bump litellm-enterprise 0.1.59 -> 0.1.60, litellm 1.99.0 -> 1.100.0 by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38243](https://github.com/BerriAI/litellm/pull/38243)
- test(e2e): cover Together AI reasoning, tool calls, template kwargs, and cost through a live proxy by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38286](https://github.com/BerriAI/litellm/pull/38286)
- fix(logging): keep tracebacks for provider-originated 4xx errors by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38296](https://github.com/BerriAI/litellm/pull/38296)
- chore(ci): promote internal staging to main by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38293](https://github.com/BerriAI/litellm/pull/38293)
- refactor(ui): install the shadcn alert primitive by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38300](https://github.com/BerriAI/litellm/pull/38300)
- refactor(ui): re-pull label, textarea, separator and skeleton from the registry by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38302](https://github.com/BerriAI/litellm/pull/38302)
- feat(prometheus): configure deployment caller identity by [@&#8203;mphilippnv](https://github.com/mphilippnv) in [#&#8203;38221](https://github.com/BerriAI/litellm/pull/38221)
- test(e2e): let the Together replayed-reasoning case survive a single provider miss by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38314](https://github.com/BerriAI/litellm/pull/38314)
- fix(otel): map /v1/messages provider errors before failure logging by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38310](https://github.com/BerriAI/litellm/pull/38310)
- fix(exceptions): map upstream status codes for providers with no exception\_type branch by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38318](https://github.com/BerriAI/litellm/pull/38318)
- fix(passthrough): record ownership of streamed responses under managed ids by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38320](https://github.com/BerriAI/litellm/pull/38320)
- fix(proxy): encrypt streamed responses ids on /openai/v1/responses and /responses aliases by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38325](https://github.com/BerriAI/litellm/pull/38325)
- test(cost-calc): pin the rate fallbacks inside a tiered-pricing tier by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38327](https://github.com/BerriAI/litellm/pull/38327)
- test(e2e): cover the Bedrock provider-feature cells customers run by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38232](https://github.com/BerriAI/litellm/pull/38232)
- fix(together\_ai): fail open on response\_format instead of dropping it for unregistered models by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38269](https://github.com/BerriAI/litellm/pull/38269)
- fix(proxy): honor DATABASE\_DISABLE\_PREPARED\_STATEMENTS in componentized entrypoints by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38363](https://github.com/BerriAI/litellm/pull/38363)
- fix(anthropic-responses): preserve structured output strictness by [@&#8203;eugene-yao-zocdoc](https://github.com/eugene-yao-zocdoc) in [#&#8203;38211](https://github.com/BerriAI/litellm/pull/38211)
- chore(typing): roll up the daily tech debt cleanups from Aug 20 to Aug 26 by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37922](https://github.com/BerriAI/litellm/pull/37922)
- fix(router): resolve hidden aliases for explicit lookup by [@&#8203;daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#&#8203;38272](https://github.com/BerriAI/litellm/pull/38272)
- fix(ui): keep focus in the add model public name input while typing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38366](https://github.com/BerriAI/litellm/pull/38366)
- fix(model\_prices): price 1-hour cache writes on claude-3-haiku and claude-3-opus at 2x input by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38371](https://github.com/BerriAI/litellm/pull/38371)
- fix(proxy): keep the caller's Google token on credential-less Vertex passthrough under custom auth by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38299](https://github.com/BerriAI/litellm/pull/38299)
- fix(mcp): preserve provider access token lifetime by [@&#8203;daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#&#8203;38271](https://github.com/BerriAI/litellm/pull/38271)
- chore(ui): remove stale "New" badges from the dashboard by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38374](https://github.com/BerriAI/litellm/pull/38374)
- test(cost-estimate): pin the prices and period totals /cost/estimate returns by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38315](https://github.com/BerriAI/litellm/pull/38315)
- fix(ci): let the mutation workflow find covered lines so it generates mutants by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38305](https://github.com/BerriAI/litellm/pull/38305)
- fix(model\_prices): raise bedrock\_mantle gpt-5.5 and gpt-5.4 max\_input\_tokens to Mantle's enforced [`1050000`](https://github.com/BerriAI/litellm/commit/1050000) by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38368](https://github.com/BerriAI/litellm/pull/38368)
- fix(azure/realtime): authenticate realtime websocket with Azure AD token when no api-key by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;34658](https://github.com/BerriAI/litellm/pull/34658)
- fix(bedrock): map reasoning\_effort to reasoning.effort for OpenAI GPT-5.x on Converse by [@&#8203;6matt](https://github.com/6matt) in [#&#8203;38279](https://github.com/BerriAI/litellm/pull/38279)
- test(prometheus): cover caller-identity config failure cases by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38380](https://github.com/BerriAI/litellm/pull/38380)
- fix(redis): support credential providers across clients by [@&#8203;eugene-yao-zocdoc](https://github.com/eugene-yao-zocdoc) in [#&#8203;38094](https://github.com/BerriAI/litellm/pull/38094)
- fix(health): support `mode: image_edit` in health checks by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38291](https://github.com/BerriAI/litellm/pull/38291)
- fix(cost-map): add US data residency uplift to claude-sonnet-4-6 and mythos entries by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38369](https://github.com/BerriAI/litellm/pull/38369)
- fix(anthropic): raise missing-credential error on /v1/messages passthrough by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38240](https://github.com/BerriAI/litellm/pull/38240)
- fix(mcp): complete DCR bridge OAuth challenges by [@&#8203;daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#&#8203;37384](https://github.com/BerriAI/litellm/pull/37384)
- test(proxy): pin the request-validation contracts in proxy/\_types.py by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38307](https://github.com/BerriAI/litellm/pull/38307)
- docs(CLAUDE.md): add pull-before-work rule by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38386](https://github.com/BerriAI/litellm/pull/38386)
- fix(anthropic): scale cache costs by fast mode and trust served speed by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38378](https://github.com/BerriAI/litellm/pull/38378)
- fix(pricing): add azure gpt-5.6 cache write rates and correct data zone priority by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38370](https://github.com/BerriAI/litellm/pull/38370)
- docs: tighten the pull-before-work rule in CLAUDE.md by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38389](https://github.com/BerriAI/litellm/pull/38389)
- fix(health): strip credential fields from GET /health output by [@&#8203;Siraj637909](https://github.com/Siraj637909) in [#&#8203;37090](https://github.com/BerriAI/litellm/pull/37090)
- fix(minimax): attach MINIMAX\_API\_KEY on anthropic messages requests by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38393](https://github.com/BerriAI/litellm/pull/38393)
- refactor(ui): replace hand-picked z-index values with one named scale and lint it by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38282](https://github.com/BerriAI/litellm/pull/38282)
- fix(health): probe Azure GA realtime path for transcription-only models by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38390](https://github.com/BerriAI/litellm/pull/38390)
- fix(bedrock): parse cacheDetails for Converse 1h/5m cache write cost split by [@&#8203;danielva-monday](https://github.com/danielva-monday) in [#&#8203;36762](https://github.com/BerriAI/litellm/pull/36762)
- fix(caching): flush async cache writes cancelled at event loop shutdown by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38385](https://github.com/BerriAI/litellm/pull/38385)
- fix(router): resolve model\_group\_alias before pre-routing strategy dispatch by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38382](https://github.com/BerriAI/litellm/pull/38382)
- feat(proxy): enforce rpm/tpm on model add + fix validation error title in UI by [@&#8203;kunal2002](https://github.com/kunal2002) in [#&#8203;36518](https://github.com/BerriAI/litellm/pull/36518)
- refactor(ui): move every page header onto the shared PageHeader by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38306](https://github.com/BerriAI/litellm/pull/38306)
- fix(proxy): stop cache eviction errors from failing /key/update by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38308](https://github.com/BerriAI/litellm/pull/38308)
- fix(aiohttp): honor global ssl\_verify on the aiohttp\_openai handler path by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38400](https://github.com/BerriAI/litellm/pull/38400)
- fix(logging\_worker): rescue dequeued logging tasks lost at event loop close by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38394](https://github.com/BerriAI/litellm/pull/38394)
- fix(caching): require the namespace delimiter when checking already-namespaced redis keys by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38403](https://github.com/BerriAI/litellm/pull/38403)
- fix(prompts): reject keyed prompt\_data with prompt\_id and populate prompt version by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38404](https://github.com/BerriAI/litellm/pull/38404)
- fix(cost\_calculator): resolve real cost key when model\_name alias contains '/' by [@&#8203;ksk2023](https://github.com/ksk2023) in [#&#8203;38344](https://github.com/BerriAI/litellm/pull/38344)
- fix(cost-map): correct prompt\_cache\_min\_tokens for Claude Fable 5 and backfill Anthropic re-export entries by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38405](https://github.com/BerriAI/litellm/pull/38405)
- test(azure-ai): pin the 422 retry that drops the field the provider rejected by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38309](https://github.com/BerriAI/litellm/pull/38309)
- refactor(ui): read the auto-router tier set through one row list by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38408](https://github.com/BerriAI/litellm/pull/38408)
- fix(proxy): stop empty DB router\_settings lists from clobbering yaml fallbacks by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38406](https://github.com/BerriAI/litellm/pull/38406)
- fix(team): allow no-reset default budgets for team members by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37708](https://github.com/BerriAI/litellm/pull/37708)
- fix: forward image content lists to DeepSeek vision models by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38397](https://github.com/BerriAI/litellm/pull/38397)
- fix(fireworks\_ai): stop using the trace id as the session affinity key by [@&#8203;Hamjaster](https://github.com/Hamjaster) in [#&#8203;35754](https://github.com/BerriAI/litellm/pull/35754)
- fix(gemini-realtime): keep the client's voice on Vertex AI native-audio Live by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38395](https://github.com/BerriAI/litellm/pull/38395)
- fix(vertex\_ai): bill Gemini grounding per unique web search query by [@&#8203;ousamabenyounes](https://github.com/ousamabenyounes) in [#&#8203;36397](https://github.com/BerriAI/litellm/pull/36397)
- fix(health): make the image\_edit health probe moderation-safe by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38417](https://github.com/BerriAI/litellm/pull/38417)
- test: gate the test tree on fifteen assertion and handler rules it already satisfies by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38361](https://github.com/BerriAI/litellm/pull/38361)
- fix(proxy): key lazy openapi stubs off registered features, not sys.modules by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38416](https://github.com/BerriAI/litellm/pull/38416)
- fix(proxy): derive auto-router health from its underlying models by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38174](https://github.com/BerriAI/litellm/pull/38174)
- fix(responses): let cache-control injection reach the system prompt from instructions by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38120](https://github.com/BerriAI/litellm/pull/38120)
- fix(gemini): bill Google Maps grounding as its own SKU by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38418](https://github.com/BerriAI/litellm/pull/38418)
- fix(speech): keep proxy metadata and completion cost through the TTS completion bridge by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38414](https://github.com/BerriAI/litellm/pull/38414)
- fix: map Gemini ON\_DEMAND\_FLEX traffic type to flex service tier by [@&#8203;bisma-nawaz](https://github.com/bisma-nawaz) in [#&#8203;37724](https://github.com/BerriAI/litellm/pull/37724)
- feat(langfuse): support langfuse\_environment as a per-key dynamic callback param by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38264](https://github.com/BerriAI/litellm/pull/38264)
- feat(proxy): hide unhealthy models from model listings, opt-in by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38313](https://github.com/BerriAI/litellm/pull/38313)
- fix(mcp): honor admin-entered OAuth URLs on authorize after issuer yield by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38379](https://github.com/BerriAI/litellm/pull/38379)
- fix(model\_prices): correct gemini-3.5-flash-lite flex cache-read pricing by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38422](https://github.com/BerriAI/litellm/pull/38422)
- fix(cost): price gemini-live-2.5-flash-native-audio realtime sessions by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38419](https://github.com/BerriAI/litellm/pull/38419)
- fix(cost-map): correct Gemini TTS and native-audio rates by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38412](https://github.com/BerriAI/litellm/pull/38412)
- fix(prompts): propagate PATCHed prompt templates to every worker and pod by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38411](https://github.com/BerriAI/litellm/pull/38411)
- fix(model\_prices): bill gemini -latest/preview alias cache reads at 10% of input by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38423](https://github.com/BerriAI/litellm/pull/38423)
- fix(proxy): sync search tools into the router on management writes by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38392](https://github.com/BerriAI/litellm/pull/38392)
- feat(guardrails): track Azure Prompt Shield usage and cost with spend isolation by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38387](https://github.com/BerriAI/litellm/pull/38387)
- fix(prompts): apply prompt templates before routing on /v1/responses and honor ignore\_prompt\_manager\_model by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38407](https://github.com/BerriAI/litellm/pull/38407)
- fix(cost): make cost-breakdown headers respect service tier by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38424](https://github.com/BerriAI/litellm/pull/38424)
- fix(mcp): add litellm\[mcp] extra and actionable error when streamable\_http\_client is missing by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38399](https://github.com/BerriAI/litellm/pull/38399)
- revert(proxy): remove router\_model\_name from auto-routed response bodies by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38429](https://github.com/BerriAI/litellm/pull/38429)
- fix(google\_genai): price streamed generateContent with the provider that served it by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;36055](https://github.com/BerriAI/litellm/pull/36055)
- fix(logging): stop billing and logging response reads as LLM calls by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;36890](https://github.com/BerriAI/litellm/pull/36890)
- fix(budget): serialize model\_max\_budget before the /budget/update write by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38430](https://github.com/BerriAI/litellm/pull/38430)
- fix(ui): block the auto-router submit on a missing classifier model and an orphaned keyword rule by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38427](https://github.com/BerriAI/litellm/pull/38427)
- feat(complexity\_router): heuristic-first classifier chaining by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38428](https://github.com/BerriAI/litellm/pull/38428)
- test(e2e): un-skip the per-model budget update case by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38437](https://github.com/BerriAI/litellm/pull/38437)
- fix(cost): stop double-billing cached tokens that overlap a modality by [@&#8203;Srivatsa03](https://github.com/Srivatsa03) in [#&#8203;37407](https://github.com/BerriAI/litellm/pull/37407)
- feat(ui): add Teams list CSV export with budgets, model grants, and rate limits by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38436](https://github.com/BerriAI/litellm/pull/38436)
- fix(mcp): accept raw x-litellm-api-key on streamable HTTP admission by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38364](https://github.com/BerriAI/litellm/pull/38364)
- fix: bound row count on GET /spend/logs to stop unbounded LiteLLM\_SpendLogs scans by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38420](https://github.com/BerriAI/litellm/pull/38420)
- fix(scim): apply default\_team\_params (incl. models) to SCIM-created teams by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38433](https://github.com/BerriAI/litellm/pull/38433)
- fix(prompts): propagate prompt deletes to every worker and pod by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38434](https://github.com/BerriAI/litellm/pull/38434)
- fix(anthropic\_adapter): carry web search cost into /v1/messages breakdown headers by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38439](https://github.com/BerriAI/litellm/pull/38439)
- fix(ui): show custom technical keywords on every router whose scorer runs by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38451](https://github.com/BerriAI/litellm/pull/38451)
- fix(e2e): move the vertex realtime suite off the retired Live preview model by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38454](https://github.com/BerriAI/litellm/pull/38454)
- feat(newrelic): per-team cost and usage metrics via team callbacks by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;37610](https://github.com/BerriAI/litellm/pull/37610)
- fix(ui): carry a preset's per-tier litellm\_params through the prefill by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38453](https://github.com/BerriAI/litellm/pull/38453)
- fix(e2e): size the mid-conversation-system cache prefix above the minimum deterministically by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38468](https://github.com/BerriAI/litellm/pull/38468)
- fix(e2e): disable thinking on the gemini chat cost test instead of racing its budget by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38469](https://github.com/BerriAI/litellm/pull/38469)
- feat(ui): put the auto-router savings hero on a spend rail and a four-tile row by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38470](https://github.com/BerriAI/litellm/pull/38470)
- feat(ui): toggle internal health check visibility in request logs by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38391](https://github.com/BerriAI/litellm/pull/38391)
- fix(mcp): canonicalize bearer scheme on bridge egress by [@&#8203;daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#&#8203;38398](https://github.com/BerriAI/litellm/pull/38398)
- refactor: clean up fresh tech debt from 2026-08-27 window by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38484](https://github.com/BerriAI/litellm/pull/38484)
- fix(exception\_mapping\_utils): map unmapped exceptions when model and provider are unset by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38496](https://github.com/BerriAI/litellm/pull/38496)
- fix(ui\_sso): resolve highest privilege Entra app role, not first in claim by [@&#8203;imranismail](https://github.com/imranismail) in [#&#8203;36728](https://github.com/BerriAI/litellm/pull/36728)
- fix(proxy): regenerate lazy OpenAPI snapshot and guard it in CI by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38410](https://github.com/BerriAI/litellm/pull/38410)
- feat(ui): add cache hit/miss filter to Request Logs by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38432](https://github.com/BerriAI/litellm/pull/38432)
- fix(bedrock): sign rerank requests with the shared header-filtered SigV4 helper (internal copy of [#&#8203;36462](https://github.com/BerriAI/litellm/issues/36462)) by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38093](https://github.com/BerriAI/litellm/pull/38093)
- fix(bedrock): sign rerank requests with the shared, header-filtered SigV4 helper by [@&#8203;noahnistler](https://github.com/noahnistler) in [#&#8203;36462](https://github.com/BerriAI/litellm/pull/36462)
- fix(ui): order the auto-routers table newest first so a new router lands on page one by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38545](https://github.com/BerriAI/litellm/pull/38545)
- feat(ui): run the Anthropic Family preset's reasoning tier on Opus 5 at high thinking by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38490](https://github.com/BerriAI/litellm/pull/38490)
- build(ui): bump nginx to 1.31-alpine by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38541](https://github.com/BerriAI/litellm/pull/38541)
- feat(otel): support per-team/per-key service.name for OTel v2 destinations by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38532](https://github.com/BerriAI/litellm/pull/38532)
- test(e2e): de-flake the cost-header cache read and the router fallback control by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38435](https://github.com/BerriAI/litellm/pull/38435)
- feat(gemini): day-0 support for gemini-3.5-transcribe and transcribe-live by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38540](https://github.com/BerriAI/litellm/pull/38540)
- feat(health): opt-in model-group allowlist for background health checks and health-check routing by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38539](https://github.com/BerriAI/litellm/pull/38539)
- fix(mcp): keep upstream OAuth Authorization when jwt signer hook injects one on tools/call by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38555](https://github.com/BerriAI/litellm/pull/38555)
- fix: suppress misleading register\_model unresolved-cost warnings for entries without custom pricing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38542](https://github.com/BerriAI/litellm/pull/38542)
- feat(proxy): opt-in budget rollover carrying overage into the next window by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38514](https://github.com/BerriAI/litellm/pull/38514)
- fix(auth): skip guaranteed-miss team lookup for the litellm-dashboard sentinel by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38471](https://github.com/BerriAI/litellm/pull/38471)
- fix(key\_management): allow /key/update to keep or shrink MCP server grants the key already holds by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38463](https://github.com/BerriAI/litellm/pull/38463)
- fix: keep schema reconciliation from fighting a partitioned LiteLLM\_SpendLogs by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38452](https://github.com/BerriAI/litellm/pull/38452)
- fix(ui): open select popups below the trigger instead of over it by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38554](https://github.com/BerriAI/litellm/pull/38554)
- fix(realtime): bill trailing audio when a Gemini transcribe Live session closes by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38563](https://github.com/BerriAI/litellm/pull/38563)
- test(e2e): cover key generate and update on the Admin UI path by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38448](https://github.com/BerriAI/litellm/pull/38448)
- chore: bump litellm-enterprise 0.1.60 -> 0.1.61, litellm-proxy-extras 0.4.89 -> 0.4.90 by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38566](https://github.com/BerriAI/litellm/pull/38566)
- fix(ui): let the paginated search select keep what the user types by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38475](https://github.com/BerriAI/litellm/pull/38475)
- fix(otel): anchor MCP tool-call spans to the gateway's own trace, link the client's context by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38317](https://github.com/BerriAI/litellm/pull/38317)
- fix: roll up the open deflake fixes for the MCP logging queue, PTU rollup, license gate, and pricing test isolation by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;37833](https://github.com/BerriAI/litellm/pull/37833)
- fix(model\_prices): rolling registry audit - verified models and rates for Novita, DeepInfra, W\&B, Bedrock Sol, Gemini, Fireworks, Azure gpt-5.6, Mistral, Together by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38207](https://github.com/BerriAI/litellm/pull/38207)
- test(together\_ai): assert fail-open supported params for models missing from the registry by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38487](https://github.com/BerriAI/litellm/pull/38487)
- test(e2e): let the together tool tests accept parallel calls by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38567](https://github.com/BerriAI/litellm/pull/38567)
- feat(mcp): let a resolved OAuth token target a custom upstream header by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38456](https://github.com/BerriAI/litellm/pull/38456)
- feat(together\_ai): map reasoning\_effort per model class by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38263](https://github.com/BerriAI/litellm/pull/38263)
- feat(dashscope): support qwen-image-3.0 and qwen-image-3.0-pro image generation by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38449](https://github.com/BerriAI/litellm/pull/38449)
- fix(cost): apply Together AI cache read pricing and per-model registry rates by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38280](https://github.com/BerriAI/litellm/pull/38280)
- fix(guardrails): forward aws\_external\_id when the bedrock guardrail assumes a role by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38376](https://github.com/BerriAI/litellm/pull/38376)
- fix(transcription): synthesize srt/vtt output for adapters without native subtitle formats by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38561](https://github.com/BerriAI/litellm/pull/38561)
- fix(streaming): preserve provider service-tier metadata so Vertex flex streams bill at flex rates by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38458](https://github.com/BerriAI/litellm/pull/38458)
- fix(realtime): bill Gemini Live native-audio output tokens at the audio rate by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38457](https://github.com/BerriAI/litellm/pull/38457)
- fix(anthropic): carry tool\_reference tool results through the guardrail translation round trip by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38465](https://github.com/BerriAI/litellm/pull/38465)
- fix(anthropic-adapter): pass provider-native and OpenAI-format tools through on /v1/messages by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38431](https://github.com/BerriAI/litellm/pull/38431)
- test(e2e): serve the vision image from our own fixture by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38575](https://github.com/BerriAI/litellm/pull/38575)
- feat(together\_ai): add zai-org/GLM-5.3-Flash to the model registry by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38486](https://github.com/BerriAI/litellm/pull/38486)
- fix(ui): stop server-searched comboboxes from clobbering picks and queries by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38574](https://github.com/BerriAI/litellm/pull/38574)
- feat(model\_prices): let a map entry declare its exact reasoning\_effort levels by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38481](https://github.com/BerriAI/litellm/pull/38481)
- fix(anthropic): carry the adaptive effort tier to every bridged Claude target by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38533](https://github.com/BerriAI/litellm/pull/38533)
- feat(alerting): add native Microsoft Teams alerting destination by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38367](https://github.com/BerriAI/litellm/pull/38367)
- chore(proxy): resync the generated API artifacts with the current models by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38587](https://github.com/BerriAI/litellm/pull/38587)
- fix(router): reject complexity-router settings written outside complexity\_router\_config by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38570](https://github.com/BerriAI/litellm/pull/38570)
- feat(ui): session-level cache observability in request logs by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38442](https://github.com/BerriAI/litellm/pull/38442)
- fix(ui): link Virtual Keys hint through the migrated /ui route by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38596](https://github.com/BerriAI/litellm/pull/38596)
- fix(anthropic): carry the effort tier only where the target declares reasoning\_effort by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38592](https://github.com/BerriAI/litellm/pull/38592)
- fix(presidio): chunk oversized text before /analyze so large content blocks do not fail by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38483](https://github.com/BerriAI/litellm/pull/38483)
- fix(logging): stop stream-based log collectors classifying INFO logs as errors by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38476](https://github.com/BerriAI/litellm/pull/38476)
- feat(ui): dry-run an auto-router config against the backend before saving it by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38595](https://github.com/BerriAI/litellm/pull/38595)
- fix(guardrails): add fail-open mode to CrowdStrike AIDR guardrail by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38568](https://github.com/BerriAI/litellm/pull/38568)
- fix(router): copy instead of mutating caller metadata when scrubbing fallback stamp keys by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38586](https://github.com/BerriAI/litellm/pull/38586)
- feat(proxy): opt-in enforce\_fallback\_model\_access authorizes router fallbacks against the calling key by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38572](https://github.com/BerriAI/litellm/pull/38572)
- fix(langfuse): warn and drop invalid LANGFUSE\_TRACING\_ENVIRONMENT instead of failing requests by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38582](https://github.com/BerriAI/litellm/pull/38582)
- fix(tencent): route thinking through extra\_body in chat completions by [@&#8203;FelipeRodriguesGare](https://github.com/FelipeRodriguesGare) in [#&#8203;38100](https://github.com/BerriAI/litellm/pull/38100)
- test-check-commits by [@&#8203;nickhac](https://github.com/nickhac) in [#&#8203;36344](https://github.com/BerriAI/litellm/pull/36344)
- feat(proxy): dry-run a real request body on /auto\_router/test\_routing by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38590](https://github.com/BerriAI/litellm/pull/38590)
- fix(shadow\_eval): refuse a judge model that also serves one of the arms it grades by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38589](https://github.com/BerriAI/litellm/pull/38589)
- fix(anthropic): resolve /v1/messages effort tiers through the capability owner by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38492](https://github.com/BerriAI/litellm/pull/38492)
- fix(router): fall over on raised mid-stream errors in /v1/messages streams by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38606](https://github.com/BerriAI/litellm/pull/38606)
- feat(models): add daily Together AI model registry sync script and workflow by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38257](https://github.com/BerriAI/litellm/pull/38257)
- feat(ui): the model and wire layer for operator-defined auto-router tier sets by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38602](https://github.com/BerriAI/litellm/pull/38602)
- fix(moonshot, together\_ai): send the reasoning effort Kimi K3 accepts by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38611](https://github.com/BerriAI/litellm/pull/38611)
- fix(ui): one-click theme toggle and matching Docs/Blog styling in the top bar by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;38601](https://github.com/BerriAI/litellm/pull/38601)
- feat(proxy): opt-in flags to require rpm/tpm on model and project create by [@&#8203;ansh-agrawal](https://github.com/ansh-agrawal) in [#&#8203;36514](https://github.com/BerriAI/litellm/pull/36514)
- fix(exceptions): keep a refused connection an APIConnectionError by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38624](https://github.com/BerriAI/litellm/pull/38624)
- chore(ci): promote internal staging to main by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38616](https://github.com/BerriAI/litellm/pull/38616)
- fix(anthropic): drop and self-heal empty thinking blocks on /v1/messages by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38625](https://github.com/BerriAI/litellm/pull/38625)
- fix(anthropic): handle per-level reasoning\_effort flags without supports\_reasoning by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38618](https://github.com/BerriAI/litellm/pull/38618)
- fix(complexity\_router): route client housekeeping calls to the cheapest tier by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38598](https://github.com/BerriAI/litellm/pull/38598)
- test: fix staging CI regressions from [#&#8203;38182](https://github.com/BerriAI/litellm/issues/38182), [#&#8203;38144](https://github.com/BerriAI/litellm/issues/38144), [#&#8203;38265](https://github.com/BerriAI/litellm/issues/38265), [#&#8203;37962](https://github.com/BerriAI/litellm/issues/37962), and [#&#8203;37969](https://github.com/BerriAI/litellm/issues/37969) by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38304](https://github.com/BerriAI/litellm/pull/38304)
- feat(spend): report prompt caching savings as total and gateway-attributed by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38134](https://github.com/BerriAI/litellm/pull/38134)
- fix(proxy): let llm\_api virtual keys read /model\_group/info by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38662](https://github.com/BerriAI/litellm/pull/38662)
- feat(ui): edit the auto-router tier set with custom classifier-defined tiers by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;38603](https://github.com/BerriAI/litellm/pull/38603)
- fix(proxy): count tools, system, and Anthropic image and document blocks in the count\_tokens fallback (internal copy of [#&#8203;36671](https://github.com/BerriAI/litellm/issues/36671)) by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38657](https://github.com/BerriAI/litellm/pull/38657)
- test: refresh the suites that drifted from langfuse and OpenAI's retired Assistants API by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38637](https://github.com/BerriAI/litellm/pull/38637)
- test(e2e): unskip four tests whose blockers no longer hold by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38640](https://github.com/BerriAI/litellm/pull/38640)
- feat(proxy): add paginated GET /public/v1/model\_hub by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38636](https://github.com/BerriAI/litellm/pull/38636)
- refactor(ui): type search tool params from the generated schema by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38633](https://github.com/BerriAI/litellm/pull/38633)
- feat(a2a): semantic search over the agent registry via GET /v1/agents?query and an agent\_search MCP tool by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38609](https://github.com/BerriAI/litellm/pull/38609)
- fix(model\_prices): add bedrock\_mantle gpt-5.5/5.4 272K tiers, align sol with AWS invoice by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;38615](https://github.com/BerriAI/litellm/pull/38615)
- fix(ui): keep the usage filter visible when the caller's scope is empty by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38581](https://github.com/BerriAI/litellm/pull/38581)
- fix(registry): add Gemini Omni 1.1 Flash, xAI grok-imagine image models, Mistral cache-read pricing, GLM 5.3 Flash + Kimi K2.7 Code entries by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38560](https://github.com/BerriAI/litellm/pull/38560)
- fix(logging): preserve null end user in callbacks by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38642](https://github.com/BerriAI/litellm/pull/38642)
- test: close mutation-testing gaps in container, skills and openai-like config factories by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;38677](https://github.com/BerriAI/litellm/pull/38677)
- fix: enforce MCP toolsets attached to a team, org, or internal user by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;38488](https://github.com/BerriAI/litellm/pull/38488)
- fix(tests): drain the global logging worker in RAG aquery billing tests by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38653](https://github.com/BerriAI/litellm/pull/38653)
- chore(techdebt): type new signatures and drop slop comments from the last 24h by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;38644](https://github.com/Be…
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.

2 participants