From 4360cbc791ef4884a8a29d4c5f6d7749ad2cb5b0 Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 13 Nov 2026 03:15:02 +0000 Subject: [PATCH] chore(cost-map): add fal_ai/google/gemini-omni-flash/v1.2/upscale priced per second of upscaled video (#51500) * chore(cost-map): add fal_ai/google/gemini-omni-flash/v1.2/upscale priced per second of upscaled video * fix(cost-map): take the higher source-dependent 1080p rate for fal_ai/google/gemini-omni-flash/v1.2/upscale --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Kerry Lu --- ...odel_prices_and_context_window_backup.json | 19 +++++++++++++++++++ model_prices_and_context_window.json | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 3a3e5a1d031..fd047e3e731 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -101621,5 +101621,24 @@ "supports_response_schema": true, "supports_tool_choice": true, "supports_vision": true + }, + "fal_ai/google/gemini-omni-flash/v1.2/upscale": { + "litellm_provider": "fal_ai", + "metadata": {"comment":"per second of upscaled output video by target resolution; the 1080p tier and output_cost_per_second take the higher source-dependent rate ($0.0819 from a 360p source) because the catalog selects by target resolution alone and the source resolution has no field, so a 720p source upscaled to 1080p ($0.041 per second) is overcounted, the same convention as fal_ai/blackforestlabs/flux-video-upscale"}, + "mode": "video_generation", + "output_cost_per_second": 0.0819, + "output_cost_per_second_1080p": 0.0819, + "output_cost_per_second_4k": 0.1638, + "output_cost_per_second_720p": 0.041, + "source": "https://fal.ai/models/google/gemini-omni-flash/v1.2/upscale", + "supported_endpoints": [ + "/v1/videos" + ], + "supported_modalities": [ + "video" + ], + "supported_output_modalities": [ + "video" + ] } } diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 3a3e5a1d031..fd047e3e731 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -101621,5 +101621,24 @@ "supports_response_schema": true, "supports_tool_choice": true, "supports_vision": true + }, + "fal_ai/google/gemini-omni-flash/v1.2/upscale": { + "litellm_provider": "fal_ai", + "metadata": {"comment":"per second of upscaled output video by target resolution; the 1080p tier and output_cost_per_second take the higher source-dependent rate ($0.0819 from a 360p source) because the catalog selects by target resolution alone and the source resolution has no field, so a 720p source upscaled to 1080p ($0.041 per second) is overcounted, the same convention as fal_ai/blackforestlabs/flux-video-upscale"}, + "mode": "video_generation", + "output_cost_per_second": 0.0819, + "output_cost_per_second_1080p": 0.0819, + "output_cost_per_second_4k": 0.1638, + "output_cost_per_second_720p": 0.041, + "source": "https://fal.ai/models/google/gemini-omni-flash/v1.2/upscale", + "supported_endpoints": [ + "/v1/videos" + ], + "supported_modalities": [ + "video" + ], + "supported_output_modalities": [ + "video" + ] } }