Skip to content

Commit 26ff2ce

Browse files
authored
update oai models (#316)
1 parent a456b51 commit 26ff2ce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

autogen/oai/completion.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class Completion(openai_Completion):
5151
"gpt-3.5-turbo-16k",
5252
"gpt-3.5-turbo-16k-0613",
5353
"gpt-35-turbo",
54+
"gpt-35-turbo-16k",
5455
"gpt-4",
5556
"gpt-4-32k",
5657
"gpt-4-32k-0314", # deprecate in Sep
@@ -69,11 +70,14 @@ class Completion(openai_Completion):
6970
"text-davinci-002": 0.02,
7071
"text-davinci-003": 0.02,
7172
"gpt-3.5-turbo": (0.0015, 0.002),
73+
"gpt-3.5-turbo-instruct": (0.0015, 0.002),
7274
"gpt-3.5-turbo-0301": (0.0015, 0.002), # deprecate in Sep
7375
"gpt-3.5-turbo-0613": (0.0015, 0.002),
7476
"gpt-3.5-turbo-16k": (0.003, 0.004),
7577
"gpt-3.5-turbo-16k-0613": (0.003, 0.004),
76-
"gpt-35-turbo": 0.002,
78+
"gpt-35-turbo": (0.0015, 0.002),
79+
"gpt-35-turbo-16k": (0.003, 0.004),
80+
"gpt-35-turbo-instruct": (0.0015, 0.002),
7781
"gpt-4": (0.03, 0.06),
7882
"gpt-4-32k": (0.06, 0.12),
7983
"gpt-4-0314": (0.03, 0.06), # deprecate in Sep

0 commit comments

Comments
 (0)