From 5dea545c65bf272dfa4441c2c512a2b3393d6503 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Thu, 29 Jan 2026 16:17:33 +0530 Subject: [PATCH 1/3] Intentional bad model map --- model_prices_and_context_window.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index e2e3ee9428a..126e563d300 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -13520,7 +13520,7 @@ "supports_tool_choice": true, "supports_vision": true, "supports_web_search": true - }, + } "gemini-robotics-er-1.5-preview": { "cache_read_input_token_cost": 0, "input_cost_per_token": 3e-07, From 39dea34dfa677323f10b6cc7812736e187a56aa0 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Thu, 29 Jan 2026 16:25:10 +0530 Subject: [PATCH 2/3] Add Validate model_prices_and_context_window.json job --- .github/workflows/test-model-map.yaml | 15 +++++++++++++++ model_prices_and_context_window.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test-model-map.yaml diff --git a/.github/workflows/test-model-map.yaml b/.github/workflows/test-model-map.yaml new file mode 100644 index 00000000000..377e5711b14 --- /dev/null +++ b/.github/workflows/test-model-map.yaml @@ -0,0 +1,15 @@ +name: Validate model_prices_and_context_window.json + +on: + pull_request: + branches: [ main ] + +jobs: + validate-model-prices-json: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Validate model_prices_and_context_window.json + run: | + jq empty litellm/model_prices_and_context_window.json diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 126e563d300..e2e3ee9428a 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -13520,7 +13520,7 @@ "supports_tool_choice": true, "supports_vision": true, "supports_web_search": true - } + }, "gemini-robotics-er-1.5-preview": { "cache_read_input_token_cost": 0, "input_cost_per_token": 3e-07, From b0dec49e9a2e9e6c9e0cfbffbda0f54e3f013312 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Thu, 29 Jan 2026 16:26:00 +0530 Subject: [PATCH 3/3] Remove validate job from lint --- .github/workflows/test-linting.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/test-linting.yml b/.github/workflows/test-linting.yml index 4a48c1e8b08..7c5c269f899 100644 --- a/.github/workflows/test-linting.yml +++ b/.github/workflows/test-linting.yml @@ -74,7 +74,3 @@ jobs: - name: Check import safety run: | poetry run python -c "from litellm import *" || (echo '🚨 import failed, this means you introduced unprotected imports! 🚨'; exit 1) - - - name: Validate model_prices_and_context_window.json - run: | - jq empty litellm/model_prices_and_context_window.json