Repository navigation
chore(cost-map): rolling registry audit 2026-11-17, Databricks gemini-4-hydrogen, fal_ai iris-z and H3 Max, Bedrock EU embed-v4, Vertex multimodalembedding - #52162
Conversation
|
|
Merging this PR will not alter performance1 warning
Comparing |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@BugBot run |
There was a problem hiding this comment.
✅ 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 0acdd59. Configure here.
[Low impact] The change reaches model lookups and cost estimates for one Databricks model. Confirm the Databricks prices before merging to satisfy the repository requirement on pricing caveats. Findings
|
| "databricks/system.ai.gemini-4-hydrogen": { | ||
| "cache_creation_input_token_cost": 1.5e-06, | ||
| "cache_read_input_token_cost": 1.5e-06, | ||
| "input_cost_per_token": 1.5e-06, |
There was a problem hiding this comment.
These Vertex AI rates feed Databricks spend calculations without confirmed Databricks pricing. The repository requires pricing caveats to be surfaced, not assumed acceptable. Confirm the rates before merging.
Rule Used: What: do not treat the caveats mentioned in the PR description as acceptable tradeoffs that some human has read and signed off on. Why: almost every time, the PR description is AI-generated, and in fact, many times, the PR description is very long. ... (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
…ce-sync-databricks
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Patrick Brisacier <pbrisacier@mncc.fr> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Handwritten 1-3 sentence description
[insert handwritten description here]
Details
Link to Devin session: https://app.devin.ai/sessions/93d68f8286e64d4f89f86f1670153bd5
Open in Devin Desktop: https://app.devin.ai/desktop/session/93d68f8286e64d4f89f86f1670153bd5?variant=devin
Requested by: @kerry-berri
TLDR
Problem this solves:
system.ai.gemini-4-hydrogenhas no cost map rowsperidlabs/iris-zimage endpoints are unpricedeu.cohere.embed-v4:0Bedrock EU geo profile has no rowmultimodalembeddingcarries wrong limits and no retirement dateHow it solves it:
multimodalembeddinglimits and dates it from the Vertex retirement tableThis is the rolling registry PR for the 2026-11-17 audit. It merges current main and keeps both registry copies byte-identical.
Rows changed
Databricks (original PR)
databricks/system.ai.gemini-4-hydrogenis new, chat mode, text only, reasoning, 1048576 input and 65536 output tokens, $1.50 input and $7.50 output per 1M. Sources are https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models ("Model service name: system.ai.gemini-4-hydrogen", "Supported inputs on Databricks: text only", the 65,536 output token segment limit) and, since Databricks publishes no rate yet, the Vertex AI Global row for Gemini 4 Hydrogen on https://cloud.google.com/gemini-enterprise-agent-platform/generative-ai/pricing. Cache tokens bill at the input rate like thesystem.ai.gemini-4-carbonsibling.fal_ai (absorbed from #52159)
Each value was re-read from the endpoint's raw
https://fal.ai/models/<endpoint id>/llms.txton 2026-11-17. The iris-z pages all say "Billing is calculated per megapixel of the generated image, rounded up to the next whole megapixel", sooutput_cost_per_imageis the 1 MP price andoutput_cost_per_pixelis that price divided by 1048576, as on the existing per megapixel fal_ai rows.fal_ai/speridlabs/iris-z/depth-to-imagefal_ai/speridlabs/iris-z/small/depth-to-imagefal_ai/speridlabs/iris-z/small/text-to-imagefal_ai/speridlabs/iris-z/small/text-to-rgbdfal_ai/speridlabs/iris-z/text-to-imagefal_ai/speridlabs/iris-z/text-to-rgbdThe three
fal_ai/minimax/h3-max/*rows move to the standard $0.05, $0.08 and $0.16 per second at 480p, 768p and 1080p, and the twofal_ai/minimax/h3-max-turbo/*rows to $0.025, $0.04 and $0.08, because each page says "From November 16, 2026, standard rates are ..." (for example https://fal.ai/models/minimax/h3-max/image-to-video/llms.txt). Default resolutions are unchanged.fal_ai/blackforestlabs/flux-3-max/keyframes-to-videomoves to the promotional $0.085 (720p) and $0.145 (1080p) per second that https://fal.ai/models/blackforestlabs/flux-3-max/keyframes-to-video/llms.txt states through November 22, matching its two flux-3-max siblings. https://fal.ai/pricing.md agrees.Bedrock (absorbed from #52269)
eu.cohere.embed-v4:0is new and copies thecohere.embed-v4:0andus.cohere.embed-v4:0rows ($0.12 per 1M input, 128000 input tokens, 1536 dimensions, image input). https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-cohere-embed-v4.html lists "Geo Inference ID: eu.cohere.embed-v4:0", and https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html says geographic inference is standard pricing with "no additional routing cost". The key follows the sibling rows, without abedrock/prefix.Vertex AI (this run)
multimodalembeddingdeprecation_date,deprecation_source2027-04-01multimodalembedding,multimodalembedding@001max_input_tokensmultimodalembedding,multimodalembedding@001output_vector_sizedeprecation_dateuses the existing key that/model/deprecations(#26900) reads.Checked and left alone
azure_ai/claude-haiku-4-5andazure_ai/claude-opus-4-5stay at2027-03-16. The Azure retirement schedule says 2027-02-22 while the Azure models API says 2027-03-16, and #51716 already picked the later date on purpose. Bedrock's Marengo Embed 3.0 retirement (March 22, 2027) applies toap-northeast-2only, so it is not written to the base or US/EU rows. Fireworks GPT OSS 120B is still on the Fireworks pricing page although the October 19 changelog ends serverless on November 7, and the row already carries that date. "Not sooner than" and "no shutdown date announced" entries (Anthropic, Vertexgemini-embedding-001) are not turned into dates. The iris-z depth estimation endpoints from #52159 bill per ensemble member, which no fal_ai field holds, so they stay out as in the source PR.#51815 also touches the cost map, but it changes Together routing and endpoint support, so it is left as its own PR.
Nothing from #52159 or #52269 was dropped. Neither PR linked an issue, and no open issue names a changed model.
Pre-Submission checklist
Screenshots / Proof of Fix
E2E exception at a7c1ef7. Scope is cost map data only, in
model_prices_and_context_window.jsonand its backup, with no code change, so the proof is each value next to its quoted source plus the registry checks.python3 litellm/scripts/ci_cd/check_files_match.pypasses, the two copies matchLITELLM_LOCAL_MODEL_COST_MAP=True uv run --no-sync pytest -qover the cost map alias, guard and fal_ai cost calculator tests passesgenerated_registry_schema_validates_checked_in_catalogtest passeslitellm/scripts/ci_cd/cost_map_pins.jsonis lowered and no key is removedType
🐛 Bug Fix