litellm/litellm-rust/crates
mateo-berri 24299c3c5e fix(cost): price Vertex AI DeepSeek OCR by token usage
DeepSeek OCR on Vertex AI reports prompt and completion tokens and never a
page count, so the OCR cost calculator either raised (cost-map name, no cost
header at all) or returned 0.0 (short name, no cost-map entry). OCR cost now
falls back to the model's token rates when no page pricing applies, the
DeepSeek transform reports the canonical deepseek-ai/ model on the response so
the short deployment name resolves the cost-map entry, and the unsourced
ocr_cost_per_page is dropped from that entry since Google bills it per token.
The Rust OCR port mirrors the canonical response model.
2026-09-02 14:50:42 -07:00
..
ai-gateway feat(rust): route /chat/completions through the Rust core for anthropic and bedrock (#37241) 2026-08-20 16:15:24 -07:00
CODING_STANDARDS refactor(rust): make litellm-core the callable messages() SDK; drop the ai-gateway handler (#35044) 2026-07-29 13:41:31 -07:00
core fix(cost): price Vertex AI DeepSeek OCR by token usage 2026-09-02 14:50:42 -07:00
python-bridge build(rust): configure native extension profiles 2026-08-31 17:25:28 -07:00