This commit is contained in:
Ishaan Jaffer 2026-02-10 14:28:57 -08:00
parent 235fdb35ba
commit 6dc5330c71

View file

@ -135,14 +135,14 @@ We are investing in making LiteLLM more predictable for enterprise deployments:
## Remediation
| # | Action | Status |
|---|---|---|
| 1 | CI validation on `model_prices_and_context_window.json` | Shipped ([PR #20605](https://github.com/BerriAI/litellm/pull/20605)) |
| 2 | Warning log on fallback to local backup | Shipped |
| 3 | Integrity validation of fetched map (min model count, shrinkage check) | Shipped |
| 4 | Resilience test suite for bad/missing cost maps | Shipped |
| 5 | Sync backup file on every release | Planned |
| 6 | Default to local-only cost map in production | Planned |
| # | Action | Status | Code |
|---|---|---|---|
| 1 | CI validation on `model_prices_and_context_window.json` | Shipped | [PR #20605](https://github.com/BerriAI/litellm/pull/20605) |
| 2 | Warning log on fallback to local backup | Shipped | [`get_model_cost_map.py`](https://github.com/BerriAI/litellm/blob/main/litellm/litellm_core_utils/get_model_cost_map.py) |
| 3 | `GetModelCostMap` class with integrity validation helpers | Shipped | [`get_model_cost_map.py`](https://github.com/BerriAI/litellm/blob/main/litellm/litellm_core_utils/get_model_cost_map.py) |
| 4 | Validation constants (`MODEL_COST_MAP_MIN_MODEL_COUNT`, `MODEL_COST_MAP_MAX_SHRINK_PERCENT`) | Shipped | [`constants.py`](https://github.com/BerriAI/litellm/blob/main/litellm/constants.py) |
| 5 | Resilience test suite (bad hosted map, bad backup, fallback, completion) | Shipped | [`test_model_cost_map_resilience.py`](https://github.com/BerriAI/litellm/blob/main/tests/llm_translation/test_model_cost_map_resilience.py) |
| 6 | Test that backup model cost map always exists and contains common models | Shipped | [`test_model_cost_map_resilience.py`](https://github.com/BerriAI/litellm/blob/main/tests/llm_translation/test_model_cost_map_resilience.py) |
## Other upstream dependencies