From 5a213d35b56217546828a284fccfe607634c2bbd Mon Sep 17 00:00:00 2001 From: btyu Date: Tue, 23 Jun 2026 18:23:35 -0700 Subject: [PATCH] Add github_copilot/gpt-5.5 and github_copilot/gpt-5.4-mini (responses-only) Both models reject /v1/chat/completions with code=unsupported_api_for_model; only the /v1/responses endpoint is supported. Mirrors the existing github_copilot/gpt-5.3-codex entry. --- model_prices_and_context_window.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 3e844a8e3ed..e7c63aba6b1 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -19519,6 +19519,34 @@ "supports_response_schema": true, "supports_vision": true }, + "github_copilot/gpt-5.4-mini": { + "litellm_provider": "github_copilot", + "max_input_tokens": 128000, + "max_output_tokens": 128000, + "max_tokens": 128000, + "mode": "responses", + "supported_endpoints": [ + "/v1/responses" + ], + "supports_function_calling": true, + "supports_parallel_function_calling": true, + "supports_response_schema": true, + "supports_vision": true + }, + "github_copilot/gpt-5.5": { + "litellm_provider": "github_copilot", + "max_input_tokens": 128000, + "max_output_tokens": 128000, + "max_tokens": 128000, + "mode": "responses", + "supported_endpoints": [ + "/v1/responses" + ], + "supports_function_calling": true, + "supports_parallel_function_calling": true, + "supports_response_schema": true, + "supports_vision": true + }, "github_copilot/mai-code-1-flash": { "cache_read_input_token_cost": 7.5e-08, "input_cost_per_token": 7.5e-07,