litellm/tests/unit/llms/databricks
devin-ai-integration[bot] 7bd0c96916
chore(cost-map): update model registry and fix Databricks priority image rates (#54742)
* Add Perplexity Gemini 4 Neon and Nebius DeepSeek Flash fast rates

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* chore(cost-map): roll in OpenAI, Vertex, OpenRouter and ai& registry updates

Adds gpt-6.2-sol low reasoning effort support, Vertex Gemini 2.0 Flash and Flash Lite cached input prices, OpenRouter Gemini 4 rows, and ai& rows with deprecation dates, each re-checked against the provider's own pages.

Co-authored-by: Sunner Sun <sunner@gmail.com>
Co-authored-by: Islomjon (Toji) <islomjon@aiand.com>
Co-authored-by: 4ern0kniznik <47797504+4ern0kniznik@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* chore(cost-map): update verified model registry data

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: kerry <kerry@berri.ai>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* chore(cost-map): absorb verified registry fields from #53569

Co-authored-by: kerry <kerry@berri.ai>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Fix Databricks priority image rates and remove retirement-only changes

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(cost-map): validate priority image input prices

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(cost-map): restore verified model retirement metadata

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(cost-map): remove duplicate priority image schema key

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(cost-map): remove unsupported Maverick successor

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(cost-map): mark minimal reasoning effort unsupported on Azure gpt-6.2

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Resolve Perplexity Decisions latest aliases to v1.3

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(cost-map): cover evaluation in latest alias checks

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(cost-map): add cached input price for azure_ai/mistral-large-4-latest

Set cache_read_input_token_cost to 7e-08 on azure_ai/mistral-large-4-latest in both cost maps. The Azure retail prices API lists the meter "Large 4 Cached Glbl Tokens" (product Azure Mistral Models, service Foundry Models) at $0.00007 per 1K tokens, which is $0.07 per 1M and 10% of the $0.70 Global input rate. Cached prompt tokens on this model were billed at the full input rate before.

https://prices.azure.com/api/retail/prices?$filter=productName%20eq%20'Azure%20Mistral%20Models'%20and%20meterName%20eq%20'Large%204%20Cached%20Glbl%20Tokens'%20and%20armRegionName%20eq%20'eastus'

Fixes #55103

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(cost-map): point chatgpt/gpt-5.3-codex-spark successor at chatgpt/gpt-6.2-sol

The old successor chatgpt/gpt-5.1-codex-mini left Codex with ChatGPT sign-in on April 14, 2026, before Spark retired. OpenAI names no replacement for Spark, so the successor is inferred as the newest model still offered there.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Update Mistral retirement metadata and reconcile Fireworks Inkling

Keep the documented Inkling context limit while retaining the fields added on main. Consolidate the Mistral retirement metadata and alias regression coverage from #54976.

Co-authored-by: kelyonn <kalyan15122005@gmail.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>
Co-authored-by: Sunner Sun <sunner@gmail.com>
Co-authored-by: Islomjon (Toji) <islomjon@aiand.com>
Co-authored-by: 4ern0kniznik <47797504+4ern0kniznik@users.noreply.github.com>
Co-authored-by: kerry <kerry@berri.ai>
Co-authored-by: kelyonn <kalyan15122005@gmail.com>
2026-11-30 09:10:25 -08:00
..
agent feat(agents): support Databricks Agent Platform agents in the agent gateway (#45681) 2026-10-15 12:42:06 -07:00
chat fix(mcp): drop hosted MCP tool_choice under drop_params and honor drop_params in Bedrock batch rows (#53697) 2026-11-23 08:51:59 -08:00
decisions fix(databricks): reuse base OAuth for decisions (#48395) (#48527) 2026-10-26 20:18:16 -07:00
messages fix(bedrock,databricks): forward the server-side-fallback beta and drop it under drop_params where the model lacks it (#53857) 2026-11-24 03:09:16 +00:00
responses test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
__init__.py test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
test_databricks_common_utils.py fix(databricks): reuse base OAuth for decisions (#48395) (#48527) 2026-10-26 20:18:16 -07:00
test_databricks_cost_calculator.py chore(cost-map): update model registry and fix Databricks priority image rates (#54742) 2026-11-30 09:10:25 -08:00
test_databricks_partner_integration.py feat(agents): support Databricks Agent Platform agents in the agent gateway (#45681) 2026-10-15 12:42:06 -07:00
test_databricks_streaming_utils.py fix(openai_like): end an async stream cleanly when the connection drops after the finish (#54565) 2026-11-26 07:48:41 +00:00