Repository navigation
fix(cost-map): correct three novita prices to the pricing page - #49548
Liutasil501 wants to merge 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b66ff15917
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "cache_read_input_token_cost": 3e-07, | ||
| "input_cost_per_token": 1.5e-06, | ||
| "cache_read_input_token_cost": 1.65e-07, | ||
| "input_cost_per_token": 8.25e-07, |
There was a problem hiding this comment.
Provide live before/after billing evidence
Under AGENTS.md, billing changes require live proxy proof with real provider calls. The JSON-only exception omits that evidence
AGENTS.md reference: AGENTS.md:L46-L48
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
This only changes three price values in the cost map and no code path, so the proxy flow is the same before and after with different numbers in the spend log. The evidence for the new values is Novita's pricing page and model page linked in the description, checked 2026-11-01. The DeepInfra fix in #49547 uses the same E2E exception and passed review. If a maintainer still wants a live proxy run with real Novita calls, say so and I'll add it
Absorb verified pricing from #49547 and #49548 and Aplomb 1 metadata from #49539. Preserve provider tiers and remove an identical duplicate retirement key. Co-authored-by: Liutasil501 <schmid.martin501@gmail.com> Co-authored-by: Adam Dalloul <47503782+Adam-Dalloul@users.noreply.github.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Verified pricing changes are consolidated in #49361, with contributor credit preserved. Closing this registry PR under the single rolling PR policy |
…#49361) * fix(databricks): mark audio and video input support on the Gemini 3.5 to 3.8 Flash rows * fix(model_prices): add Vertex AI and Together AI retirement dates Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model_prices): correct perplexity agent api pricing and add gemini-4-argon, nemotron-3.5-super Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model_prices): consolidate verified pricing and Aplomb metadata Absorb verified pricing from #49547 and #49548 and Aplomb 1 metadata from #49539. Preserve provider tiers and remove an identical duplicate retirement key. Co-authored-by: Liutasil501 <schmid.martin501@gmail.com> Co-authored-by: Adam Dalloul <47503782+Adam-Dalloul@users.noreply.github.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * chore(model_prices): sync generated EmpirioLabs endpoint metadata Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model_prices): verify Nebius and EmpirioLabs model metadata Verify canonical EmpirioLabs rows from #49695 against published model pages, preserving pricing tiers and excluding unverified variants and specialty billing. Add Nebius models and cached-input prices from the official catalog and correct the Voyage legacy input limit. Co-authored-by: Adam Dalloul <47503782+Adam-Dalloul@users.noreply.github.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model_prices): absorb Bedrock Opus 5 batch prices, Vertex Omni Flash limits and Gemini 2.5 shutdown dates Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model_prices): drop the EmpirioLabs rows and endpoint flags from this sync * fix(model_prices): merge main and dedupe the gemini-2.5 deprecation_date keys * fix(model_prices): set supports_video_input on the two new Nebius video models * fix(model_prices): add Azure AI Claude Mythos 5.1 and match Foundry max effort support Co-authored-by: Emerson Gomes <emerson.gomes@thalesgroup.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Adam Dalloul <47503782+Adam-Dalloul@users.noreply.github.com> Co-authored-by: Emerson Gomes <emerson.gomes@thalesgroup.com>
Handwritten 1-3 sentence description
<make-me-human-readable>Three Novita rows in the cost map no longer match Novita's pricing page, so spend for Macaron V1 Venti, Macaron V1 Tall and cached DeepSeek V4 Pro 0813 input is logged too high. This sets them to the prices the pricing page and the model pages show today. I found them while cross checking LiteLLM against models.dev, which already has these values.
</make-me-human-readable>Details
TLDR
Problem this solves:
How it solves it:
novita/mindai/macaron-v1-ventinovita/mindai/macaron-v1-tallnovita/deepseek/deepseek-v4-pro-0813Source: https://novita.ai/pricing, checked 2026-11-01. It lists Macaron V1 Venti at $0.825 in / $0.165 cache read / $2.475 out, Macaron V1 Tall at $0.2475 / $0.044 cache read / $1.43 out and V4 Pro 0813 at $1.32 / $0.044 cache read / $3.96 out per million tokens. The model page https://novita.ai/models/model-detail/mindai-macaron-v1-venti shows the same prices, with no discount marked.
User Flow
Before: a team calling
novita/mindai/macaron-v1-ventithrough the proxy sees spend logged at $1.50 in / $4.50 out per million tokens, above what Novita billsAfter: the same calls are logged at Novita's $0.825 in / $2.475 out
Screenshots / Proof of Fix
E2E exception at b66ff15: data only change to seven price fields, no code paths touched. Checks run:
python -c "import json; json.load(open('model_prices_and_context_window.json'))"parses, and the three rows read back as the per million prices abovecmp model_prices_and_context_window.json litellm/model_prices_and_context_window_backup.jsonreports no differencegit diff --statshows 7 changed lines per file, all price fields of the three rows aboveType
🐛 Bug Fix