anomalyco / anomalyco/opencode
[Bug] Built-in provider StepFun Step Plan (China)「stepfun-step-plan」 has incorrect context parameters for model step-router-v1
@nexxeln is already working on this.
Since Jul 21, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
The built-in stepfun-step-plan-cn provider in opencode currently configures step-router-v1 with context parameters that do not match the official Stepfun documentation.
According to Stepfun's official docs, the system automatically routes between deepseek-v4-pro and step-3.7-flash for step-router-v1. Its field constraints are essentially aligned with the underlying DeepSeek engine, so its context specification should match deepseek-v4-pro:
Total context window: 1M tokens
Max output tokens (max_tokens): 384K tokens
However, the current built-in configuration in opencode sets step-router-v1 to 256K / 256K, which causes users cannot fully utilize the model's 1M context window.
Plugins
"cc-safety-net@latest", "opencode-worktrunk@git+https://github.com/qiyuanhuakai/opencode-worktrunk", "@cortexkit/opencode-magic-context@latest", "oh-my-openagent@latest"
OpenCode version
1.18.14
Steps to reproduce
It does not need to be reproduced; this is a built-in setting error.
Screenshot and/or share link
Operating System
Windows 11
Terminal
Windows Terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.