Skip to content

perf(proxy): split aggregated usage query into key-free rollups and bounded top-N keys - #41293

Merged
yassin-berriai merged 18 commits into
mainfrom
litellm_usage_key_free_aggregate_split
Sep 18, 2026
Merged

yassin-berriai merged 18 commits into
mainfrom
litellm_usage_key_free_aggregate_split

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • Admin Usage aggregate query groups every rollup by api_key
  • Row count grows with key count: 3k keys means 500k+ rows
  • Prisma query engine hits tens of GB of RSS, then times out or OOMs

How it solves it:

  • Totals and model/provider/mcp/endpoint rollups now run key-free
  • Per-key rollups come from a UNION ALL arm capped at the top 100 keys by spend
  • One statement, one snapshot, same grouping-sets dispatcher unchanged
  • Response reports metadata.api_key_limit and metadata.total_api_keys
  • Key Activity tab and the Cost Optimization cache leakage card say when only the top keys were loaded, export is blocked then

User Flow

Before: an admin with a few thousand API keys waits minutes for the Usage page and watches partial totals

  1. They open https://litellm-domain/ui/?page=usage and pick the last 30 days
  2. The page calls GET https://litellm-domain/user/daily/activity/aggregated?start_date=2026-08-01&end_date=2026-08-30
  3. After ~30 seconds it comes back 500 {"detail":{"error":"Failed to fetch analytics: "}} while the database sidecar climbs past 15 GB of memory (on larger deployments it is OOM-killed)
  4. The page falls back to paging the raw per-user data (270 pages for this range) and shows partial totals that climb as pages arrive, with Export Data disabled until the last page lands

After: the same page loads in a few seconds with every dollar accounted for

  1. They open https://litellm-domain/ui/?page=usage and pick the last 30 days
  2. The page calls GET https://litellm-domain/user/daily/activity/aggregated?start_date=2026-08-01&end_date=2026-08-30
  3. It returns 200 in ~4 seconds. metadata.total_spend and metadata.total_api_requests match the database exactly, including keys that are not listed individually. metadata.api_key_limit is 100 and metadata.total_api_keys is 3000
  4. Cost, Model Activity and Endpoint Activity tabs cover every key. The Key Activity tab lists the 100 highest-spend keys and says "Only the 100 highest-spend keys of 3,000 are loaded"
  5. The Export Data button is disabled while the key list is capped, with a tooltip saying the export would under-report and naming USAGE_TOP_API_KEYS_LIMIT as the knob. Deployments with 100 keys or fewer see no note and can export as before

Relevant issues

Affected release

Reported by the customer on v1.96.2. The aggregated query has grouped by api_key since it was introduced, so this is a scaling limit that every release since then shares rather than a regression in a specific release, and no backport-stable label is requested

Linear ticket

Resolves LIT-7203

Part of LIT-7818 (parent). The follow-up in that ticket adds a key-free LiteLLM_DailyGlobalSpend rollup table so the key-free query stops scanning the user x key fact table at all. This PR is the query-shape half

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.). The only red checks are documentation and the test_env_keys.py step of code-quality, both of which fail only because USAGE_TOP_API_KEYS_LIMIT is documented in docs(proxy): document USAGE_TOP_API_KEYS_LIMIT env var litellm-docs#1484 and that PR has not merged yet. Once it merges, a re-run turns both green
  • 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

Live proxy on localhost:4000 (python litellm/proxy/proxy_cli.py --config litellm/proxy/dev_config.yaml --num_workers 2 --use_v2_migration_resolver) against a local Postgres, Admin UI dev server (npm run dev) on localhost:3000. Same DB, same curls and same browser steps on both sides. Each leg restarts the proxy on its own tree and waits for /health/liveliness to return 200 first

The user rollup table was seeded with the shape the linked ticket reports (3,000 keys), 30 days, 3 models, 270,000 rows. The team rollup table got 2 teams with 3 keys each for 2 days, so the team case can hit the cap with USAGE_TOP_API_KEYS_LIMIT=3

psql "$DATABASE_URL" -c "
INSERT INTO \"LiteLLM_DailyUserSpend\" (id, user_id, date, api_key, model, model_group, custom_llm_provider, endpoint, prompt_tokens, completion_tokens, spend, api_requests, successful_requests, updated_at)
SELECT 'seed-' || k || '-' || d || '-' || m, 'user-' || k, to_char(date '2026-08-01' + d, 'YYYY-MM-DD'),
       'key-' || lpad(k::text, 5, '0'), m, m, 'openai', '/v1/chat/completions',
       1000, 200, (k % 97 + 1) * 0.001, 5, 5, now()
FROM generate_series(0, 2999) k, generate_series(0, 29) d, unnest(array['gpt-5','gpt-5-mini','gpt-5-nano']) m;"

psql "$DATABASE_URL" -tAc 'select count(*), count(distinct api_key), round(sum(spend)::numeric,3), sum(api_requests) from "LiteLLM_DailyUserSpend"'
# 270000|3000|13201.650|1350000
psql "$DATABASE_URL" -tAc 'select count(*), count(distinct api_key), count(distinct team_id), round(sum(spend)::numeric,3) from "LiteLLM_DailyTeamSpend"'
# 24|6|2|0.720

Sampler used for the sidecar memory numbers, started right before each curl: while true; do ps -eo rss,args | rg query-engine-debian | rg -v rg | awk '{s+=$1} END {print int(s/1024)}'; sleep 1; done

Before (a8979fe)

Global Usage, 3,000 keys, 30 days

  1. curl -s -m 120 -H 'Authorization: Bearer sk-1234' -o before.json -w "HTTP %{http_code} in %{time_total}s\n" 'http://localhost:4000/user/daily/activity/aggregated?start_date=2026-08-01&end_date=2026-08-30'
  2. Output: HTTP 500 in 30.054310s, cat before.json gives {"detail":{"error":"Failed to fetch analytics: "}}
  3. Sampler peak: 15797 MB of query-engine RSS. Proxy log: LiteLLM Proxy:ERROR: common_daily_activity.py:1453 - Error fetching aggregated daily activity:
  4. Open http://localhost:3000/usage, pick 1 Aug to 30 Aug 2026 in the time range picker, click Apply. After the aggregated call fails the page falls back to paging the per-user endpoint. 75 seconds in it reads "Currently fetching spend data: fetched 55 / 270 pages" with $2,685.64 of the $13,201.65 total and Export Data disabled

Team Usage, cap set to 3 with 6 keys

  1. Proxy started with USAGE_TOP_API_KEYS_LIMIT=3 (ignored on this side, the variable does not exist yet)
  2. curl -s -H 'Authorization: Bearer sk-1234' -o team_before.json -w "HTTP %{http_code}\n" 'http://localhost:4000/team/daily/activity/aggregated?start_date=2026-08-01&end_date=2026-08-02'
  3. Output: HTTP 200. python3 -c "import json; d=json.load(open('team_before.json')); m=d['metadata']; print(m['total_spend'], m['total_api_requests'], m.get('api_key_limit'), m.get('total_api_keys'), sorted({k for r in d['results'] for k in r['breakdown']['api_keys']}))" prints 0.72 480 None None ['tkey-1-1', 'tkey-1-2', 'tkey-1-3', 'tkey-2-1', 'tkey-2-2', 'tkey-2-3']
  4. Open http://localhost:3000/usage, switch the Usage View dropdown to Team Usage, pick 1 Aug to 2 Aug 2026, click Apply, open the Key Activity tab. It shows "Showing 6 of 6 keys", no note, Export Data is enabled

Cost Optimization, cache leakage by virtual key

One extra key was seeded for this leg only: 30 rows of key-cheap-nano on gpt-5-nano with 400,000 prompt tokens and $0.0001 spend each, so it is the biggest uncached-input key (12,000,000 tokens) and the lowest-spend one (ranked 3,001 of 3,001 by spend). Deleted again afterwards

  1. Open http://localhost:3000/cost-optimization, click the Prompt Caching tab, pick 1 Aug to 30 Aug 2026 on the "Cache leakage by virtual key" card, click Apply
  2. The aggregated call fails the same way, the card fills over the fallback pages. After 180 seconds it still reads "Data is still loading", with key-chea... on top at 7,200,000 uncached input tokens and the rest at 54,000

After (3d29133)

Global Usage, 3,000 keys, 30 days

  1. Same curl: HTTP 200 in 4.043630s (3.81 s on the earlier head b74733d, the current head is that code plus two merges of main)
  2. python3 -c "import json; d=json.load(open('after.json')); m=d['metadata']; keys={k for r in d['results'] for k in r['breakdown']['api_keys']}; print(len(d['results']), round(m['total_spend'],3), m['total_api_requests'], m['api_key_limit'], m['total_api_keys'], len(keys))" prints 30 13201.65 1350000 100 3000 100, so the totals equal the psql sums above even though only 100 of the 3,000 keys are listed
  3. Sampler peak: 612 MB of query-engine RSS
  4. Same browser steps. The Cost tab shows $13,201.65 total spend, Model Activity and Endpoint Activity show 1,350,000 total requests, the Key Activity tab shows "Showing 100 of 100 keys" and "Only the 100 highest-spend keys of 3,000 are loaded". Export Data is disabled with the tooltip "Only the 100 highest-spend keys of 3000 were loaded, so a per-team export would under-report. Raise USAGE_TOP_API_KEYS_LIMIT on the proxy to load more keys."
  5. Filtered curls on the same head, each checked against psql on the same predicate. model=gpt-5 gives HTTP 200 in 1.78s with spend 4400.55 and 450,000 requests. api_key=key-0096 gives HTTP 200 in 0.065s with spend 8.73, 450 requests and total_api_keys 1, and the same key's owner through /user/daily/activity/aggregated?user_id=user-96 gives the same 8.73 and 450. timezone_offset_minutes=-120 gives HTTP 200 in 3.72s with unchanged totals, and /team/daily/activity/aggregated gives HTTP 200 in 0.081s

Usage page, before and after

Before, 75 seconds after Apply: the aggregated call has failed and the page is paging the per-user endpoint, $1,661.53 of $13,201.65 loaded so far

Usage page before, fallback paging 34 of 270 pages

After, about 4 seconds after Apply: the Cost tab shows the full $13,201.65 and 324,000,000 tokens off the single aggregated call

Usage page after, Cost tab with full totals

After, Key Activity tab: "Showing 100 of 100 keys" and the note that only the 100 highest-spend keys of 3,000 are loaded, Export Data disabled

Usage page after, Key Activity tab with truncation note

The Total Requests, Successful Requests and Failed Requests cards on the Cost tab read the gateway request log (/spend/logs based gatewayDailyActivityCall), not the daily rollup tables, so they show 0 on both sides with this seeded fixture. Model Activity and Endpoint Activity, which read the rollups, show 1,350,000 on the after side

Team Usage, cap set to 3 with 6 keys

  1. Proxy started with USAGE_TOP_API_KEYS_LIMIT=3
  2. Same curl: HTTP 200. Same python line prints 0.72 480 3 6 ['tkey-1-2', 'tkey-1-3', 'tkey-2-3'], so team totals and per-team spend (team-1 0.36, team-2 0.36, matching psql) still cover all 6 keys while only the 3 highest-spend keys are listed
  3. Same browser steps. The Key Activity tab shows "Showing 3 of 3 keys" and "Only the 3 highest-spend keys of 6 are loaded". Export Data is disabled with the tooltip "Only the 3 highest-spend keys of 6 were loaded, so a per-team export would under-report. Raise USAGE_TOP_API_KEYS_LIMIT on the proxy to load more keys."

Cost Optimization, cache leakage by virtual key

  1. Same browser steps. The card settles in about 6 seconds off the single aggregated call. key-cheap-nano is no longer in the table because it is outside the 100 highest-spend keys, so the card now says "Only the 100 highest-spend keys of 3,001 are loaded, so a lower-spend key that leaks more is not listed here. Raise USAGE_TOP_API_KEYS_LIMIT on the proxy to load more keys." The By model view has no such gap and shows no note

Type

🐛 Bug Fix

Caveats (if any)

Medium

  • The response lists at most 100 keys (highest spend first, ties by key). Before this PR it listed every key, which is exactly what did not scale. This is the fix LIT-7203 asks for in its Fix section (top N keys by spend in the window, N=100, the UI only shows up to 50), so the cap is the ticket's decision rather than this PR's
    • The Key Activity tab's Overall Usage cards sum only the loaded keys (45,000 requests for the top 100 in the run above, against 1,350,000 on the Model Activity tab). The note on that tab says so, and the other tabs stay complete
    • The Top Keys widget offers 5/10/25/50, so it is unaffected
    • The per-model Top Keys lists on the Model Activity tab and the cache leakage ranking on Cost Optimization only see the loaded keys, so a key that is big for one model or leaks a lot of uncached input but sits outside the top 100 by spend is not listed. The cache leakage card says so, the per-model lists do not
  • The key-free query still scans the user x key fact table, so wall time still grows with row count. The parent ticket's follow-up table fixes that half
  • Team, Organization, Customer, Tag and Agent usage go through the same cap, so a single team with more than 100 keys sees the same note and export block

Low

  • USAGE_TOP_API_KEYS_LIMIT defaults to 100 and can be raised with the env var of the same name for deployments that need every key listed. Documented in docs(proxy): document USAGE_TOP_API_KEYS_LIMIT env var litellm-docs#1484, which has to merge before the documentation check here goes green
  • The two arms share one WHERE clause and run as one UNION ALL statement, so the response is one snapshot and the DB does two passes over the filtered rows
  • metadata.total_api_keys counts keys with rows in range and excludes the PTU placeholder key. The placeholder's spend stays in the totals
  • The AI usage chat tool (ai_usage_chat.py) reads the same aggregated response but only summarises totals, models, providers and entities, none of which are capped
  • Veria posts its PR risk: N/10 overview comment only when it has at least one finding, so a clean run leaves no overview comment (checked against every Veria overview in the repo since 2026-09-12, all of which carry Fixed/addressed of 1 or more). On cf07ee1 the Veria AI - PR Review check completed with No security issues found, zero inline findings and zero open Veria threads
  • Head 3d29133 is b74733d plus two clean merges of main (cf07ee1, then 3d29133), no code changes of its own. Bugbot no new issues on cf07ee1 stays valid for this head because that commit is an ancestor of it. The bugbot run posted for 3d29133 was answered with Bugbot is paused, on-demand spend limit reached, so no fresh Bugbot verdict exists for the merge commit itself. On 3d29133 Greptile scored 5/5 with no outstanding finding, the Veria AI - PR Review and CodeQL checks completed with no findings, and there are 0 open github-advanced-security threads and 0 unresolved review threads

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

ran /live-pr-risk and found no regressions/backward incompatible risks

Link to Devin session: https://app.devin.ai/sessions/09ed50d5f86a4716931d706cbd7148f2
Open in Devin Desktop: https://app.devin.ai/desktop/session/09ed50d5f86a4716931d706cbd7148f2?variant=devin
Requested by: @yassin-berriai

…ounded top-N keys

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

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codspeed

codspeed Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing litellm_usage_key_free_aggregate_split (191ca14) with main (6b54238)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (57377c9) during the generation of this report, so 6b54238 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@greptile-apps

greptile-apps Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with no outstanding previous findings or actionable regressions introduced since the prior review.

Summary

This PR restructures aggregated usage reporting to keep complete totals and non-key rollups while bounding per-key results to the highest-spend keys.

  • Executes key-free and bounded per-key rollups in one UNION ALL statement.
  • Exposes the configured key limit and total matching key count in response metadata.
  • Warns users when key-level data is truncated and blocks incomplete exports.
  • Adds coverage for truncation, exact-limit behavior, filtering, model-group fallback, and affected UI states.
  • The changes since the previous review come from merging the latest main; no new PR-specific implementation regression was identified.

Reviews (9) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..."

Comment thread litellm/constants.py Resolved
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@codecov

codecov Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

… statement

Both arms now run in a single query_raw call so totals and per-key
breakdowns come from the same snapshot. USAGE_TOP_API_KEYS_LIMIT can be
raised via env for deployments that need every key in the response.

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

Copy link
Copy Markdown
Contributor Author

@greptileai

… endpoint docstring

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
yassin-berriai and others added 3 commits September 16, 2026 01:48
…e_aggregate_split

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

# Conflicts:
#	litellm/proxy/management_endpoints/common_daily_activity.py
…query path

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

Copy link
Copy Markdown
Contributor Author

@greptileai

yassin-berriai and others added 2 commits September 16, 2026 09:22
…d of SQL text

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

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

Copy link
Copy Markdown
Contributor Author

@greptileai

…ated as truncated

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

Copy link
Copy Markdown
Contributor Author

@greptileai

…ere loaded

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

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

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

@greptileai please review 3d29133, the branch now carries a fresh merge of main with no code changes of its own

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

@veria-ai please review 3d29133, the head now includes a fresh merge of main with no functional changes of its own

@mateo-berri

Copy link
Copy Markdown
Contributor

bugbot run

@cursor

cursor Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

@yassin-berriai
yassin-berriai merged commit 2e46b10 into main Sep 18, 2026
89 of 91 checks passed
@yassin-berriai
yassin-berriai deleted the litellm_usage_key_free_aggregate_split branch September 18, 2026 20:16
yuneng-berri added a commit that referenced this pull request Sep 26, 2026
…pend rollup code from rc/1.103.0 (#43326)

Reverts the code from #41324 (merge 87694c2) and #41293 (merge 2e46b10).
The LiteLLM_DailyGlobalSpend model and migration stay so databases that applied
rc.1 keep a consistent table and rollup marker when the feature returns.
yuneng-berri added a commit that referenced this pull request Sep 27, 2026
… global spend rollup code from rc/1.104.0 (#43385)

* Revert "feat(proxy): server-side Team Usage export beyond the top-N key cap (#42996)"

This reverts commit 77eccac.

* Revert "feat(usage): search team keys beyond the top-N in the Team usage view (#42857)"

This reverts commit c2eb549.

* Revert "feat(usage): search keys beyond the top-N usage subset (#42827)"

This reverts commit 5a8ec13.

* Revert "Merge pull request #41324 from BerriAI/litellm_daily_global_spend_table"

Removes the daily global spend rollup job and its reads. Keeps the
LiteLLM_DailyGlobalSpend model and migration so databases that already
applied it are untouched and no new proxy-extras version is needed.

This reverts commit 87694c2, reversing changes made to its first parent.

* Revert "Merge pull request #41293 from BerriAI/litellm_usage_key_free_aggregate_split"

Restores the aggregated usage query without the top-N key cap, so the
Usage pages, per-key widgets and exports cover every key again.
CacheLeakageCard keeps the date picker removal from #42055.

This reverts commit 2e46b10, reversing changes made to its first parent.

* chore: update Next.js build artifacts (2026-09-27 00:33 UTC, node v24.19.0)
devin-ai-integration Bot added a commit that referenced this pull request Sep 28, 2026
…_aggregate_split"

This reverts commit 2e46b10, reversing
changes made to 6e3b6d6.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration Bot pushed a commit that referenced this pull request Sep 28, 2026
yuneng-berri pushed a commit that referenced this pull request Sep 28, 2026
…_aggregate_split" (#43596)

Co-authored-by: yassin <yassin@berri.ai>
yuneng-berri pushed a commit that referenced this pull request Sep 28, 2026
…r the usage dashboard (#41324)" (#43595)

* Revert "Merge pull request #41324 from BerriAI/litellm_daily_global_spend_table"

* Revert "Merge pull request #41293 from BerriAI/litellm_usage_key_free_aggregate_split" (#43596)

Co-authored-by: yassin <yassin@berri.ai>

---------

Co-authored-by: yassin <yassin@berri.ai>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
yuneng-berri pushed a commit that referenced this pull request Sep 28, 2026
…)" (#43378)

* Revert "feat(usage): search keys beyond the top-N usage subset (#42827)"

* revert: "feat(proxy): add LiteLLM_DailyGlobalSpend key-free rollup for the usage dashboard (#41324)" (#43595)

* Revert "Merge pull request #41324 from BerriAI/litellm_daily_global_spend_table"

* Revert "Merge pull request #41293 from BerriAI/litellm_usage_key_free_aggregate_split" (#43596)

Co-authored-by: yassin <yassin@berri.ai>

---------

Co-authored-by: yassin <yassin@berri.ai>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
yuneng-berri pushed a commit that referenced this pull request Sep 28, 2026
…sage view (#42857)" (#43377)

* Revert "feat(usage): search team keys beyond the top-N in the Team usage view (#42857)"

* revert: "feat(usage): search keys beyond the top-N usage subset (#42827)" (#43378)

* Revert "feat(usage): search keys beyond the top-N usage subset (#42827)"

* revert: "feat(proxy): add LiteLLM_DailyGlobalSpend key-free rollup for the usage dashboard (#41324)" (#43595)

* Revert "Merge pull request #41324 from BerriAI/litellm_daily_global_spend_table"

* Revert "Merge pull request #41293 from BerriAI/litellm_usage_key_free_aggregate_split" (#43596)

Co-authored-by: yassin <yassin@berri.ai>

---------

Co-authored-by: yassin <yassin@berri.ai>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants