Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

feat(types): add _aresponses_websocket CallType and video_tokens to PromptTokensDetailsWrapper

Sameer Kankute538f11bdfa8c
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index f52288ea72a..cbd64a178b8 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -16289,7 +16289,7 @@
"cache_read_input_token_cost": 3e-08,
"input_cost_per_audio_token": 1e-06,
"input_cost_per_token": 3e-07,
- "litellm_provider": "vertex_ai-language-models",
+ "litellm_provider": "gemini",
"max_audio_length_hours": 8.4,
"max_audio_per_prompt": 1,
"supports_reasoning": false,
diff --git a/litellm/types/utils.py b/litellm/types/utils.py
index 8b9359876e6..8d0cbdefd5b 100644
--- a/litellm/types/utils.py
+++ b/litellm/types/utils.py
@@ -291,6 +291,7 @@ class CallTypes(str, Enum):
search = "search"
asearch = "asearch"
arealtime = "_arealtime"
+ aresponses_websocket = "_aresponses_websocket"
create_batch = "create_batch"
acreate_batch = "acreate_batch"
aretrieve_batch = "aretrieve_batch"
@@ -1398,6 +1399,9 @@ class PromptTokensDetailsWrapper(
image_tokens: Optional[int] = None
"""Image tokens sent to the model."""
+ video_tokens: Optional[int] = None
+ """Video tokens sent to the model."""
+
web_search_requests: Optional[int] = None
"""Number of web search requests made by the tool call. Used for Anthropic to calculate web search cost."""