What This Release Actually Is
LiteLLM v1.109.2 is a maintenance patch on the stable/1.109.x branch, cut at 02:38 UTC on November 19, 2026 — and it is a more interesting artifact than that sentence suggests. The compare against v1.109.1 shows 73 commits across 104 files, but the release body credits only 14 pull requests, because most of those pull requests are cherry-pick umbrellas: PR #52243 alone carries 16 upstream fixes onto the line, oldest first, with per-pick adaptations documented in its description. The release exists because the 1.109 stable line had fallen materially behind main: customers were hitting proxy OOM kills, empty cost tables, budgets that reset on the wrong schedule, and a scanner report that listed vulnerable dependencies. v1.109.2 is the batch repayment of that debt.
To read this release correctly you need LiteLLM's release model in your head. The project maintains four parallel lines, and every fix lands on main first and fans out as an explicitly-adapted cherry-pick:
graph LR
MAIN["main - every fix lands here first"]
MAIN -->|"cherry-pick #52657"| RC["rc/1.111.0 - v1.111.0-rc.2 (Nov 19)"]
MAIN -->|"cherry-pick #52658"| S110["stable/1.110.x - v1.110.1 (Nov 19)"]
MAIN -->|"cherry-pick #52664"| S109["stable/1.109.x - v1.109.2 - THIS RELEASE (Nov 19)"]
MAIN -->|"cherry-pick #52621"| LTS["lts/1.108.x - v1.108.11 (LTS, Nov 17)"]
The lts Docker tag tracks the 1.108 line, 1.109 is the previous stable, 1.110 is the current stable (v1.110.0 shipped November 18, v1.110.1 shipped the same morning as this release), and 1.111 is in release-candidate rotation. The GPT-6.2 prompt-caching repair shown in the diagram is the canonical example: PR #52664's own description lists its three siblings, and all four cherry-picks merged within six minutes of each other in the early hours of November 19. When we tested the v1.110.0-rc.2 release candidate in November we called the credential-injection ban its headline; that security fix is already on v1.109.1, so this patch is about everything else that accumulated.
Two timing facts matter for upgrade planning. First, the version bump itself landed on November 17 in PR #52243, and thirteen further backports rode the same version number afterward — PR #52684's description says it plainly: "No version bump, 1.109.2 has not shipped yet." The tag that published 32 hours later is a different, larger release than the one #52243 announced. Second, the release was cut 46 minutes after its final commit (PR #52683, merged 01:52 UTC), which was itself a repair of a test-expectation race between two other backports — more on that saga below, because it is the most honest window into how this line is actually maintained.
Everything below is verified against the release body, the pull requests it cites, the diff between v1.109.1 and v1.109.2, and the upstream PR descriptions. No benchmarks were executed for this analysis; the one performance table quoted (the prompt-caching repair) is the maintainer's own published evidence, reproduced with its context.
The Routing Headline: Same-Group Stream Retry, Introduced and Corrected In the Same Tag
The most instructive change in v1.109.2 is a pair of backports that cancel each other's worst case. The first, PR #51953, adds same-group retry for failed /v1/responses streams. Before it, a provider that throttled inside an already-200 stream (Azure's favorite failure mode) skipped straight to cross-group fallbacks; if you configured no fallbacks, the client received a bare response.failed and the response header said x-litellm-attempted-retries: 0. The fix: a Responses stream that breaks before any output now retries inside its own model group first — the same rule /v1/messages streams already followed (408, 409, 429, 5xx or no status) — and cross-group fallback runs once the retry budget is spent. The production change came from PR #51944 by @mabdulahmalik, credited as co-author, with #51953 adding the integration regression on top.
Then the bug surfaced. The pre-fix retry gate decided "before output" using generated_content and is_pre_first_chunk — both of which track text. A reasoning model emits a response.output_item.added item before any text exists, and that event is what releases the held lifecycle events to the client. Result, per PR #52461's user flow: the client sees response.created, response.in_progress, and the reasoning item — then, when the provider fails with a 5xx before any text, the proxy replays response.created and the reasoning item again with new ids, once per retry, and is billed for each attempt. A retried stream is a paid stream; the client-side artifact is a corrupted response transcript with duplicate lifecycle events.
{"type": "response.created", "id": "resp_A"}
{"type": "response.in_progress"}
{"type": "response.output_item.added", "item_kind": "reasoning"}
{"type": "response.created", "id": "resp_B"}
{"type": "response.in_progress"}
{"type": "response.output_item.added", "item_kind": "reasoning"}
{"type": "response.failed", "reason": "provider 5xx"}
The correction, PR #52461, is minimal and worth reading verbatim because it shows where the original gate went wrong. The retry decision now takes an output_started flag from wrap_responses_stream — true once any event has been yielded to the client, text or not:
@staticmethod
def _responses_stream_retries(
e: "MidStreamFallbackError", source_iterator: "BaseResponsesAPIStreamingIterator", output_started: bool
) -> bool:
"""Whether a broken Responses stream retries in its own group first: it broke before the client
received any event and before a tool call, with an error the retry rule takes (408, 409, 429, 5xx,
or no status), as a ``/v1/messages`` stream does. After output the continuation fallback takes over
instead."""
if output_started or not _mid_stream_error_before_output(e) or source_iterator.started_tool_call:
return False
status_code: Final = _stream_raised_error_status(_mid_stream_retry_trigger(e))
The full decision flow now reads:
graph TD
FAIL["Provider stream fails mid-response"] --> Q1{"output_started - was ANY event already yielded to the client?"}
Q1 -->|"yes"| NORETRY["No same-group retry - continuation fallback or surfaced error"]
Q1 -->|"no"| Q2{"started_tool_call?"}
Q2 -->|"yes"| NORETRY
Q2 -->|"no"| Q3{"Error status is 408, 409, 429, 5xx or has no status?"}
Q3 -->|"no"| NORETRY
Q3 -->|"yes"| RETRY["Retry inside the same model group first"]
RETRY --> FB["Retry budget spent - cross-group fallbacks run"]
Now the detail that makes this release notable rather than merely busy: the regression never shipped. PR #51953 merged to main on November 15, entered stable/1.109.x on November 17 inside the #52243 umbrella, and the correcting PR #52461 landed on main on November 18 at 19:38 UTC with the note "v1.109.1 is not affected" — its backport #52561 merged to the stable line at 23:09 the same day, roughly three and a half hours before the tag. v1.109.2 is the rare patch release that contains both a regression and its fix, with neither ever exposed to a tagged artifact. Two smaller footnotes complete the picture: the umbrella had to adapt #51953 to this line's SSE output (which uses data: records and no event: labels), and PR #52433 turned same-group retries off in two pre-existing Responses fallback tests whose assumptions the new retry invalidated. The retry is now live for every streaming /v1/responses caller on this line — if your budget accounting assumes one stream equals one billable provider call, it no longer does, even with the corrected gate.
Pre-Body Key Refusal: The 8 GiB OOM Fix, and Its Own Over-Reach
The umbrella's first pick, PR #51428, fixes a production incident with a number attached. A customer (tracked as Pylon #11782, running 1.108.4) had proxy pods OOM-killed by something that should be the cheapest request a gateway ever serves: the 429. Authentication read and buffered the entire request body before the rate limiter or the blocked-key check ran, so a client retrying a rate-limited key with multi-megabyte image payloads paid a full memory buffer for every refusal. In the PR's words: "Each refused 5 MB request cost a full 5 MB buffer, 150 of them a second ate 8 GiB pods." With most pods restarting, the requests that were under the limit failed too.
The fix re-orders the auth path. Before the body is ever read, the proxy looks the key up in cache from the headers alone: a blocked key gets its 401, an exhausted key-level RPM or parallel limit gets its 429 — with the retry-after header — and only admitted requests pay for body parsing and limiter charging. The refusal path is budgeted too, so a pathological client cannot OOM the rejection machinery either:
PREFLIGHT_FAILURE_JSON_BODY_MAX_BYTES: Final = 64 * 1024
PREFLIGHT_FAILURE_JSON_BODY_TIMEOUT_SECONDS: Final = 1.0
The refused request still gets logged usefully, which is pick #2 (PR #51525): the rejection path resolves the call id, model, and key/team logging fields from a small capped JSON read, so refused traffic shows up in your logs with the same identity fields admitted traffic has. Three classes of request deliberately skip the fast path and take the unchanged route: cache misses, JWT-authenticated requests, and custom auth flows, plus non-LLM routes.
And here is the second self-caught regression of the cycle. The pre-body gate was keyed too broadly, and it started returning 429 to requests that had never counted against limits before: GET /v1/models, GET /models, and POST /utils/token_counter. An exhausted key could not even list models or count tokens. PR #51675 narrowed the gate: body-less GETs and the model-listing/token-counting routes are exempt from the early limit check, while chat, batches, and files still return 429 as before. Both halves shipped in the same tag, but the sequence is worth remembering the next time a "simple" auth fast-path lands in your own gateway: the second PR exists because the first one was only verified against the workload it was written for.
The same release backports PR #52169 into the same pre-body check, closing a limit-staleness gap: raising a team's RPM or TPM limit previously left its throttled keys throttled until the key cache expired — 60 seconds by default — because the early check read the team's old cached limits. The early gate now applies the team's current cached limits, reusing the same team-field refresh that full auth performs; when the team is not cached at all, the key's own limits still refuse early, and only a refusal by the team limit hands the request to full auth. If you have ever had a user ask "I raised the quota, why am I still getting 429s?" — this is that fix, on this line.
Cost Attribution I: Four Minors of Empty Spend Tables, Fixed
The cost story in v1.109.2 starts with an embarrassment the issue tracker documented in public. Issue #49093: on the admin User Usage page, the Spend Per User table has been empty since v1.105.0 — the summary cards on the same page showed the totals, but the per-user rows said "No user spend data" for four consecutive minor versions. The root cause is a one-line flag: the user scope resolver in daily_activity_scopes.py set include_entity_breakdown=False — while every other entity type (team, tag, organization, customer, agent) set it to True. The flag arrived with PR #43408; PR #43175 attempted a fix and was closed unmerged; PR #45310 added a separate per-user route and left this response shape unchanged, so the admin table stayed empty on main.
curl -s 'http://localhost:4000/user/daily/activity/aggregated?start_date=2026-11-18&end_date=2026-11-18' \
-H "Authorization: Bearer $ADMIN_KEY" \
| jq -c '{total_spend: .metadata.total_spend, entities: .results[0].breakdown.entities}'
# v1.109.1: {"total_spend":0.0026,"entities":{}}
The upstream repair, PR #49464 (backported as #51044), turns the per-user breakdown back on for the user-aggregated route and ships three properties that matter for multi-tenant operators: each row carries the user's user_email and user_alias; spend survives for users whose record was deleted (the dollars stay attributed to the id even after the user object is gone); and internal users calling the route with their own key still see only their own row. The response shape flips from entities: {} on every day to one entity per user, which is what the admin UI renders. The diff footprint is honest about the scope: common_daily_activity.py (+68/−42), the daily-activity routes, plus test coverage that includes a golden JSON for the aggregated user route rewritten at 176 lines.
If you run LiteLLM as the billing boundary between internal teams and your provider invoices, note what this means historically: per-user spend data on the admin page was silently absent for every release from v1.105.0 through v1.109.1. The underlying spend rows were always written — the cards proved it — so nothing was lost, but any chargeback workflow that read the admin table (or the aggregated route's breakdown.entities) has been reading zeros for months. Audit accordingly.
Cost Attribution II: Spend That Survives a Database Outage
The second usage fix changes the failure mode of the usage routes under database trouble, and the upstream description (PR #50253, backported as #52418) is worth quoting directly: "The usage page returned a 500 whenever the database dropped while looking up key, user, team, organization, customer, or agent details. Now they log the error and leave out the details they could not load, so admins still see their spend."
Mechanically: when a metadata lookup fails with an error matching is_database_service_unavailable_error (a broader matcher than the old is_database_connection_error, which missed the engine-crash case the PR reproduced), the lookup logs and returns blanks instead of failing the request — spend, requests, and tokens still render at 200. Three deliberate semantics, from the PR body:
- On the team route, only admins get the fallback — a member's team rows decide which keys they may see, so degrading that lookup would leak spend rows a member should not see.
- A key whose details failed to load reports
key_exists: null, notfalse— the diff shows the new default path (KeyMetadata()when the metadata map itself is missing), preserving "unknown" as distinct from "does not exist". - Missing details are not flagged in the response; the spend numbers are quietly degraded until the database returns. If you need to detect that condition, you watch the proxy log, not the API response.
One operational side effect deserves its own line: Ruff now bans a top-level prisma import in this code path, so proxies installed without the Prisma client can still start. If you maintain custom fork patches against these modules, expect the lint rule to fight you until the import moves behind the lazy loader.
Billing Correctness: Perplexity Cache Reads Stop Billing at Full Price
Smaller, but exactly the kind of line item a FinOps review catches: PR #51669 fixes Perplexity cost calculation for responses that report cached prompt tokens but carry no computed cost. Before, the prompt cost multiplied all prompt tokens — cached ones included — by the full input rate. After:
prompt_tokens: Final = usage.prompt_tokens or 0
reported_cached_tokens: Final = getattr(usage.prompt_tokens_details, "cached_tokens", 0) or 0
cached_tokens: Final = min(prompt_tokens, reported_cached_tokens)
cache_read_cost_per_token: Final = (
input_cost_per_token if math.isnan(rates.cache_read_rate) else rates.cache_read_rate
)
prompt_cost: float = (
prompt_tokens - cached_tokens
) * input_cost_per_token + cached_tokens * cache_read_cost_per_token
Two defensive details worth stealing for your own cost calculators. The min() clamps reported cached tokens to the prompt total, so a provider reporting nonsense cannot mint negative uncached-token counts. And math.nan as the cache-read rate means "the model map defines no cache price" — in that case cached tokens bill at the full input rate, which is the conservative direction for reconciliation (you over-attribute rather than lose spend). The Perplexity-specific wrinkle this solves: responses that return citations and search-query usage but no cost object previously fell through to the generic pricer with cache reads invisible.
GPT-6.2 Prompt Caching Restored — and the Double-System-Prompt Bill
The release's biggest direct dollar figure is a repair to prompt caching for GPT-6.2, and the maintainer published before/after evidence from live calls (PR #52664, cherry-picking #52599 from main). The bug: a long system prompt sent to a GPT-6.2 deployment through /v1/chat/completions or /v1/messages never registered as cached on the 1.109 line. The fix restores cache hits on repeats:
| Route | Base (v1.109.1 lineage) | With fix (v1.109.2) |
|---|---|---|
| Chat Completions — cached tokens on calls 1/2/3 | 0 / 0 / 0 | 0 / 3333 / 3333 |
| Messages — cache read tokens on calls 1/2/3 | none / none / none | none / 3334 / 3334 |
That table is the maintainer's own run (real openai/responses/gpt-6.2-sol calls, three identical calls per route, fresh prompt per run, two-worker proxies, run without a database because — a detail infrastructure people will appreciate — the shared Rust build does not match this line's database layer). The pattern to note: cache registration lands on the second call, which is expected OpenAI-side warmup behavior; the pathology was the permanent zero. This backport also went to all four lines simultaneously, as the release-train diagram above shows: #52658 on stable/1.110.x (it shipped in v1.110.1, published the same morning), #52657 on the 1.111 RC, #52621 on the LTS line — merged after v1.108.11 was tagged, so LTS operators are still waiting for a tagged release that carries it.
But the caching repair itself needed a repair, and the sequence is the best process story in this release. The cherry-pick moved bridged Chat system prompts into the input in a way that made follow-up turns using previous_response_id send the system prompt twice — per PR #52707, input tokens on a follow-up went from about 10k to about 20k, which on a cached-prompt workload roughly doubles the most expensive line of your bill. The correction bridges the system prompt into input only when the effective upstream store is false, where "effective" follows what is actually sent to the provider — including extra_body and dropped params — so caching still works for store=false callers and stored conversations stop paying twice. count_tokens gets the same request settings and placement rule, so counts and generations agree.
Now watch the merge timestamps on the stable branch, because they tell you how much slack is actually in this pipeline: PR #52689 (01:10 UTC) updated two unit tests to expect #52664's new request shape; PR #52707 (01:21) merged eleven minutes later — its branch had never seen #52689, and it moved the system prompt back — so the line tip went red on the same two tests again; PR #52683 (01:52) restored the tests to the v1.109.1 expectations, which is also what main asserts after #52694. The release tag published 46 minutes after that, at 02:38. Nothing here shipped broken — the final state matches main — but two of the last four commits before a stable-line cut were test-expectation repairs for backports that landed faster than they could see each other. That is the real texture of maintaining four release lines by cherry-pick.
Team Budgets, and the Cross-Line 12months Trap
Three backports fix budget windows — the governance side of cost attribution. The first pair (PRs #51728 and #51960) close a spend-counter freeze: users auto-joined to a default team received a private member budget that had max_budget but no budget_duration, so their in-team spend never reset. The same applied to teams configured with default_team_member_models. The fix links those members to the team's team_member_budget_id and its duration, with the cap staying the team's and following /team/update — so raising or re-windowing the team budget now moves the members with it. If your chargeback model relies on per-member default-team caps resetting on a schedule, those counters have been accumulating without reset on this line until now.
The third, PR #51672, is the one to read twice before you upgrade, because its behavior is line-dependent and silently different from main. The bug it fixes on main: budget_duration: "12months" (or "12mos", "1month", "7days", "5min" …) was accepted as a duration but reset on the wrong schedule — a $1,200 yearly cap refilled at every midnight:
value: Final = int(match.group(1))
spelled_unit: Final = match.group(2)
unit: Final = _extract_from_regex(duration)[1] or spelled_unit
if unit == "mo" and spelled_unit != "mo" and value != 1:
return value, spelled_unit
return value, unit
Here is the trap. On main (and the 1.110/1.111 lines), #51672 as merged folds 12months onto the annual reset machinery, so the long spelling behaves like 12mo: it resets January 1. This line has no annual-reset machinery — the umbrella notes that the folded spelling "would have made them raise" — so the adaptation keeps 12months and 12month resetting at the next midnight, exactly as before, while short spellings (12mo, 1mo, 30d) and folded single-month spellings (1month) now reset on their proper schedule. Net effect on v1.109.2: "12months" is still a nightly-resetting budget wearing a yearly name. The same configuration string produces annual resets on main and nightly resets here. If you copy a config between lines — or between environments running different lines — verify the spelling you actually use, or write short forms everywhere.
Access Control and Price Gates: Two Quiet Fail-Open Bugs Closed
Two picks in the umbrella fix checks that failed open, and both deserve more attention than their one-line titles suggest. The first, PR #51498, is a multi-tenant file-ownership bug: the provider file ownership check matched the stored id by exact string only. A Gemini batch output can legitimately be addressed as files/<id>, files%2F<id>, <id>/, or its full URL — and none of those spellings found an ownership row, so the request "passed through to the same Google file" regardless of who owned it. The repair has three layers, and the third is the one that shows real threat modeling: canonical_provider_file_id collapses every spelling to the bare id; provider_file_id_spellings unwraps model-encoded ids and adds the files/ and Gemini URL forms so pre-existing upload rows still match; and every URL or URI that is not on Gemini's host stays opaque — so an Azure blob that happens to be named upload.files%2Ffile-victim can never index someone else's file id. The storage side indexes canonical ids at write time (store_unified_file_id, store_batch_output_file_ownership) and maps provider listings back by canonical id.
The second, PR #51671, is a price-gate bypass by path confusion. The /fal_ai passthrough must return 400 when a submit targets an endpoint LiteLLM cannot price — unpriced submits would otherwise run on the proxy's own fal key, spending the platform's money under nobody's virtual key. But the gate read the request path as typed by the client: a /requests/.. path segment made a submit look like a poll, and an encoded ? or # tail did the same. The gate now reads the path that is actually sent upstream, and the price lookup uses that same path; status and result polls still pass through unpriced, as they should. If you expose any passthrough provider to callers, note the class of bug: normalization mismatches between the routed path and the upstream path are a standing bypass primitive against per-request pricing.
Gemini Batches Land on a Stable Line — With Spend Tracking Done Properly
The one feature in a maintenance release: PR #51032 puts file-backed Gemini batch jobs on /v1/batches. Before it, custom_llm_provider: gemini returned 400 on batch creation, so Gemini Developer API batches could not run through the gateway at all — a customer asked for exactly this so spend lands on their virtual keys (tracked as Pylon #11681). The implementation is worth reading because it is a checklist for adding a batch provider to any gateway:
GeminiBatchesConfigcreatesmodels/{model}:batchGenerateContentjobs from an uploaded file and maps the long-running operation onto the OpenAI batch object, so the upload side keeps the OpenAI-shaped JSONL the proxy already writes — nothing changes for callers.- Usage extraction reads Gemini's camelCase rows (
promptTokens,completionTokens,totalTokens) that the shared batch pricer ignored — the old behavior billed a completed Gemini batch at $0.usage_from_batch_outputfolds the thinking tokens Gemini counts only intotalTokensintocompletion_tokens, so the completed poll prices at thegeminibatch rates and lands on the virtual key. - Output files download through
download/v1beta/files/{id}:download?alt=media, the file retriever now parses Gemini's nine-digit fractional timestamps instead of raising on every retrieve, andgeminijoinsFILE_CONTENT_STREAMING_PROVIDERSso/v1/files/{id}/contentstreams output instead of buffering it.
Its companion, PR #51279, closes the passthrough half: batches created through the raw /gemini route previously logged as $0 pass-through rows with model unknown — no managed batch row meant CheckBatchCost never priced the output file, so budgets and spend caps never saw that spend. A 200 from models/{model}:batchGenerateContent now registers the batch against the calling key, team, and tags, and the cost check prices the output file on completion, same as Vertex and Anthropic pass-through batches. Honest caveat from the PR itself: polls and downloads on that route are still $0 rows — a separate ticket. A third pick, PR #52060, maps reasoning_effort: "xhigh" to Gemini's thinkingLevel for gemini-4-hydrogen only (flagged per-model in the cost map), where the request previously 400'd before reaching Google.
Governance note: a feature landing on a stable line is usually a smell, and the umbrella does not pretend otherwise — #51032 was picked first because the attribution fix #51279 structurally depends on it. If your line-pinning policy is "stable means fixes only", this is the release where LiteLLM's line diverges from that policy, with a documented reason.
Supply-Chain and Image Hygiene: Making the Scanner Report Boring Again
Four dependency threads land together, and the interesting part is how the filelock one was closed. PR #51712 bumps OpenTelemetry (api, sdk, exporter-otlp) from 1.45.1 to 1.45.2, instrumentation-fastapi from 0.66b1 to 0.66b2, dnspython to >=2.9.2 on 3.11+, and tornado, clearing the November 13 advisory set so the osv-scan gate passes. The oauthlib bump (4.0.0 to 4.0.1, for GHSA-3jp2-3mrg-2vxc) rides the lock file only. The filelock thread is the deep one:
"filelock<3.20.4; python_version < '3.11'",
"filelock>=4.2.1; python_version > '3.11'",
The 1.109.x images shipped filelock 3.32.7, which image scanners flag with a fixed version of 4.2.1 — and per PR #52322's user flow, teams were holding production upgrades on that scan row alone. The constraint moves Python 3.11+ (what the image actually runs) to 4.2.1, while Python 3.10 deliberately stays on 3.20.3, held below 3.20.4 — the PR's own words: every newer 3.10-compatible release "carries more filelock advisories." The ignore-file churn shows the rest of the story: osv-scanner.toml drops from thirteen filelock advisory ignores to two, and .grype.yaml loses its filelock entry entirely. The one surviving Unix-relevant ignore (GHSA-69hj-f68j-2879) is re-dated to February 2027 with reasoning that is a small masterclass in contextual risk acceptance — the advisory is real, but the exposure path requires another local user who can rename or hard-link files inside the Hugging Face cache, which LiteLLM touches only to download the Kimi K3 tokenizer for Bedrock token counting. Read your vendors' ignore reasons; the good ones are auditable arguments, not suppressions.
The container story finishes with PR #52684: the UI image moves to the slim nginx base, so it no longer ships curl or brotli — matching what the 1.108 LTS line already did in #52298 and the 1.110 line in #52595 (main itself removed ui/Dockerfile entirely in #43332 when it consolidated on a single shipped image, so this change exists only on release lines). The same PR backports the health-endpoint hygiene fix (#52005, covered in migration toil below). Finally, the release images are cosign-signed, and the release body leads with the verification command:
cosign verify \
--certificate-identity https://github.com/BerriAI/project-releaser/.github/workflows/release.yml@refs/heads/main \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/berriai/litellm:v1.109.2
Two smaller items complete the hygiene pass: tzdata==2026.2 enters the CI dependency group with unit tests to match, and PR #52420 bumps next, soupsieve, and msal-node to match main, which is how the SSO login fix (#52213, full-page navigation instead of the /sso/key/generate/ detour that redirected to http:// behind TLS termination) rides into the dashboard build.
The Full Backport Manifest
Every change in v1.109.2, at a glance. The umbrella (PR #52243) carried the sixteen upstream picks; thirteen follow-on pull requests rode the same version before the tag:
| PR | Area | What it fixes |
|---|---|---|
| #51428 | proxy/auth | Refuse blocked and over-limit keys before reading the body (8 GiB OOM fix) |
| #51525 | logging | Keep call id, model, and key fields on pre-body refusals |
| #51498 | files | Ownership check matches every spelling of a provider file id |
| #51672 | budgets | Long duration spellings reset on their short form's schedule (line-adapted) |
| #51712 | deps | OpenTelemetry, dnspython, tornado past the Nov 13 advisories |
| #51728 | budgets | Default-team members join the team's budget, not a frozen private cap |
| #51675 | proxy/auth | Exhausted keys keep listing models and counting tokens |
| #51671 | passthrough | fal_ai price gate reads the path actually sent upstream |
| #51669 | cost calc | Perplexity cached prompt tokens billed at the cache-read rate |
| #51953 | router | Same-group retry for Responses streams broken before output |
| #51960 | budgets | default_team_member_models member budgets get the team's reset window |
| #52051 | images | Custom image handlers receive the caller's OpenAI image params |
| #52060 | gemini | reasoning_effort xhigh maps to thinkingLevel xhigh on gemini-4-hydrogen |
| #51032 | gemini/batches | File-backed Gemini batch jobs on /v1/batches with spend tracking (feature) |
| #51279 | gemini/batches | /gemini batchGenerateContent batches attributed to the calling key |
| #52213 | ui | SSO login uses full-page navigation (fixes http:// redirect behind TLS) |
| Backport PR | Upstream | What it fixes |
|---|---|---|
| #52322 | — | filelock 4.2.1 on Python 3.11+; scanner ignores retired |
| #52310 | #52169 | Pre-body rate check applies the team's current limits |
| #51044 | #49464 | Per-user spend breakdown restored on the user aggregated route |
| #52418 | #50253 | Spend survives database metadata-lookup failures |
| #52420 | — | next, soupsieve, msal-node bumps to match main |
| #52424 | — | tzdata and rc-version unit test fixes |
| #52433 | — | Same-group retries disabled in two stale Responses fallback tests |
| #52664 | #52599 | GPT-6.2 prompt caching restored (0/3333/3333 cached tokens) |
| #52561 | #52461 | No same-group retry after any output item reached the client |
| #52684 | #52005, #52298 | /health stops returning stack traces; slim nginx UI image |
| #52689 | — | Test expectations updated for the caching backport |
| #52707 | #52694 (main) | System prompt bridges into input only when effective store is false |
| #52683 | — | Test expectations restored to the v1.109.1 shape |
Plus three mechanical commits in the umbrella: the oauthlib lock-file bump, litellm-enterprise 0.1.82 to 0.1.82.post1 (its files changed on the line), and the version bump itself. Counting the picks and their follow-ons, the tag carries roughly 29 upstream changes — none of which introduce a new required setting or a database migration.
Migration Toil Assessment
v1.109.2 is a low-toil upgrade by patch-release standards, but five behavior changes will bite specific automation if you upgrade blind:
- /health responses changed shape. The
errorfield for an unhealthy deployment no longer carries thestack trace:suffix — only the provider's exception message. The redacted, truncated traceback is logged server-side at debug level (run with--detailed_debugto see it). If your alerting or runbooks grep the health payload forTracebackor container file paths, they go quiet — re-point them at the proxy log. Note the boundary of the redaction: whatever the upstream provider puts in its message (an AWS role ARN in an AccessDenied, for example) is still returned to callers. - Streaming /v1/responses failure economics changed. Same-group retry is now active for streams that break before output:
x-litellm-attempted-retriescan legitimately be nonzero where it was always zero, and each retry is a paid provider call. Your per-stream cost dashboards and your retry-budget alerts both need recalibration if you run reasoning models through this route. - Custom image handlers now see caller params. PR #52051 is an intentional product change: handlers receive
n,size,quality,response_format,user(andmaskon edits) inoptional_params. A handler that forwards all ofoptional_paramsupstream starts sending them too — test your handler contract before upgrading if you have one. - Budget spellings still drift across lines. On this line,
"12months"and"12month"keep resetting nightly (the annual-reset machinery does not exist here), while"1month"now folds to a true monthly window. The same string means something different on the 1.110 and 1.111 lines. Normalize to short spellings (12mo,1mo) in shared configs. - Usage APIs return a tri-state where they returned a boolean. A key whose metadata could not be loaded now reports
key_exists: nullrather thanfalse. Any consumer doing strict equality againstfalseneeds to handle the null case, which is the point — "unknown" and "does not exist" are different facts.
On the plus side of the ledger: the pre-body refusal means retry-flood clients stop costing you memory per rejected request; exhausted keys can list models and count tokens again; SSO behind TLS-terminating load balancers stops redirecting to plain HTTP; and if your security team holds releases on scanner output, the filelock row that was blocking you is gone on Python 3.11+ images.
Who Should Skip This Release
- Operators on stable/1.110.x. This is not your line, and most of it is already yours: the caching fix shipped in v1.110.1 the same morning (#52658), the slim UI image landed there in #52595, and the 1.110 line's own patch train covers the rest. Downgrading to 1.109.2 to chase a fix listed here is almost always a mistake — check your line's release body first.
- Operators on the LTS line (1.108.x). The sixteen-fix bundle is 1.109-specific, and the GPT-6.2 caching backport (#52621) merged to the LTS branch after v1.108.11 was tagged — it is in no tagged LTS release yet. Stay pinned, watch for the next LTS patch, and verify against its release body rather than assuming this analysis transfers.
- Greenfield deployments. Do not adopt the previous stable line for a new rollout. The current stable is 1.110.x (v1.110.1, published the same morning as this release), and 1.111 is in RC. v1.109.2 exists to keep an installed base healthy, not to win new one.
- Teams whose monitoring parses /health stack traces. The redaction is correct, but it is a breaking change to anything that mined the traceback from the health payload. Re-tool first, then upgrade.
- Custom image handler maintainers. PR #52051 changes what arrives in
optional_params. If your handler forwards everything upstream, you are one upgrade away from sending unreviewed params to a third party. Validate the contract first. - Anyone who needs
12monthsto mean "resets annually." It does not on this line, and it cannot — the annual-reset machinery is not on 1.109.x. If yearly budget windows are a hard requirement, your fix is a line migration to 1.110+, not this patch.
Verdict
v1.109.2 is what maintenance engineering looks like when it is taken seriously: a stable line that had fallen behind main repaid the debt in one batch — 73 commits, 104 files, sixteen umbrella picks, thirteen follow-ons — and the two regressions the batch introduced were caught by the line's own process before the tag ever published. The empty spend table that survived four minors, the frozen default-team budgets, the Perplexity cache-read overbilling, the 8 GiB OOM from refused-but-buffered bodies: these are the defects that quietly tax every production LiteLLM deployment, and they are fixed here with evidence attached. The supply-chain work deserves the same respect — the filelock closure removes eleven ignore entries by actually moving the dependency, and the two surviving ignores carry auditable exposure arguments instead of a shrug.
The costs are visible too, and they are structural: a config string (12months) that means different things on different lines, a test suite that went red twice in the final hour from backports merging faster than they could see each other, and a feature (Gemini batches) landing on a line that policy people call "fixes only". None of that is hidden — it is all in the PR bodies — but it does mean operators pinning 1.109.x must read the line's adaptation notes, not just main's changelog. Take this release if you are on the 1.109 line, take it soon if chargeback accuracy or image-payload workloads are in scope, and if you are elsewhere, take your own line's equivalent — the fixes fan out, and so should you. For the broader architecture context around gateway routing and cost attribution, our LLM router gateways guide and inference gateway pattern guide cover the design space, and the v1.110.0-rc.2 analysis remains the reference for where the 1.110 line's router core is heading.