litellm-mirror/litellm-proxy-extras
Ishaan Jaff bd88263b29
[Feat - Cost Tracking improvement] Track prompt caching metrics in DailyUserSpendTransactions (#10029)
* stash changes

* emit cache read/write tokens to daily spend update

* emit cache read/write tokens on daily activity

* update types.ts

* docs prompt caching

* undo ui change

* fix activity metrics

* fix prompt caching metrics

* fix typed dict fields

* fix get_aggregated_daily_spend_update_transactions

* fix aggregating cache tokens

* test_cache_token_fields_aggregation

* daily_transaction

* add cache_creation_input_tokens and cache_read_input_tokens to LiteLLM_DailyUserSpend

* test_daily_spend_update_queue.py
2025-04-15 21:40:57 -07:00
..
dist Add aggregate team based usage logging (#10039) 2025-04-15 20:58:48 -07:00
litellm_proxy_extras [Feat - Cost Tracking improvement] Track prompt caching metrics in DailyUserSpendTransactions (#10029) 2025-04-15 21:40:57 -07:00
tests install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
LICENSE install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
poetry.lock build: use new litellm-proxy-extras version 2025-04-12 10:55:47 -07:00
pyproject.toml Add aggregate team based usage logging (#10039) 2025-04-15 20:58:48 -07:00
README.md install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00

Additional files for the proxy. Reduces the size of the main litellm package.

Currently, only stores the migration.sql files for litellm-proxy.

To install, run:

pip install litellm-proxy-extras

OR

pip install litellm[proxy] # installs litellm-proxy-extras and other proxy dependencies.

To use the migrations, run:

litellm --use_prisma_migrate