We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9ff45 commit bcb6117Copy full SHA for bcb6117
autogen/token_count_utils.py
@@ -14,14 +14,17 @@ def get_max_token_limit(model: str = "gpt-3.5-turbo-0613") -> int:
14
model = re.sub(r"^gpt4", "gpt-4", model)
15
16
max_token_limit = {
17
- "gpt-3.5-turbo": 4096,
+ "gpt-3.5-turbo": 16385,
18
+ "gpt-3.5-turbo-0125": 16385,
19
"gpt-3.5-turbo-0301": 4096,
20
"gpt-3.5-turbo-0613": 4096,
21
"gpt-3.5-turbo-instruct": 4096,
22
"gpt-3.5-turbo-16k": 16385,
23
"gpt-3.5-turbo-16k-0613": 16385,
24
"gpt-3.5-turbo-1106": 16385,
25
"gpt-4": 8192,
26
+ "gpt-4-turbo": 128000,
27
+ "gpt-4-turbo-2024-04-09": 128000,
28
"gpt-4-32k": 32768,
29
"gpt-4-32k-0314": 32768, # deprecate in Sep
30
"gpt-4-0314": 8192, # deprecate in Sep
0 commit comments