mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
registry: add cache_read_input_image_token_cost field for azure_ai/gpt-image-2
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
c55e9a4924
commit
7b3e8afaec
2 changed files with 3 additions and 0 deletions
|
|
@ -254,6 +254,7 @@ class ModelInfoBase(ProviderSpecificModelInfo, total=False):
|
|||
cache_creation_input_token_cost_ultrafast: ReadOnly[float | None] # OpenAI ultrafast service tier pricing
|
||||
cache_read_input_token_cost: float | None
|
||||
cache_read_input_audio_token_cost: ReadOnly[float | None]
|
||||
cache_read_input_image_token_cost: ReadOnly[float | None]
|
||||
cache_read_input_token_cost_flex: float | None # OpenAI flex service tier pricing
|
||||
cache_read_input_token_cost_priority: float | None # OpenAI priority service tier pricing
|
||||
cache_read_input_token_cost_ultrafast: ReadOnly[float | None] # OpenAI ultrafast service tier pricing
|
||||
|
|
|
|||
|
|
@ -652,6 +652,7 @@ def validate_model_cost_values(model_data, exceptions=None):
|
|||
"cache_creation_input_audio_token_cost",
|
||||
"cache_read_input_token_cost",
|
||||
"cache_read_input_audio_token_cost",
|
||||
"cache_read_input_image_token_cost",
|
||||
"input_dbu_cost_per_token",
|
||||
"output_db_cost_per_token",
|
||||
"output_dbu_cost_per_token",
|
||||
|
|
@ -740,6 +741,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
|
|||
"cache_read_input_token_cost_above_512k_tokens": {"type": "number"},
|
||||
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": {"type": "number"},
|
||||
"cache_read_input_audio_token_cost": {"type": "number"},
|
||||
"cache_read_input_image_token_cost": {"type": "number"},
|
||||
"audio_transcription_config": {"type": "string"},
|
||||
"deprecation_date": {"type": "string"},
|
||||
"input_cost_per_audio_per_second": {"type": "number"},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue