From e59ef32dddf84d4aea11f711840ef99dcafa52fe Mon Sep 17 00:00:00 2001 From: CrystalVibe28 <82704512+CrystalVibe28@users.noreply.github.com> Date: Fri, 15 May 2026 16:10:14 +0800 Subject: [PATCH] feat: add ChatGPT GPT Image 2 pricing metadata --- model_prices_and_context_window.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 70b065aa918..73e739c30a5 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -17623,6 +17623,16 @@ "supports_response_schema": true, "supports_vision": true }, + "chatgpt/gpt-image-2": { + "litellm_provider": "chatgpt", + "mode": "image_generation", + "supported_endpoints": [ + "/v1/images/generations", + "/v1/images/edits" + ], + "supports_vision": true, + "supports_pdf_input": true + }, "gigachat/GigaChat-2-Lite": { "input_cost_per_token": 0.0, "litellm_provider": "gigachat",