Skip to content

Commit 4ab8a88

Browse files
authored
update cost info (#2401)
1 parent 0aaf30a commit 4ab8a88

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

autogen/oai/openai_utils.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
OAI_PRICE1K = {
1616
# https://openai.com/pricing
1717
# gpt-4-turbo
18-
"gpt-4-0125-preview": (0.01, 0.03),
19-
"gpt-4-1106-preview": (0.01, 0.03),
20-
"gpt-4-1106-vision-preview": (0.01, 0.03), # TODO: support vision pricing of images
18+
"gpt-4-turbo-2024-04-09": (0.01, 0.03),
2119
# gpt-4
2220
"gpt-4": (0.03, 0.06),
2321
"gpt-4-32k": (0.06, 0.12),
@@ -29,6 +27,9 @@
2927
"davinci-002": 0.002,
3028
"babbage-002": 0.0004,
3129
# old model
30+
"gpt-4-0125-preview": (0.01, 0.03),
31+
"gpt-4-1106-preview": (0.01, 0.03),
32+
"gpt-4-1106-vision-preview": (0.01, 0.03), # TODO: support vision pricing of images
3233
"gpt-3.5-turbo-1106": (0.001, 0.002),
3334
"gpt-3.5-turbo-0613": (0.0015, 0.002),
3435
# "gpt-3.5-turbo-16k": (0.003, 0.004),

autogen/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.24"
1+
__version__ = "0.2.25"

0 commit comments

Comments
 (0)