Update Databricks model pricing and add new models (including databricks pricing test). - #17277
Merged
3 commits merged intoDec 2, 2025
Merged
Update Databricks model pricing and add new models (including databricks pricing test).#172773 commits merged into
3 commits merged into
Conversation
|
@epistoteles is attempting to deploy a commit to the CLERKIEAI Team on Vercel. A member of the Team first needs to authorize it. |
Removed unnecessary sys.path modification and cleaned up comments.
|
Thanks! @epistoteles |
fzowl
pushed a commit
to fzowl/litellm
that referenced
this pull request
Jun 24, 2026
…cks pricing test). (BerriAI#17277) * update databricks pricing and add DBU<>USD test * Refactor test_databricks_pricing.py Removed unnecessary sys.path modification and cleaned up comments.
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title
Update Databricks model pricing and add new models (including databricks pricing test).
Relevant issues
Closes #17279
The databricks model prices were outdated and/or incomplete.
The new prices are based on
https://www.databricks.com/product/pricing/foundation-model-serving
and
https://www.databricks.com/product/pricing/proprietary-foundation-model-serving
[NOTE] Some tests are failing (missing google ai library in poetry, etc.) but those have nothing to do with the .json file I edited. The newly added test in
tests/test_litellm/llms/databricks/passes, as do all other test in that folder.Type
🐛 Bug Fix
✅ Test
Changes
model_prices_and_context_window.json. The USD prices (input_cost_per_token,output_cost_per_token) were inconsistent with the DBU prices. They have been recalculated asDBU * 0.07as per Databricks pricing documentation.tests/test_litellm/llms/databricks/test_databricks_pricing.pywhich asserts that for all Databricks models,USD_Cost == DBU_Cost * 0.07(current DBU/Databricks Units to USD rate for foundation models).