From d45d29a03f952c922f3de3bbd486883d0b557a60 Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Mon, 6 Oct 2025 18:55:34 -0700 Subject: [PATCH] feat: add `gpt-5-codex` support (#5194) * feat(core): add gpt-5-codex * feat(web): add support to the web hardcoding --- letta/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/letta/constants.py b/letta/constants.py index e5840be1..71d19d82 100644 --- a/letta/constants.py +++ b/letta/constants.py @@ -222,6 +222,7 @@ LLM_MAX_TOKENS = { "gpt-5-mini-2025-08-07": 272000, "gpt-5-nano": 272000, "gpt-5-nano-2025-08-07": 272000, + "gpt-5-codex": 272000, # reasoners "o1": 200000, # "o1-pro": 200000, # responses API only