🧮 feat: Add GPT-5.5 Token Definitions (#12973)

* fix: add gpt-5.5 token definitions

* fix: align gpt-5.5 context limit
This commit is contained in:
Danny Avila 2026-05-06 10:50:16 -04:00 committed by GitHub
parent 09c8c05c06
commit 56b87f70bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 43 additions and 0 deletions

View file

@ -57,6 +57,8 @@ const openAIModels = {
'gpt-5.3': 400000,
'gpt-5.4': 272000, // standard context; 1M experimental available via API opt-in (2x rate)
'gpt-5.4-pro': 272000, // same window as gpt-5.4
'gpt-5.5': 1050000,
'gpt-5.5-pro': 1050000,
'gpt-5-mini': 400000,
'gpt-5-nano': 400000,
'gpt-5-pro': 400000,
@ -368,6 +370,8 @@ export const modelMaxOutputs = {
'gpt-5.3': 128000,
'gpt-5.4': 128000,
'gpt-5.4-pro': 128000,
'gpt-5.5': 128000,
'gpt-5.5-pro': 128000,
'gpt-5-mini': 128000,
'gpt-5-nano': 128000,
'gpt-5-pro': 128000,