update cost info (#2401)

This commit is contained in:
Chi Wang 2024-04-16 17:43:11 -07:00 committed by GitHub
parent 0aaf30a8da
commit 4ab8a88487
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -15,9 +15,7 @@ DEFAULT_AZURE_API_VERSION = "2024-02-15-preview"
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 @@ OAI_PRICE1K = {
"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),

View File

@ -1 +1 @@
__version__ = "0.2.24"
__version__ = "0.2.25"