litellm/tests/e2e/budgets
mateo-berri 09f2a9528a
test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI
Model IDs were hardcoded across the e2e suite, so every provider
deprecation meant a scatter-shot edit and stale models (gemini-2.5-flash,
gpt-4o-mini) kept running in CI. Tests now import role-named pins from
tests/e2e/model_matrix.py, and a bump is a one-file change plus the
compose gateway config.

check_e2e_model_freshness.py (wired into test-code-quality) fails when a
pin is missing from model_prices_and_context_window.json, is within 30
days of its deprecation_date, drifts from the docker-compose gateway
config, or when a test hardcodes a versioned model literal again.

Bumps: gemini-2.5-flash -> gemini-3.5-flash, gpt-4o-mini -> gpt-5.4-mini
2026-07-08 07:15:58 +00:00
..
budget_client.py feat(proxy): add key-level budget_fallbacks to reroute requests when a per-model budget is exceeded (#31783) 2026-07-03 12:20:12 -07:00
BUDGET_CODE_MATRIX.md test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
BUDGET_TEST_COVERAGE_MATRIX.md test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
conftest.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
test_budget_crud_e2e.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
test_budget_enforcement_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_budget_fallback_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_budget_reset_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_model_max_budget_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_multi_window_budget_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_soft_budget_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_spend_counter_reseed_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_tag_budget_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_team_member_budget_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_team_member_budget_reset_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00
test_team_multi_window_budget_e2e.py test(e2e): centralize model pins in model_matrix.py and enforce freshness in CI 2026-07-08 07:15:58 +00:00