litellm/litellm/router_rust/surface
Kerry Lu 8abcd13a9d
fix(cost): keep a deployment's per-second video price over the catalog row's flat price (#51688)
* fix(cost): keep a deployment's per-second video price over the catalog row's flat price

* fix(cost): drop the superseded flat video price from the registration kept for reloads

* test(cost): derive the per-second rate from the catalog row so the regression holds at any vendor price

* fix(cost): keep the flat video price when only a resolution tier is priced per second

* test(integration): assert the body sent to fal in the per-second price test

---------

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Nate Armstrong <narmstrong@berri.ai>
2026-11-15 12:04:41 -08:00
..
__init__.py
alerting.py
fallbacks.py
health.py refactor(router): move Redis key construction out of router-core into the stores (#50356) 2026-11-13 03:22:27 +00:00
health_routing.py feat(redis): serve the health checks' deployment states from a native store (#50357) 2026-11-13 03:22:28 +00:00
indexes.py fix(proxy): list callable ids for partial aliases over a catch-all deployment (#50963) 2026-11-10 22:20:06 -08:00
legacy_members.py refactor(router): count the whole router_usage family on the native store (#50862) 2026-11-13 03:22:28 +00:00
members.py
model_info.py refactor(router): count the whole router_usage family on the native store (#50862) 2026-11-13 03:22:28 +00:00
model_list.py fix(router): hold the registry lock across router-core writes and mirror reads (#50933) 2026-11-10 17:58:46 +00:00
README.md
registry.py fix(cost): keep a deployment's per-second video price over the catalog row's flat price (#51688) 2026-11-15 12:04:41 -08:00
replay.py fix(decisions): keep box questions on a deployment when a same-model sibling turns them off (#50724) 2026-11-10 17:26:46 +00:00
retries.py
settings.py

surface

The Python Router API, kept over router-core's state so Python callers see today's behavior. router-core holds the state and the rules; these modules are views and adapters.

  • registry, model_list, indexes, members: the deployment list, indexes and lookups; writes become changesets
  • legacy_members: the old public members outside the entry points
  • model_info: model and group info, answering the model_info step's lookups
  • replay: re-registers pricing after a price data reload
  • settings: update_settings rules and the settings view
  • health, health_routing, retries: outcome callbacks, health-check routing and retry answers
  • fallbacks: fallback config validation
  • alerting: Slack alerting

A Rust host needs none of this.