litellm/litellm-rust/crates/python-bridge
Yujong Lee c57274fa12 refactor(cost): price token usage with the Rust cost core [08/12]
cost::calculate prices token meters over the typed Prices every row lowers into, with one line per meter and the
borrowed rate named in fallback_from. generic_cost_per_token prices through Prices.price and as_main_cost, per-call
custom pricing is an overlay that never writes the shared row, and a directly written bad price is unpriced with one
log line

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:11:19 -07:00
..
benches refactor(rust): add types and core-utils crates, unify the provider error 2026-09-17 22:01:14 -07:00
src refactor(cost): price token usage with the Rust cost core [08/12] 2026-10-28 09:11:19 -07:00
tests refactor(rust): add types and core-utils crates, unify the provider error 2026-09-17 22:01:14 -07:00
AGENTS.md refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
build.rs feat: package Rust OCR bridge in LiteLLM wheel (#31267) 2026-06-25 12:32:55 -07:00
Cargo.toml refactor(cost): price token usage with the Rust cost core [08/12] 2026-10-28 09:11:19 -07:00
preflight_contract.json refactor(rust): move credential inheritance and the SDK limits out of the legacy callback crate into a driver preflight (#43259) 2026-09-26 01:09:36 +00:00