litellm/litellm/rust_bridge
Claude 160bceb051
feat(cost): bill provider-reported costs in Rust by the policy of their source
The response cost header and an upstream's usage.cost become a typed
ReportedCost source. Rust applies each source's discount and margin
policy and splits the billed total in the ratio the catalog prices the
call's usage. split_reported_cost_by_cost_map_ratio and the arithmetic
of _adjusted_provider_billed_cost are deleted. Parity fixture
reported_parity.json captured from main 532df6ef85.
2026-11-19 06:44:57 +00:00
..
chat_completions feat: add OpenRouter-style -latest model aliases for first-party providers (#50315) 2026-11-06 18:22:38 +08:00
embeddings refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
host refactor(cost): keep the lint gates flat for the Rust-priced Messages hand-off 2026-11-19 06:44:47 +00:00
messages feat(messages): serve bedrock invoke messages on rust only (#51330) 2026-11-15 16:58:31 -08:00
ocr refactor(rust-bridge): move the route host modules under host/routes (#46786) 2026-10-15 18:27:06 -07:00
responses refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
transcription refactor(rust-bridge): unify native call inputs and Messages settings (#45126) 2026-10-07 15:05:43 -07:00
__init__.py refactor(rust-bridge): require the native extension (#48852) 2026-10-28 13:16:56 -07:00
_native.pyi feat(cost): bill provider-reported costs in Rust by the policy of their source 2026-11-19 06:44:57 +00:00
AGENTS.md refactor(auth): plan the authentication path in Rust (#51605) 2026-11-16 19:36:57 +09:00
bindings.py refactor(rust-bridge): require the native extension (#48852) 2026-10-28 13:16:56 -07:00
catalog.py feat(messages): serve bedrock mantle messages on rust only (#52328) 2026-11-18 17:36:06 -08:00
clickhouse.py refactor(rust-bridge): require the native extension (#48852) 2026-10-28 13:16:56 -07:00
configuration.py refactor(proxy): let the gunicorn server take a private listener (#50871) 2026-11-11 19:40:00 +00:00
database.py feat(gateway): resolve Redis and the database in their own crates and hand them to routes as axum state (#52222) 2026-11-18 09:16:13 +09:00
detectors.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
diagnostics.py refactor(rust-bridge): remove the LoggerRule concept from the catalog (#46711) 2026-10-15 17:49:51 +00:00
dispatch.py refactor(rust-bridge): detect Python-only features in the catalog instead of Rust declines (#46714) 2026-10-20 15:06:25 -07:00
execution.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
failures.py chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
fork_guard.py refactor(rust-bridge): require the native extension (#48852) 2026-10-28 13:16:56 -07:00
public_call.py refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
response_metadata.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
runtime.py feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
token_counter.py feat(tokenizer): preserve Python defaults with opt-in Rust dispatch (#42174) 2026-09-22 04:41:11 +00:00
tokenizer.py refactor(sdk): separate core AWS and tokenizer dependencies (#44447) 2026-10-08 19:07:57 -07:00