mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix(pricing): GPT-4o-Transcribe Pricing (#27875)
* Update gpt-4o-transcribe price * Update test for gpt-4o-transcribe pricing fix * Update gpt-4o-mini-transcribe price
This commit is contained in:
parent
f028a622e2
commit
baa68ebb12
3 changed files with 17 additions and 17 deletions
|
|
@ -3521,7 +3521,7 @@
|
|||
"supports_tool_choice": true
|
||||
},
|
||||
"azure/gpt-4o-mini-transcribe": {
|
||||
"input_cost_per_audio_token": 3e-06,
|
||||
"input_cost_per_audio_token": 1.25e-06,
|
||||
"input_cost_per_token": 1.25e-06,
|
||||
"litellm_provider": "azure",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -3596,7 +3596,7 @@
|
|||
"supports_tool_choice": true
|
||||
},
|
||||
"azure/gpt-4o-transcribe": {
|
||||
"input_cost_per_audio_token": 6e-06,
|
||||
"input_cost_per_audio_token": 2.5e-06,
|
||||
"input_cost_per_token": 2.5e-06,
|
||||
"litellm_provider": "azure",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -3608,7 +3608,7 @@
|
|||
]
|
||||
},
|
||||
"azure/gpt-4o-transcribe-diarize": {
|
||||
"input_cost_per_audio_token": 6e-06,
|
||||
"input_cost_per_audio_token": 2.5e-06,
|
||||
"input_cost_per_token": 2.5e-06,
|
||||
"litellm_provider": "azure",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -8974,7 +8974,7 @@
|
|||
"supports_vision": true
|
||||
},
|
||||
"gpt-4o-transcribe-diarize": {
|
||||
"input_cost_per_audio_token": 6e-06,
|
||||
"input_cost_per_audio_token": 2.5e-06,
|
||||
"input_cost_per_token": 2.5e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -18991,7 +18991,7 @@
|
|||
"supports_vision": true
|
||||
},
|
||||
"gpt-4o-mini-transcribe": {
|
||||
"input_cost_per_audio_token": 3e-06,
|
||||
"input_cost_per_audio_token": 1.25e-06,
|
||||
"input_cost_per_token": 1.25e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -19121,7 +19121,7 @@
|
|||
"supports_vision": true
|
||||
},
|
||||
"gpt-4o-transcribe": {
|
||||
"input_cost_per_audio_token": 6e-06,
|
||||
"input_cost_per_audio_token": 2.5e-06,
|
||||
"input_cost_per_token": 2.5e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -38933,7 +38933,7 @@
|
|||
]
|
||||
},
|
||||
"gpt-4o-mini-transcribe-2025-03-20": {
|
||||
"input_cost_per_audio_token": 3e-06,
|
||||
"input_cost_per_audio_token": 1.25e-06,
|
||||
"input_cost_per_token": 1.25e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -38945,7 +38945,7 @@
|
|||
]
|
||||
},
|
||||
"gpt-4o-mini-transcribe-2025-12-15": {
|
||||
"input_cost_per_audio_token": 3e-06,
|
||||
"input_cost_per_audio_token": 1.25e-06,
|
||||
"input_cost_per_token": 1.25e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
|
|||
|
|
@ -3521,7 +3521,7 @@
|
|||
"supports_tool_choice": true
|
||||
},
|
||||
"azure/gpt-4o-mini-transcribe": {
|
||||
"input_cost_per_audio_token": 3e-06,
|
||||
"input_cost_per_audio_token": 1.25e-06,
|
||||
"input_cost_per_token": 1.25e-06,
|
||||
"litellm_provider": "azure",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -3596,7 +3596,7 @@
|
|||
"supports_tool_choice": true
|
||||
},
|
||||
"azure/gpt-4o-transcribe": {
|
||||
"input_cost_per_audio_token": 6e-06,
|
||||
"input_cost_per_audio_token": 2.5e-06,
|
||||
"input_cost_per_token": 2.5e-06,
|
||||
"litellm_provider": "azure",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -3608,7 +3608,7 @@
|
|||
]
|
||||
},
|
||||
"azure/gpt-4o-transcribe-diarize": {
|
||||
"input_cost_per_audio_token": 6e-06,
|
||||
"input_cost_per_audio_token": 2.5e-06,
|
||||
"input_cost_per_token": 2.5e-06,
|
||||
"litellm_provider": "azure",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -8974,7 +8974,7 @@
|
|||
"supports_vision": true
|
||||
},
|
||||
"gpt-4o-transcribe-diarize": {
|
||||
"input_cost_per_audio_token": 6e-06,
|
||||
"input_cost_per_audio_token": 2.5e-06,
|
||||
"input_cost_per_token": 2.5e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -18996,7 +18996,7 @@
|
|||
"supports_vision": true
|
||||
},
|
||||
"gpt-4o-mini-transcribe": {
|
||||
"input_cost_per_audio_token": 3e-06,
|
||||
"input_cost_per_audio_token": 1.25e-06,
|
||||
"input_cost_per_token": 1.25e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -19126,7 +19126,7 @@
|
|||
"supports_vision": true
|
||||
},
|
||||
"gpt-4o-transcribe": {
|
||||
"input_cost_per_audio_token": 6e-06,
|
||||
"input_cost_per_audio_token": 2.5e-06,
|
||||
"input_cost_per_token": 2.5e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -38938,7 +38938,7 @@
|
|||
]
|
||||
},
|
||||
"gpt-4o-mini-transcribe-2025-03-20": {
|
||||
"input_cost_per_audio_token": 3e-06,
|
||||
"input_cost_per_audio_token": 1.25e-06,
|
||||
"input_cost_per_token": 1.25e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
@ -38950,7 +38950,7 @@
|
|||
]
|
||||
},
|
||||
"gpt-4o-mini-transcribe-2025-12-15": {
|
||||
"input_cost_per_audio_token": 3e-06,
|
||||
"input_cost_per_audio_token": 1.25e-06,
|
||||
"input_cost_per_token": 1.25e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 16000,
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ def test_transcription_cost_uses_token_pricing():
|
|||
call_type="atranscription",
|
||||
)
|
||||
|
||||
expected_cost = (14 * 6e-06) + (45 * 1e-05)
|
||||
expected_cost = (14 * 2.5e-06) + (45 * 1e-05)
|
||||
assert pytest.approx(cost, rel=1e-6) == expected_cost
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue