From 55c045fa86e6ce9756809977c27b18ad5611d21f Mon Sep 17 00:00:00 2001 From: jibanez-staticduo Date: Fri, 25 Sep 2026 22:44:02 +0200 Subject: [PATCH] fix(images): keep supports_pdf_input on the GPT Image 2.5 catalog rows An earlier commit on this branch rewrote those four model rows and dropped supports_pdf_input, so the branch silently removed a shipped capability from gpt-image-2.5-flare, its dated snapshot, gpt-image-2.5-sunburst and its dated snapshot, and repointed their source to a model page instead of the pricing page main uses. Both catalog copies stay byte-identical and the branch diff is now purely additive: the new chatgpt/gpt-live-1-codex realtime row. --- litellm/model_prices_and_context_window_backup.json | 12 ++++++++---- model_prices_and_context_window.json | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 10933090885..897a54c9cb5 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -32264,7 +32264,8 @@ "/v1/images/edits" ], "supports_vision": true, - "source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-flare" + "supports_pdf_input": true, + "source": "https://developers.openai.com/api/docs/pricing" }, "gpt-image-2.5-flare-2026-09-08": { "cache_read_input_image_token_cost": 2e-06, @@ -32279,7 +32280,8 @@ "/v1/images/edits" ], "supports_vision": true, - "source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-flare" + "supports_pdf_input": true, + "source": "https://developers.openai.com/api/docs/pricing" }, "gpt-image-2.5-sunburst": { "cache_read_input_image_token_cost": 2e-06, @@ -32294,7 +32296,8 @@ "/v1/images/edits" ], "supports_vision": true, - "source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-sunburst" + "supports_pdf_input": true, + "source": "https://developers.openai.com/api/docs/pricing" }, "gpt-image-2.5-sunburst-2026-09-08": { "cache_read_input_image_token_cost": 2e-06, @@ -32309,7 +32312,8 @@ "/v1/images/edits" ], "supports_vision": true, - "source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-sunburst" + "supports_pdf_input": true, + "source": "https://developers.openai.com/api/docs/pricing" }, "low/1024-x-1024/gpt-image-1.5": { "deprecation_date": "2026-12-01", diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 10933090885..897a54c9cb5 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -32264,7 +32264,8 @@ "/v1/images/edits" ], "supports_vision": true, - "source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-flare" + "supports_pdf_input": true, + "source": "https://developers.openai.com/api/docs/pricing" }, "gpt-image-2.5-flare-2026-09-08": { "cache_read_input_image_token_cost": 2e-06, @@ -32279,7 +32280,8 @@ "/v1/images/edits" ], "supports_vision": true, - "source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-flare" + "supports_pdf_input": true, + "source": "https://developers.openai.com/api/docs/pricing" }, "gpt-image-2.5-sunburst": { "cache_read_input_image_token_cost": 2e-06, @@ -32294,7 +32296,8 @@ "/v1/images/edits" ], "supports_vision": true, - "source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-sunburst" + "supports_pdf_input": true, + "source": "https://developers.openai.com/api/docs/pricing" }, "gpt-image-2.5-sunburst-2026-09-08": { "cache_read_input_image_token_cost": 2e-06, @@ -32309,7 +32312,8 @@ "/v1/images/edits" ], "supports_vision": true, - "source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-sunburst" + "supports_pdf_input": true, + "source": "https://developers.openai.com/api/docs/pricing" }, "low/1024-x-1024/gpt-image-1.5": { "deprecation_date": "2026-12-01",