mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Update model version in cost calculation tests
This commit is contained in:
parent
5856d483cc
commit
36b0aff118
1 changed files with 4 additions and 4 deletions
|
|
@ -1456,12 +1456,12 @@ def test_character_count_billing_does_not_fill_prompt_token_gap():
|
|||
)
|
||||
|
||||
prompt_cost, completion_cost = generic_cost_per_token(
|
||||
model="gemini-1.0-pro",
|
||||
model="gemini-2.5-pro",
|
||||
usage=usage,
|
||||
custom_llm_provider="vertex_ai",
|
||||
)
|
||||
|
||||
model_info = litellm.model_cost["gemini-1.0-pro"]
|
||||
model_info = litellm.model_cost["gemini-2.5-pro"]
|
||||
expected_prompt_cost = (
|
||||
100 * model_info["input_cost_per_token"]
|
||||
+ 1000 * model_info["input_cost_per_character"]
|
||||
|
|
@ -1498,12 +1498,12 @@ def test_video_length_billing_does_not_fill_prompt_token_gap():
|
|||
)
|
||||
|
||||
prompt_cost, completion_cost = generic_cost_per_token(
|
||||
model="gemini-1.0-pro",
|
||||
model="gemini-2.5-pro",
|
||||
usage=usage,
|
||||
custom_llm_provider="vertex_ai",
|
||||
)
|
||||
|
||||
model_info = litellm.model_cost["gemini-1.0-pro"]
|
||||
model_info = litellm.model_cost["gemini-2.5-pro"]
|
||||
expected_prompt_cost = (
|
||||
50 * model_info["input_cost_per_token"]
|
||||
+ 12.0 * model_info["input_cost_per_video_per_second"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue