litellm/tests/integration/pricing
yucheng-berri f03f98ac22
fix(search): price Tavily advanced and Linkup deep searches at their own cost map entries (#47411)
* fix(search): price Tavily and Linkup searches at their per-mode cost map entries

* test(search): read the reported cost through the public hidden_params property

* fix(search): keep the type gate flat on the cost map membership check

* test(search): drop vendor price guards and a redundant case, type helper params as mappings

* fix(search): keep a registered search model's own price, cover every interception endpoint, hostile modes and a failing burst

* fix(search): keep a runtime-registered base search price for modes that have no runtime price of their own

---------

Co-authored-by: yucheng-berri <293926326+yucheng-berri@users.noreply.github.com>
2026-10-19 23:32:31 -07:00
..
test_bundled_cost_map_price_wire.py
test_configured_prices.py
test_cost_margin_discount.py
test_databricks_cache_pricing.py
test_model_listing_token_limits.py
test_ocr_page_pricing.py
test_off_peak_pricing.py
test_per_second_pricing.py
test_price_data_reload_prices.py
test_price_precedence.py
test_realtime_cached_audio_pricing.py
test_search_mode_pricing.py fix(search): price Tavily advanced and Linkup deep searches at their own cost map entries (#47411) 2026-10-19 23:32:31 -07:00
test_service_tier_pricing.py