Skip to content

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

Merged
kerry-berri merged 7 commits into
mainfrom
litellm-providers/price-sync-databricks
Nov 17, 2026
Merged

kerry-berri merged 7 commits into
mainfrom
litellm-providers/price-sync-databricks

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • Databricks Unity Gateway system.ai.gemini-4-hydrogen has no cost map row
  • Six fal_ai speridlabs/iris-z image endpoints are unpriced
  • fal_ai H3 Max rows still bill the ended November promotion
  • eu.cohere.embed-v4:0 Bedrock EU geo profile has no row
  • Vertex multimodalembedding carries wrong limits and no retirement date

How it solves it:

This 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-hydrogen is 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 the system.ai.gemini-4-carbon sibling.

fal_ai (absorbed from #52159)

Each value was re-read from the endpoint's raw https://fal.ai/models/<endpoint id>/llms.txt on 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", so output_cost_per_image is the 1 MP price and output_cost_per_pixel is that price divided by 1048576, as on the existing per megapixel fal_ai rows.

Key output_cost_per_image Source
fal_ai/speridlabs/iris-z/depth-to-image 0.14 https://fal.ai/models/speridlabs/iris-z/depth-to-image/llms.txt
fal_ai/speridlabs/iris-z/small/depth-to-image 0.05 https://fal.ai/models/speridlabs/iris-z/small/depth-to-image/llms.txt
fal_ai/speridlabs/iris-z/small/text-to-image 0.03 https://fal.ai/models/speridlabs/iris-z/small/text-to-image/llms.txt
fal_ai/speridlabs/iris-z/small/text-to-rgbd 0.05 https://fal.ai/models/speridlabs/iris-z/small/text-to-rgbd/llms.txt
fal_ai/speridlabs/iris-z/text-to-image 0.10 https://fal.ai/models/speridlabs/iris-z/text-to-image/llms.txt
fal_ai/speridlabs/iris-z/text-to-rgbd 0.14 https://fal.ai/models/speridlabs/iris-z/text-to-rgbd/llms.txt

The 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 two fal_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-video moves 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:0 is new and copies the cohere.embed-v4:0 and us.cohere.embed-v4:0 rows ($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 a bedrock/ prefix.

Vertex AI (this run)

Key Field Old New Source
multimodalembedding deprecation_date, deprecation_source absent 2027-04-01 https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions, row "multimodalembedding@001, February 12, 2024, April 1, 2027"
multimodalembedding, multimodalembedding@001 max_input_tokens 2048 32 https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-multimodal-embeddings, "Maximum text length, 32 tokens (~32 words)"
multimodalembedding, multimodalembedding@001 output_vector_size 768 1408 same page, default dimension table "multimodalembedding@001, 1408, 128 to 1408"

deprecation_date uses the existing key that /model/deprecations (#26900) reads.

Checked and left alone

azure_ai/claude-haiku-4-5 and azure_ai/claude-opus-4-5 stay at 2027-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 to ap-northeast-2 only, 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, Vertex gemini-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

  • The handful of test files covering my change pass locally
  • My PR's scope is as isolated as possible; it only solves 1 specific problem

Screenshots / Proof of Fix

E2E exception at a7c1ef7. Scope is cost map data only, in model_prices_and_context_window.json and its backup, with no code change, so the proof is each value next to its quoted source plus the registry checks.

  1. python3 litellm/scripts/ci_cd/check_files_match.py passes, the two copies match
  2. LITELLM_LOCAL_MODEL_COST_MAP=True uv run --no-sync pytest -q over the cost map alias, guard and fal_ai cost calculator tests passes
  3. The Rust generated_registry_schema_validates_checked_in_catalog test passes
  4. No capability pinned in litellm/scripts/ci_cd/cost_map_pins.json is lowered and no key is removed

Type

🐛 Bug Fix

@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 Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

No security issues were found in this pull request.

Reviews

@codspeed

codspeed Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 2 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 45 untouched benchmarks


Comparing litellm-providers/price-sync-databricks (a7c1ef7) with main (0cc072c)

Open in CodSpeed

@codecov

codecov Bot commented Nov 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kerry-berri

Copy link
Copy Markdown
Contributor

@BugBot run

@kerry-berri

Copy link
Copy Markdown
Contributor

@greptileai

@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 0acdd59. Configure here.

@greptile-apps

greptile-apps Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[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

  1. P2 Spend uses unverified prices ▶

Summary

Adds databricks/system.ai.gemini-4-hydrogen to both model catalogs.

  • Gemini 4 Hydrogen has a Databricks model catalog entry.

Reviews (1) · Last reviewed commit: "feat(databricks): add system.ai.gemini-4..." · Reviewed by Greptile

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

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.

P2 Spend uses unverified prices

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!

devin-ai-integration Bot and others added 6 commits November 17, 2026 07:20
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>
@devin-ai-integration devin-ai-integration Bot changed the title feat(databricks): add system.ai.gemini-4-hydrogen from the supported-models page 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 Nov 17, 2026
@kerry-berri
kerry-berri merged commit 98a9fc2 into main Nov 17, 2026
100 of 101 checks passed
@kerry-berri
kerry-berri deleted the litellm-providers/price-sync-databricks branch November 17, 2026 16:10
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.

2 participants