From 78035794ddaa18469457a1776b9fd6e1e52d871b Mon Sep 17 00:00:00 2001 From: WGNW_MG <52302387+m4a1carbin4@users.noreply.github.com> Date: Fri, 29 Nov 2024 12:04:07 +0900 Subject: [PATCH] Update MODEL_COST (gpt-4o-11-20) update model cost for new gpt-4o-11-20. --- libs/community/langchain_community/callbacks/openai_info.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/community/langchain_community/callbacks/openai_info.py b/libs/community/langchain_community/callbacks/openai_info.py index 9e2c070ccd2bf..4976f6331f11d 100644 --- a/libs/community/langchain_community/callbacks/openai_info.py +++ b/libs/community/langchain_community/callbacks/openai_info.py @@ -30,10 +30,12 @@ "gpt-4o": 0.0025, "gpt-4o-2024-05-13": 0.005, "gpt-4o-2024-08-06": 0.0025, + "gpt-4o-2024-11-20": 0.0025, # GPT-4o output "gpt-4o-completion": 0.01, "gpt-4o-2024-05-13-completion": 0.015, "gpt-4o-2024-08-06-completion": 0.01, + "gpt-4o-2024-11-20-completion": 0.01, # GPT-4 input "gpt-4": 0.03, "gpt-4-0314": 0.03,