Skip to content

fix: correct embed-multilingual-light-v3.0 pricing (1000x too high) - #32117

Closed
visvishw wants to merge 1 commit into
BerriAI:mainfrom
visvishw:fix/cohere-embed-multilingual-light-price
Closed

visvishw wants to merge 1 commit into
BerriAI:mainfrom
visvishw:fix/cohere-embed-multilingual-light-price

Conversation

@visvishw

@visvishw visvishw commented Jul 4, 2026

Copy link
Copy Markdown

What

embed-multilingual-light-v3.0 (cohere) has input_cost_per_token: 0.0001, i.e. $100 per 1M tokens, 1000x the real price. It looks like the per-1K price ($0.0001/1K) was entered as a per-token value.

Evidence

  • Cohere prices all Embed v3 models, light included, at $0.10 per 1M tokens = 1e-07 per token: https://cohere.com/pricing
  • Every sibling entry in this file already says 1e-07: embed-english-light-v3.0, embed-english-v3.0, embed-multilingual-v3.0
  • This model's own OCI mirror in this file, oci/cohere.embed-multilingual-light-v3.0, also says 1e-07

Change

0.0001 -> 1e-07 for embed-multilingual-light-v3.0, in both model_prices_and_context_window.json and litellm/model_prices_and_context_window_backup.json. No other fields touched.

We caught this while auditing our own catalog's litellm-sourced prices against this file (we mirror it), and this entry stood out at 1000x its siblings.

🤖 Generated with Claude Code

input_cost_per_token was 0.0001 ($100 per 1M tokens), which is the per-1K
price entered as per-token. Cohere prices all embed v3 models, light
included, at $0.10 per 1M tokens = 1e-07 per token, matching every sibling
entry in this file (embed-english-light-v3.0, embed-multilingual-v3.0) and
this model's own OCI mirror (oci/cohere.embed-multilingual-light-v3.0).

Source: https://cohere.com/pricing (Embed: $0.10 / 1M tokens)
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Vishal Vishwakarma seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@greptile-apps

greptile-apps Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Corrects a 1000x pricing error for the Cohere embed-multilingual-light-v3.0 model, where the per-1K-token price ($0.0001) had been entered as a per-token value instead of the correct $0.10/1M (1e-07) figure. Both the primary and backup pricing JSON files are updated identically.

  • Changes input_cost_per_token from 0.0001 to 1e-07 in both model_prices_and_context_window.json and litellm/model_prices_and_context_window_backup.json — consistent with every other Cohere Embed v3 sibling entry (embed-english-light-v3.0, embed-english-v3.0, embed-multilingual-v3.0) and the OCI mirror oci/cohere.embed-multilingual-light-v3.0.

Confidence Score: 5/5

Safe to merge — the change is a one-field numeric correction in two JSON data files with no code logic touched.

The fix precisely matches all sibling Cohere Embed v3 entries in both JSON files and the published Cohere pricing page. Both files are updated in sync, nothing else was touched, and the PR description provides clear cross-references to verify the correction.

No files require special attention.

Important Files Changed

Filename Overview
model_prices_and_context_window.json Single-line fix correcting embed-multilingual-light-v3.0 input_cost_per_token from 0.0001 to 1e-07, matching all sibling Cohere Embed v3 entries.
litellm/model_prices_and_context_window_backup.json Same single-line pricing fix applied to the backup JSON, kept in sync with the primary file.

Reviews (1): Last reviewed commit: "fix: correct embed-multilingual-light-v3..." | Re-trigger Greptile

@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@yuneng-berri
yuneng-berri deleted the branch BerriAI:main September 13, 2026 04:28
@yuneng-berri yuneng-berri reopened this Sep 13, 2026
@devin-ai-integration
devin-ai-integration Bot changed the base branch from litellm_internal_staging to main September 23, 2026 15:51
@devin-ai-integration
devin-ai-integration Bot requested a review from a team September 23, 2026 15:51
@devin-ai-integration

Copy link
Copy Markdown
Contributor

Registry disposition is recorded in #48188. Current official documentation does not publish the proposed price, so no rate was changed

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.

3 participants