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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(fal_ai): stop advertising /v1/images/edits for gpt-image-2 edit
mateo-berri6d665679156a
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 429e859e242..53902e640d6 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -17426,13 +17426,13 @@"fal_ai/openai/gpt-image-2/edit": {"litellm_provider": "fal_ai","metadata": {- "notes": "Editing endpoint of gpt-image-2 on fal.ai. Same rate as fal_ai/openai/gpt-image-2, see that entry for the size and quality caveat"+ "notes": "Editing endpoint of gpt-image-2 on fal.ai, reached through the image generation path with fal's image_urls param since /v1/images/edits is not wired for fal_ai. Same rate as fal_ai/openai/gpt-image-2, see that entry for the size and quality caveat"},"mode": "image_generation","output_cost_per_image": 0.145,"source": "https://fal.ai/models/openai/gpt-image-2/edit","supported_endpoints": [- "/v1/images/edits"+ "/v1/images/generations"],"supports_vision": true},diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 429e859e242..53902e640d6 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -17426,13 +17426,13 @@"fal_ai/openai/gpt-image-2/edit": {"litellm_provider": "fal_ai","metadata": {- "notes": "Editing endpoint of gpt-image-2 on fal.ai. Same rate as fal_ai/openai/gpt-image-2, see that entry for the size and quality caveat"+ "notes": "Editing endpoint of gpt-image-2 on fal.ai, reached through the image generation path with fal's image_urls param since /v1/images/edits is not wired for fal_ai. Same rate as fal_ai/openai/gpt-image-2, see that entry for the size and quality caveat"},"mode": "image_generation","output_cost_per_image": 0.145,"source": "https://fal.ai/models/openai/gpt-image-2/edit","supported_endpoints": [- "/v1/images/edits"+ "/v1/images/generations"],"supports_vision": true},