mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix(model_prices): add Bedrock flex prices, Anthropic web search flags, Gemini shutdown dates, OpenRouter alias drift, Mistral Large 4 context (#44910)
* feat(model_prices): add Mistral Large 4 and its OpenRouter route Co-authored-by: moyai-devin-berriai[bot] <336287033+moyai-devin-berriai[bot]@users.noreply.github.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model_prices): sync Gemini API shutdown dates for TTS, Live, image and Omni previews Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model-prices): correct Claude Haiku 5.5 flags, add Anthropic web search flags and OpenRouter Claude Haiku 5.5 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model_prices): add Bedrock flex tier prices and clear lapsed Together DeepSeek V4 dates Absorbs #45320 (Bedrock flex prices, verified against the AWS Price List API) and the DeepSeek V4 date removals from #45307 (verified against Together docs and API) Co-authored-by: Roi <roi@roitev.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(model_prices): Mistral Large 4 context, OpenRouter Claude latest aliases and batch pricing Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(mistral): expect 1048576 context for Mistral Large 4 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: moyai-devin-berriai[bot] <336287033+moyai-devin-berriai[bot]@users.noreply.github.com> Co-authored-by: Roi <roi@roitev.com>
This commit is contained in:
parent
29f48e62bf
commit
95dd90f637
3 changed files with 613 additions and 65 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -31,7 +31,7 @@ def test_metadata_and_backup(model):
|
|||
info = litellm.get_model_info(model)
|
||||
assert info["litellm_provider"] == "mistral"
|
||||
assert info["mode"] == "chat"
|
||||
assert info["max_input_tokens"] == 524288
|
||||
assert info["max_input_tokens"] == 1048576
|
||||
assert info["input_cost_per_token"] == 6.8e-07
|
||||
assert info["output_cost_per_token"] == 2.09e-06
|
||||
assert info["cache_read_input_token_cost"] == 6.8e-08
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue