Skip to content

Commit

Permalink
update cost info (#2401)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonichi committed Apr 17, 2024
1 parent 0aaf30a commit 4ab8a88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions autogen/oai/openai_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion autogen/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.24"
__version__ = "0.2.25"

0 comments on commit 4ab8a88

Please sign in to comment.