litellm-mirror/litellm/types
Krish Dholakia ac4f32fb1e
Cost tracking for gemini-2.5-pro (#9837)
* build(model_prices_and_context_window.json): add google/gemini-2.0-flash-lite-001 versioned pricing

Closes https://github.com/BerriAI/litellm/issues/9829

* build(model_prices_and_context_window.json): add initial support for 'supported_output_modalities' param

* build(model_prices_and_context_window.json): add initial support for 'supported_output_modalities' param

* build(model_prices_and_context_window.json): add supported endpoints to gemini-2.5-pro

* build(model_prices_and_context_window.json): add gemini 200k+ pricing

* feat(utils.py): support cost calculation for gemini-2.5-pro above 200k tokens

Fixes https://github.com/BerriAI/litellm/issues/9807

* build: test dockerfile change

* build: revert apk change

* ci(config.yml): pip install wheel

* ci: test problematic package first

* ci(config.yml): pip install only binary

* ci: try more things

* ci: test different ml_dtypes version

* ci(config.yml): check ml_dtypes==0.4.0

* ci: test

* ci: cleanup config.yml

* ci: specify ml dtypes in requirements.txt

* ci: remove redisvl depedency (temporary)

* fix: fix linting errors

* test: update test

* test: fix test
2025-04-09 18:48:43 -07:00
..
integrations Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
llms [Feat] - SSO - Use MSFT Graph API to assign users to teams (#9865) 2025-04-09 18:26:43 -07:00
mcp_server fix listing mcp tools 2025-03-29 18:40:58 -07:00
passthrough_endpoints Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
proxy/management_endpoints [Feat] - SSO - Use MSFT Graph API to assign users to teams (#9865) 2025-04-09 18:26:43 -07:00
adapter.py feat(anthropic_adapter.py): support for translating anthropic params to openai format 2024-07-10 00:32:28 -07:00
caching.py (bug fix) - Fix Cache Health Check for Redis when redis_version is float (#8979) 2025-03-04 21:26:18 -08:00
completion.py feat(endpoints.py): support adding credentials by model id 2025-03-14 12:32:32 -07:00
embedding.py Removed config dict type definition 2024-05-17 10:39:00 +08:00
files.py LiteLLM Contributor PRs (02/18/2025). (#8643) 2025-02-19 21:52:46 -08:00
fine_tuning.py (feat) POST /fine_tuning/jobs support passing vertex specific hyper params (#7490) 2025-01-01 07:44:48 -08:00
guardrails.py test: update test 2025-02-10 22:13:58 -08:00
rerank.py build(pyproject.toml): add new dev dependencies - for type checking (#9631) 2025-03-29 11:02:13 -07:00
router.py fix(router.py): support reusable credentials via passthrough router (#9758) 2025-04-04 18:40:14 -07:00
scheduler.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
services.py add operational metrics for pod lock manager v2 arch 2025-04-04 16:41:07 -07:00
tag_management.py [Feat] LiteLLM Tag/Policy Management (#9813) 2025-04-07 21:54:24 -07:00
utils.py Cost tracking for gemini-2.5-pro (#9837) 2025-04-09 18:48:43 -07:00