Skip to content

fix(alibaba/qwen3.7-plus): correct max output to 64K and tier size to 256K#2090

Open
coder-wangbin wants to merge 1 commit into
anomalyco:devfrom
coder-wangbin:fix/qwen3.7-plus-params
Open

fix(alibaba/qwen3.7-plus): correct max output to 64K and tier size to 256K#2090
coder-wangbin wants to merge 1 commit into
anomalyco:devfrom
coder-wangbin:fix/qwen3.7-plus-params

Conversation

@coder-wangbin

Copy link
Copy Markdown

Summary

Fix two remaining incorrect parameters for alibaba/qwen3.7-plus that are still wrong on dev (context and modalities were already fixed by 977e2f0).

Changes

Field Before After Official Source
limit.output 16,384 (16K) 65,536 (64K) 百炼控制台: 最大输出长度 64K
cost.tiers[0].tier.size 128,000 256,000 Matches qwen3.6-plus tier threshold

Why this matters

OpenCode reads models.dev for model capabilities. When output is set to 16K instead of 64K, it causes:

  • Premature context auto-compaction in agent sessions
  • Incorrect token budget allocation for long-generation tasks

Verification

After this fix, qwen3.7-plus is structurally identical to qwen3.6-plus (excluding name/dates/knowledge), confirming they share the same Plus-tier architecture.

Note: This PR only modifies providers/alibaba/ — no opencode-go changes.

- output: 16,384 → 65,536 (official max output is 64K)
- tier.size: 128,000 → 256,000 (matches qwen3.6-plus tier threshold)

Verified against official spec:
https://bailian.console.aliyun.com/cn-beijing/?tab=model#/model-market/detail/qwen3.7-plus
Context: 1M | Max Output: 64K | Modalities: text + image + video
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.

1 participant