Skip to content

fix(cost-map): correct three novita prices to the pricing page - #49548

Closed
Liutasil501 wants to merge 1 commit into
BerriAI:mainfrom
Liutasil501:fix-novita-prices
Closed

Liutasil501 wants to merge 1 commit into
BerriAI:mainfrom
Liutasil501:fix-novita-prices

Conversation

@Liutasil501

Copy link
Copy Markdown

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:

  • Three novita rows differ from Novita's published prices

How it solves it:

  • Updates only the differing price fields, in both cost map files
Row Field Before After
novita/mindai/macaron-v1-venti input / output / cache read 1.5e-06 / 4.5e-06 / 3e-07 8.25e-07 / 2.475e-06 / 1.65e-07
novita/mindai/macaron-v1-tall input / output / cache read 4.5e-07 / 2.6e-06 / 8e-08 2.475e-07 / 1.43e-06 / 4.4e-08
novita/deepseek/deepseek-v4-pro-0813 cache read 1.32e-07 4.4e-08

Source: 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-venti through the proxy sees spend logged at $1.50 in / $4.50 out per million tokens, above what Novita bills

After: 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:

  1. 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 above
  2. cmp model_prices_and_context_window.json litellm/model_prices_and_context_window_backup.json reports no difference
  3. git diff --stat shows 7 changed lines per file, all price fields of the three rows above

Type

🐛 Bug Fix

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T01:37:17.122994Z b66ff15 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

devin-ai-integration Bot added a commit that referenced this pull request Nov 2, 2026
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>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

Verified pricing changes are consolidated in #49361, with contributor credit preserved. Closing this registry PR under the single rolling PR policy

kerry-berri pushed a commit that referenced this pull request Nov 3, 2026
…#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant