mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
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. |
||
|---|---|---|
| .. | ||
| ai-gateway | ||
| CODING_STANDARDS | ||
| core | ||
| python-bridge | ||