litellm/litellm-rust
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
..
.agents/skills refactor(rust): derive strum VariantArray and string conversions (#45434) 2026-10-08 21:24:49 +00:00
crates refactor(cost): price token usage with the Rust cost core [08/12] 2026-10-28 09:11:19 -07:00
docs/adrs docs(rust): add ADRs for the Rust core (#45205) 2026-10-08 10:21:56 -07:00
.gitignore feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
AGENTS.md feat(rust): add native OpenRouter Responses (#46000) 2026-10-15 11:02:03 -07:00
Cargo.lock refactor(cost): price token usage with the Rust cost core [08/12] 2026-10-28 09:11:19 -07:00
Cargo.toml refactor(model-cost): fetch and reload the cost map through Rust 2026-10-28 09:10:12 -07:00
clippy.toml feat(rust): add the MCP gateway (#43470) 2026-09-27 19:37:41 -07:00