Skip to content

Commit c2c436d

Browse files
VinciGit00claude
andcommitted
feat(models): add OpenAI gpt-5.4 and gpt-5.5 family support
Add token-context entries for the latest OpenAI frontier models in both openai and azure_openai registries: - gpt-5.5, gpt-5.5-pro (1.05M ctx) + dated snapshots (2026-04-23) - gpt-5.4, gpt-5.4-pro (1.05M ctx) + dated snapshots (2026-03-05) - gpt-5.4-mini, gpt-5.4-nano (400K ctx) + dated snapshots (2026-03-17) - gpt-5.3-codex (400K ctx) - gpt-5.3-chat-latest (128K ctx) - gpt-5-2025-08-07 dated snapshot Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d4b8f69 commit c2c436d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

scrapegraphai/helpers/models_tokens.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,22 @@
3939
"o4-mini": 200000,
4040
"o3-deep-research": 200000,
4141
"o4-mini-deep-research": 200000,
42+
"gpt-5.5": 1050000,
43+
"gpt-5.5-pro": 1050000,
44+
"gpt-5.5-2026-04-23": 1050000,
45+
"gpt-5.5-pro-2026-04-23": 1050000,
46+
"gpt-5.4": 1050000,
47+
"gpt-5.4-pro": 1050000,
48+
"gpt-5.4-mini": 400000,
49+
"gpt-5.4-nano": 400000,
50+
"gpt-5.4-2026-03-05": 1050000,
51+
"gpt-5.4-pro-2026-03-05": 1050000,
52+
"gpt-5.4-mini-2026-03-17": 400000,
53+
"gpt-5.4-nano-2026-03-17": 400000,
54+
"gpt-5.3-codex": 400000,
55+
"gpt-5.3-chat-latest": 128000,
4256
"gpt-5": 200000,
57+
"gpt-5-2025-08-07": 200000,
4358
"gpt-5.1": 200000,
4459
"gpt-5.2": 128000,
4560
"gpt-5.2-pro": 128000,
@@ -86,7 +101,22 @@
86101
"gpt-4.1": 1048576,
87102
"gpt-4.1-mini": 1048576,
88103
"gpt-4.1-nano": 1048576,
104+
"gpt-5.5": 1050000,
105+
"gpt-5.5-pro": 1050000,
106+
"gpt-5.5-2026-04-23": 1050000,
107+
"gpt-5.5-pro-2026-04-23": 1050000,
108+
"gpt-5.4": 1050000,
109+
"gpt-5.4-pro": 1050000,
110+
"gpt-5.4-mini": 400000,
111+
"gpt-5.4-nano": 400000,
112+
"gpt-5.4-2026-03-05": 1050000,
113+
"gpt-5.4-pro-2026-03-05": 1050000,
114+
"gpt-5.4-mini-2026-03-17": 400000,
115+
"gpt-5.4-nano-2026-03-17": 400000,
116+
"gpt-5.3-codex": 400000,
117+
"gpt-5.3-chat-latest": 128000,
89118
"gpt-5": 200000,
119+
"gpt-5-2025-08-07": 200000,
90120
"gpt-5.1": 200000,
91121
"gpt-5.2": 128000,
92122
"gpt-5.2-pro": 128000,

0 commit comments

Comments
 (0)