Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: add `gpt-5-codex` support (#5194)

Charles Packerd45d29a03f95
diff --git a/letta/constants.py b/letta/constants.py
index e5840be16..71d19d82f 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