mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
test(cost-map): gpt-5.5-pro has no published cached input rate
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
e3130a87bc
commit
02279bc992
1 changed files with 2 additions and 2 deletions
|
|
@ -1715,7 +1715,7 @@ def test_generic_cost_per_token_gpt55(_local_model_cost_map):
|
|||
|
||||
|
||||
def test_generic_cost_per_token_gpt55_pro(_local_model_cost_map):
|
||||
"""gpt-5.5-pro: responses-only model — $30/1M input, $180/1M output, $3/1M cached input."""
|
||||
"""gpt-5.5-pro: responses-only model, $30/1M input, $180/1M output, no cached input rate published."""
|
||||
model = "gpt-5.5-pro"
|
||||
custom_llm_provider = "openai"
|
||||
|
||||
|
|
@ -1724,7 +1724,7 @@ def test_generic_cost_per_token_gpt55_pro(_local_model_cost_map):
|
|||
# Sanity-check the map values match OpenAI's published pricing.
|
||||
assert model_cost_map["input_cost_per_token"] == 3e-5
|
||||
assert model_cost_map["output_cost_per_token"] == 1.8e-4
|
||||
assert model_cost_map["cache_read_input_token_cost"] == 3e-6
|
||||
assert "cache_read_input_token_cost" not in model_cost_map
|
||||
assert model_cost_map["litellm_provider"] == "openai"
|
||||
# gpt-5.5-pro is a responses-only model (no /v1/chat/completions endpoint).
|
||||
assert model_cost_map["mode"] == "responses"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue