mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-27 01:22:18 +00:00
fix(cost-map): sync vertex-ai rows (gemma 4 maas cache price, chirp_2) (#42942)
* fix(cost-map): sync vertex-ai rows (gemma 4 maas cache price, chirp_2) Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(vertex-ai): expect chirp_2 as speech-to-text model now that catalog row exists Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
d17c0d7724
commit
2eeb16266b
3 changed files with 31 additions and 1 deletions
|
|
@ -48131,6 +48131,20 @@
|
|||
"/v1/realtime"
|
||||
]
|
||||
},
|
||||
"vertex_ai/chirp_2": {
|
||||
"input_cost_per_second": 0.00026667,
|
||||
"litellm_provider": "vertex_ai",
|
||||
"metadata": {
|
||||
"calculation": "$0.016/60 seconds = $0.00026667 per second",
|
||||
"original_pricing_per_minute": 0.016
|
||||
},
|
||||
"mode": "audio_transcription",
|
||||
"source": "https://cloud.google.com/speech-to-text/pricing",
|
||||
"supported_endpoints": [
|
||||
"/v1/audio/transcriptions",
|
||||
"/v1/realtime"
|
||||
]
|
||||
},
|
||||
"vertex_ai/claude-3-5-haiku": {
|
||||
"deprecation_date": "2026-07-05",
|
||||
"input_cost_per_token": 1e-06,
|
||||
|
|
@ -50155,6 +50169,7 @@
|
|||
]
|
||||
},
|
||||
"vertex_ai/google/gemma-4-26b-a4b-it-maas": {
|
||||
"cache_read_input_token_cost": 1.5e-08,
|
||||
"input_cost_per_token": 1.5e-07,
|
||||
"litellm_provider": "vertex_ai-openai_models",
|
||||
"max_input_tokens": 262144,
|
||||
|
|
|
|||
|
|
@ -48131,6 +48131,20 @@
|
|||
"/v1/realtime"
|
||||
]
|
||||
},
|
||||
"vertex_ai/chirp_2": {
|
||||
"input_cost_per_second": 0.00026667,
|
||||
"litellm_provider": "vertex_ai",
|
||||
"metadata": {
|
||||
"calculation": "$0.016/60 seconds = $0.00026667 per second",
|
||||
"original_pricing_per_minute": 0.016
|
||||
},
|
||||
"mode": "audio_transcription",
|
||||
"source": "https://cloud.google.com/speech-to-text/pricing",
|
||||
"supported_endpoints": [
|
||||
"/v1/audio/transcriptions",
|
||||
"/v1/realtime"
|
||||
]
|
||||
},
|
||||
"vertex_ai/claude-3-5-haiku": {
|
||||
"deprecation_date": "2026-07-05",
|
||||
"input_cost_per_token": 1e-06,
|
||||
|
|
@ -50155,6 +50169,7 @@
|
|||
]
|
||||
},
|
||||
"vertex_ai/google/gemma-4-26b-a4b-it-maas": {
|
||||
"cache_read_input_token_cost": 1.5e-08,
|
||||
"input_cost_per_token": 1.5e-07,
|
||||
"litellm_provider": "vertex_ai-openai_models",
|
||||
"max_input_tokens": 262144,
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ def _commands(config: VertexChirpRealtimeConfig, payload: str) -> list[object]:
|
|||
[
|
||||
("vertex_ai/chirp_3", True),
|
||||
("chirp_3", True),
|
||||
("chirp_2", False),
|
||||
("chirp_2", True),
|
||||
("gemini-live-2.5-flash", False),
|
||||
("vertex_ai/gemini-2.0-flash-live-preview-04-09", False),
|
||||
("vertex_ai/gemini-3.5-transcribe-live-preview", False),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue