Skip to content

Commit 00ff187

Browse files
authored
Add GPT-5 model support with o200k_base encoding (#440)
1 parent 5ee89ca commit 00ff187

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tiktoken/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"o3": "o200k_base",
3333
"o4-mini": "o200k_base",
3434
# chat
35+
"gpt-5": "o200k_base",
3536
"gpt-4.1": "o200k_base",
3637
"gpt-4o": "o200k_base",
3738
"gpt-4": "cl100k_base",

0 commit comments

Comments
 (0)