From 991435c395f82b7c790d5865a6f174aede598b22 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Tue, 16 Apr 2024 17:43:11 -0700 Subject: [PATCH] update cost info (#2401) --- autogen/oai/openai_utils.py | 7 ++++--- autogen/version.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/autogen/oai/openai_utils.py b/autogen/oai/openai_utils.py index 80be557eadde..e0c4dbbd79da 100644 --- a/autogen/oai/openai_utils.py +++ b/autogen/oai/openai_utils.py @@ -15,9 +15,7 @@ OAI_PRICE1K = { # https://openai.com/pricing # gpt-4-turbo - "gpt-4-0125-preview": (0.01, 0.03), - "gpt-4-1106-preview": (0.01, 0.03), - "gpt-4-1106-vision-preview": (0.01, 0.03), # TODO: support vision pricing of images + "gpt-4-turbo-2024-04-09": (0.01, 0.03), # gpt-4 "gpt-4": (0.03, 0.06), "gpt-4-32k": (0.06, 0.12), @@ -29,6 +27,9 @@ "davinci-002": 0.002, "babbage-002": 0.0004, # old model + "gpt-4-0125-preview": (0.01, 0.03), + "gpt-4-1106-preview": (0.01, 0.03), + "gpt-4-1106-vision-preview": (0.01, 0.03), # TODO: support vision pricing of images "gpt-3.5-turbo-1106": (0.001, 0.002), "gpt-3.5-turbo-0613": (0.0015, 0.002), # "gpt-3.5-turbo-16k": (0.003, 0.004), diff --git a/autogen/version.py b/autogen/version.py index 1cdae7a8ac67..8e523c934049 100644 --- a/autogen/version.py +++ b/autogen/version.py @@ -1 +1 @@ -__version__ = "0.2.24" +__version__ = "0.2.25"