Skip to content

add OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX to override 32k default - #5679

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
junmediatek:feat/output-token-max-env
Dec 17, 2025
Merged

rekram1-node merged 1 commit into
anomalyco:devfrom
junmediatek:feat/output-token-max-env

Conversation

@junmediatek

@junmediatek junmediatek commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor

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.

@junmediatek
junmediatek force-pushed the feat/output-token-max-env branch from 89f0d42 to 3c59eec Compare December 17, 2025 08:44
@junmediatek

Copy link
Copy Markdown
Contributor Author

@rekram1-node could you help to check this PR?

@rekram1-node rekram1-node changed the title Feat/output token max env add OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX to override 32k default Dec 17, 2025
@rekram1-node

Copy link
Copy Markdown
Collaborator

lgtm

@rekram1-node
rekram1-node merged commit 1e4bfbc into anomalyco:dev Dec 17, 2025
3 checks passed
@junmediatek
junmediatek deleted the feat/output-token-max-env branch December 31, 2025 01:57
@junmediatek
junmediatek restored the feat/output-token-max-env branch December 31, 2025 01:57
@junmediatek
junmediatek deleted the feat/output-token-max-env branch February 27, 2026 07:34
@junmediatek
junmediatek restored the feat/output-token-max-env branch February 27, 2026 07:35
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants