[PR #5679] add OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX to override 32k default #11527

Closed
opened 2026-02-16 18:16:22 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5679

State: closed
Merged: Yes


Currently, the default max output token for opencode is 32,000, however, the latest models such as GPT, Gemini, and Claude now support max output tokens exceeding 64,000, so the current setting of 32,000 is no longer suitable.

Therefore, it is necessary to add a method to modify the max output token.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5679 **State:** closed **Merged:** Yes --- Currently, the default max output token for opencode is 32,000, however, the latest models such as GPT, Gemini, and Claude now support max output tokens exceeding 64,000, so the current setting of 32,000 is no longer suitable. Therefore, it is necessary to add a method to modify the max output token.
yindo added the pull-request label 2026-02-16 18:16:22 -05:00
yindo closed this issue 2026-02-16 18:16:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11527