We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b609820 commit f83181dCopy full SHA for f83181d
pkg/openai/count.go
@@ -13,7 +13,7 @@ func init() {
13
tiktoken.SetBpeLoader(tiktoken_loader.NewOfflineLoader())
14
}
15
16
-const DefaultMaxTokens = 1_000_000 // This is the limit for GPT-4.1
+const DefaultMaxTokens = 400_000 // This is the limit for GPT-5
17
18
func decreaseTenPercent(maxTokens int) int {
19
maxTokens = getBudget(maxTokens)
0 commit comments