mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-17 22:48:35 +00:00
Revert "chore: cleanup deprecated models from pricing JSON"
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -354,7 +354,7 @@ def test_generic_cost_per_token_anthropic_prompt_caching():
|
||||
|
||||
|
||||
def test_generic_cost_per_token_anthropic_prompt_caching_with_cache_creation():
|
||||
model = "claude-haiku-4-5-20251001"
|
||||
model = "claude-3-5-haiku-20241022"
|
||||
usage = Usage(
|
||||
completion_tokens=90,
|
||||
prompt_tokens=28436,
|
||||
@@ -379,7 +379,7 @@ def test_generic_cost_per_token_anthropic_prompt_caching_with_cache_creation():
|
||||
)
|
||||
|
||||
print(f"prompt_cost: {prompt_cost}")
|
||||
assert round(prompt_cost, 3) == 0.029
|
||||
assert round(prompt_cost, 3) == 0.023
|
||||
|
||||
|
||||
def test_string_cost_values():
|
||||
|
||||
@@ -444,6 +444,9 @@ def test_anthropic_web_search_in_model_info():
|
||||
supported_models = [
|
||||
"anthropic/claude-4-sonnet-20250514",
|
||||
"anthropic/claude-sonnet-4-5-20250929",
|
||||
"anthropic/claude-3-5-sonnet-20241022",
|
||||
"anthropic/claude-3-5-haiku-20241022",
|
||||
"anthropic/claude-3-5-haiku-latest",
|
||||
]
|
||||
for model in supported_models:
|
||||
from litellm.utils import get_model_info
|
||||
|
||||
Reference in New Issue
Block a user