Skip to content

feat(model_prices): add missing OpenAI, Together, Fireworks and Bedrock registry entries - #46742

Merged
klu-berri merged 2 commits into
mainfrom
litellm_model_registry_audit_2026_10_15_evening
Oct 15, 2026
Merged

klu-berri merged 2 commits into
mainfrom
litellm_model_registry_audit_2026_10_15_evening

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • Several live provider models had no registry entry at all
  • Cost lookups for them raised "This model isn't mapped yet"

How it solves it:

User Flow

Before: a proxy admin adds a newly released model and spend tracking can't price it

  1. They add together_ai/meta-models/Muse-Spark-Open-816B-A42B to config.yaml and restart the proxy
  2. A chat call to that model returns 200, but the cost lookup fails with "This model isn't mapped yet"
  3. https://litellm-domain/ui/?page=logs shows the request with no spend

After: the same model is priced from the registry

  1. They add the same model and restart the proxy
  2. The chat call returns 200 and the proxy prices it at $1.25 input, $0.15 cached input and $4.25 output per 1M tokens
  3. The logs page shows real spend for the request

Changes by provider

OpenAI

gpt-5.5-cyber-preview is added with the same pricing as gpt-5.5-cyber (12.50 input, 1.25 cached input, 75.00 output per 1M tokens), taken from #46615. OpenAI's Daybreak help article tells API users to "send a direct Responses API request with the model gpt-5.5-cyber-preview", and the price comes from the gpt-5.5-cyber row on the pricing page

Sources: https://developers.openai.com/api/docs/pricing and https://help.openai.com/en/articles/20001259-openai-daybreak-common-issues-and-troubleshooting

Cohere

Nothing is added for Cohere. command-a-reasoning-08-2025, command-a-vision-07-2025, command-a-translate-08-2025, north-mini-code-1-0, north-small-translate-09-2026, c4ai-aya-vision-32b and north-large-01-2026 (from #46589) are live per https://docs.cohere.com/docs/models and the Cohere models API, but https://cohere.com/pricing publishes no per-token price for them. An entry without a price makes litellm log $0 spend instead of raising "This model isn't mapped yet", so unpriced models are left out of the registry

Together AI

together_ai/meta-models/Muse-Spark-Open-816B-A42B is added at 1.25 input, 0.15 cached input and 4.25 output per 1M tokens, with a 1048576 context window and function calling plus structured outputs. The serverless models table, the pricing page and GET https://api.together.xyz/v1/models all agree on these values

Sources: https://docs.together.ai/docs/serverless-models and https://www.together.ai/pricing

Fireworks AI

fireworks_ai/accounts/fireworks/models/muse-spark-open is added at 1.25 input, 0.15 cached input and 4.25 output per 1M tokens. The model page is JS rendered, so the price was read from the rendered page and checked against r.jina.ai. The 1048576 context length, image input and tool support come from the Fireworks models API

Source: https://fireworks.ai/models/fireworks/muse-spark-open

AWS Bedrock

Adds the 13 us.stability.* system-defined inference profiles that Bedrock lists in us-east-1 and us-west-2 for the Stability image edit models (upscale, outpaint, inpaint, erase, recolor, replace, remove background, sketch, structure, style guide, style transfer). Each one copies its base stability.* row, and those per-image prices match the Bedrock pricing page. AWS says geographic cross-Region inference uses standard pricing with no added routing cost. Cost lookups for these profiles already resolved through the base row, so this only makes the profiles explicit in the registry

Sources: https://aws.amazon.com/bedrock/pricing/ and https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html

Checked and not changed

together_ai/Qwen/Qwen3.7-Max stays at 1.50 / 0.30 / 4.50. Together's API and serverless models table say 2.50 / 0.50 / 7.50, while https://www.together.ai/pricing still says 1.50 / 0.30 / 4.50. Since Together's own sources disagree, I'm leaving the value alone until they line up. #46399 tried to move this value and to remove Together models that https://docs.together.ai/docs/deprecations still lists as live until 2026-10-22, so nothing from it was absorbed

Mistral codestral-2508 and the codestral-latest / mistral-code-* aliases stay at 128000. The API reports 256000, but the model card at https://docs.mistral.ai/models/model-cards/codestral-25-08 says 128k

fireworks_ai/accounts/fireworks/models/qwen3p8-2p4t-a95b is not added. The API marks it serverless, but its model page says "Serverless Not supported" and shows no per-token price

groq/allam-2-7b is not added. It shows up in the Groq models endpoint, but it is missing from https://console.groq.com/docs/models and from Groq's pricing page

us.amazon.nova-premier-v1:0 is not added this run. Its base price could not be read from the JS-rendered https://aws.amazon.com/nova/pricing/ page

luma.ray-v2:0 is not added. Bedrock prices it per video by resolution, and there is no per-second field that maps cleanly. The eu.cohere.embed-v4:0 profile is skipped because the EU price was not published in a readable form, and the eu/us Claude 3 Haiku and Sonnet profiles are skipped because the registry has no base rows for those Claude 3 models

Gemini antigravity-preview-* is a managed agent, not a priced generateContent model. Other Gemini API limit differences (for example 65535 vs 65536 output, and embedding models reporting 1 output token) are API metadata quirks, so I left them

command-a-plus-05-2026 still has 0.0 costs on main because Cohere publishes no price for it. I left it alone

No ci_cd/cost_map_pins.json exists on main, so there were no pinned flags to check. #46732 (deprecation dates only) and code PRs that touch the JSON in passing were left alone

Pre-Submission checklist

  • The handful of test files covering my change pass locally, e.g. uv run pytest tests/unit/<your_test_file>.py -v
  • My PR's scope is as isolated as possible; it only solves 1 specific problem

Screenshots / Proof of Fix

Probe script /tmp/p/probe.py calls litellm.get_model_info(<model>) with LITELLM_LOCAL_MODEL_COST_MAP=True for one new model per provider

Before (7774784)

  1. LITELLM_LOCAL_MODEL_COST_MAP=True python /tmp/p/probe.py
  2. Output
gpt-5.5-cyber-preview input 0 output None max_input None
together_ai/meta-models/Muse-Spark-Open-816B-A42B ERROR ModelNotMappedError This model isn't mapped yet
fireworks_ai/accounts/fireworks/models/muse-spark-open ERROR ModelNotMappedError This model isn't mapped yet
bedrock/us.stability.stable-image-inpaint-v1:0 input 0 output 0.07 max_input 77

After (2deb4e3)

  1. LITELLM_LOCAL_MODEL_COST_MAP=True python /tmp/p/probe.py
  2. Output
gpt-5.5-cyber-preview input 1.25e-05 output 7.5e-05 max_input None
together_ai/meta-models/Muse-Spark-Open-816B-A42B input 1.25e-06 output 4.25e-06 max_input 1048576
fireworks_ai/accounts/fireworks/models/muse-spark-open input 1.25e-06 output 4.25e-06 max_input 1048576
bedrock/us.stability.stable-image-inpaint-v1:0 input 0 output 0.07 max_input 77

python3 ci_cd/check_files_match.py passes, and tests/unit/test_model_prices_schema.py plus tests/unit/test_model_cost_aliases.py pass (104 passed)

Type

🆕 New Feature

Caveats (if any)

Low

  • us.stability.* rows duplicate pricing that region-prefix stripping already resolved

Link to Devin session: https://app.devin.ai/sessions/c102ac5cccb9464cb1050287fb7ef374
Open in Devin Desktop: https://app.devin.ai/desktop/session/c102ac5cccb9464cb1050287fb7ef374?variant=devin


Note

Low Risk
Data-only updates to the cost map; no runtime routing or auth changes, though incorrect prices would affect reported spend.

Overview
Extends model_prices_and_context_window.json (and its backup) so LiteLLM can price several provider models that previously triggered “This model isn't mapped yet” during spend lookups.

OpenAI: adds gpt-5.5-cyber-preview with the same per-token and cached-input rates as gpt-5.5-cyber, including reasoning support.

Together AI & Fireworks: adds together_ai/meta-models/Muse-Spark-Open-816B-A42B and fireworks_ai/accounts/fireworks/models/muse-spark-open with aligned token pricing, 1M context (Together), and documented capability flags (function calling, caching/schema on Together; vision on Fireworks).

AWS Bedrock: adds 13 us.stability.* inference profile keys for Stability image-edit models, mirroring the existing stability.* per-image costs and attaching AWS pricing source URLs so US cross-region profile IDs are explicit in the registry.

Reviewed by Cursor Bugbot for commit 2deb4e3. Bugbot is set up for automated code reviews on this repo. Configure here.

…nd Bedrock registry entries

Add the requested model registry entries.

Co-authored-by: Azusa <m3171470760@gmail.com>
Co-authored-by: mateo-berri <277851410+mateo-berri@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 Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@greptile-apps

greptile-apps Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Automatic reviews are disabled for this repository.

Comment thread model_prices_and_context_window.json Resolved
@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.
You have signed the CLA already but the status is still pending? Let us recheck it.

@veria-ai

veria-ai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

All previously flagged issues have been addressed. No open security concerns remain on this pull request.

Security review

No open security issues remain on this pull request.

Fixed/addressed: 1 · PR risk: 0/10

@codspeed

codspeed Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

⚠️ 1 benchmark spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 31 untouched benchmarks


Comparing litellm_model_registry_audit_2026_10_15_evening (2deb4e3) with main (da2f5a4)

Open in CodSpeed

@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot changed the title feat(model_prices): add missing OpenAI, Cohere, Together, Fireworks and Bedrock registry entries feat(model_prices): add missing OpenAI, Together, Fireworks and Bedrock registry entries Oct 15, 2026
@klu-berri
klu-berri enabled auto-merge (squash) October 15, 2026 19:51
@klu-berri
klu-berri merged commit 5bd6c0a into main Oct 15, 2026
87 checks passed
@klu-berri
klu-berri deleted the litellm_model_registry_audit_2026_10_15_evening branch October 15, 2026 19:57
@kerry-berri

Copy link
Copy Markdown
Contributor

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 2deb4e3. Configure here.

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