From 91e28a6111d4f415959bcfeef0f0460c64a7ce75 Mon Sep 17 00:00:00 2001 From: Yoshitaka Oyama Date: Tue, 14 Apr 2026 15:43:20 +0900 Subject: [PATCH] Add azure/gpt-5.2-chat-latest pricing entry The OpenAI variant `gpt-5.2-chat-latest` is already registered, as are the dated Azure variants `azure/gpt-5.2-chat` and `azure/gpt-5.2-chat-2025-12-11`, but `azure/gpt-5.2-chat-latest` was missing. This makes cost tracking fall back to defaults when users route the `gpt-5.2-chat-latest` deployment through Azure. Pricing, context window, and capability flags mirror the existing `azure/gpt-5.2-chat` / `azure/gpt-5.2-chat-2025-12-11` entries for consistency within the gpt-5.2 family. --- model_prices_and_context_window.json | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 7e179db2a81..db3b6ccfc92 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -4136,6 +4136,40 @@ "supports_tool_choice": true, "supports_vision": true }, + "azure/gpt-5.2-chat-latest": { + "cache_read_input_token_cost": 1.75e-07, + "cache_read_input_token_cost_priority": 3.5e-07, + "input_cost_per_token": 1.75e-06, + "input_cost_per_token_priority": 3.5e-06, + "litellm_provider": "azure", + "max_input_tokens": 128000, + "max_output_tokens": 16384, + "max_tokens": 16384, + "mode": "chat", + "output_cost_per_token": 1.4e-05, + "output_cost_per_token_priority": 2.8e-05, + "supported_endpoints": [ + "/v1/chat/completions", + "/v1/responses" + ], + "supported_modalities": [ + "text", + "image" + ], + "supported_output_modalities": [ + "text" + ], + "supports_function_calling": true, + "supports_native_streaming": true, + "supports_parallel_function_calling": true, + "supports_pdf_input": true, + "supports_prompt_caching": true, + "supports_reasoning": true, + "supports_response_schema": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "supports_vision": true + }, "azure/gpt-5.2-codex": { "cache_read_input_token_cost": 1.75e-07, "input_cost_per_token": 1.75e-06,