litellm/tests/unit/llms/fireworks_ai
Abel Yagubyan a2eb4ef13f
fix(fireworks_ai): read fractional sizes like 1p5b in the size bucket fallback (#51451)
Fireworks writes decimal parameter counts with a 'p' (qwen3-0p6b, qwen2p5-1p5b). The fallback that picks a size bucket for models missing from the cost map only matched the digits right before the 'b', so 1p5b was read as 5B and billed in the 4.1B-16B bucket instead of the up-to-4B one.

Co-authored-by: Abelo9996 <Abelo9996@users.noreply.github.com>
2026-11-13 17:49:49 +00:00
..
chat Registry audit 2026-11-10, Together, Mistral, Fireworks, Azure AI and Copilot fixes (#51003) 2026-11-10 11:56:15 -08:00
completion fix(logging): warn when drop_params drops a requested reasoning level on the remaining paths (#48933) 2026-10-30 08:48:43 -07:00
embed test: migrate local_testing SDK and provider tests out of build_and_test (#45760) 2026-10-10 23:14:25 +00:00
rerank refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
responses Registry audit 2026-11-10, Together, Mistral, Fireworks, Azure AI and Copilot fixes (#51003) 2026-11-10 11:56:15 -08: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
latest_router_aliases.py Registry audit 2026-11-10, Together, Mistral, Fireworks, Azure AI and Copilot fixes (#51003) 2026-11-10 11:56:15 -08:00
test_fireworks_ai_cache_pricing.py
test_fireworks_ai_common_utils.py feat(fireworks_ai): route and list the auto, auto-instant and firerouter routers (#43641) 2026-09-28 19:08:16 -07:00
test_fireworks_ai_cost_calculator.py fix(fireworks_ai): read fractional sizes like 1p5b in the size bucket fallback (#51451) 2026-11-13 17:49:49 +00:00
test_fireworks_ai_text_completion.py test: migrate local_testing SDK and provider tests out of build_and_test (#45760) 2026-10-10 23:14:25 +00:00