litellm/tests/unit/llms/fireworks_ai
Abel Yagubyan 10db2ec321
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>
(cherry picked from commit a2eb4ef13f)
2026-11-14 12:54:13 -08:00
..
chat fix(openai): stop stripping cache_control from the caller's own messages and tools (#35602) 2026-10-31 00:29:10 -07: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 feat(proxy): mixed Codex model picker and LiteLLM routing on native codex routes (#49408) 2026-11-06 11:14:47 -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
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-14 12:54:13 -08: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