mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test: align Gemini embedding pricing assertions
This commit is contained in:
parent
d992d24679
commit
fbb1cbddb3
1 changed files with 5 additions and 1 deletions
|
|
@ -2967,7 +2967,11 @@ def test_gemini_embedding_2_ga_in_cost_map():
|
|||
assert info.get("mode") == "embedding"
|
||||
assert info.get("supports_multimodal") is True
|
||||
assert info.get("input_cost_per_token") == 2e-07
|
||||
if key.endswith("gemini-embedding-2"):
|
||||
if key in {
|
||||
"gemini/gemini-embedding-2",
|
||||
"vertex_ai/gemini-embedding-2",
|
||||
"gemini-embedding-2",
|
||||
}:
|
||||
assert info.get("input_cost_per_audio_token") == 6.5e-06
|
||||
assert info.get("input_cost_per_image_token") == 4.5e-07
|
||||
assert info.get("input_cost_per_token_batches") == 1e-07
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue