[FEATURE]: Support StepFun (step-3.5-flash) via OpenRouter #8304

Closed
opened 2026-02-16 18:09:39 -05:00 by yindo · 6 comments
Owner

Originally created by @mporracindie on GitHub (Feb 2, 2026).

Originally assigned to: @fwang on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

OpenCode currently supports multiple model providers through OpenRouter, but StepFun models specifically step-3.5-flash are not yet available as selectable options. Adding support for step-3.5-flash via OpenRouter would enable faster, lower-latency agent workflows and provide an additional cost-efficient model choice. This should be a straightforward provider passthrough, similar to existing OpenRouter-backed models.

Originally created by @mporracindie on GitHub (Feb 2, 2026). Originally assigned to: @fwang on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request OpenCode currently supports multiple model providers through OpenRouter, but StepFun models specifically step-3.5-flash are not yet available as selectable options. Adding support for step-3.5-flash via OpenRouter would enable faster, lower-latency agent workflows and provide an additional cost-efficient model choice. This should be a straightforward provider passthrough, similar to existing OpenRouter-backed models.
yindo added the discussionzen labels 2026-02-16 18:09:39 -05:00
yindo closed this issue 2026-02-16 18:09:39 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 2, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10557: pinning OpenRouter provider doesn't work
  • #10594: No endpoints found error from Openrouter → Should be able to re-fetch/update model list
  • #10748: OpenRouter.ai provider: Not listing google/gemma-3-27b-it:free variant

These issues address OpenRouter model availability and provider functionality. If you're experiencing a similar OpenRouter limitation, those discussions may be relevant.

Additionally, you might want to compare with broader model provider addition requests:

  • #11038: feat: Add Amazon Nova as a model provider
  • #11568: [FEATURE]: Support Commonstack model provider

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 2, 2026): This issue might be a duplicate of existing issues. Please check: - #10557: pinning OpenRouter provider doesn't work - #10594: No endpoints found error from Openrouter → Should be able to re-fetch/update model list - #10748: OpenRouter.ai provider: Not listing google/gemma-3-27b-it:free variant These issues address OpenRouter model availability and provider functionality. If you're experiencing a similar OpenRouter limitation, those discussions may be relevant. Additionally, you might want to compare with broader model provider addition requests: - #11038: feat: Add Amazon Nova as a model provider - #11568: [FEATURE]: Support Commonstack model provider Feel free to ignore if none of these address your specific case.
Author
Owner

@Vincent0201Ip commented on GitHub (Feb 6, 2026):

Here is my suggestion:

Copy and paste the following prompt to the opencode:

Please refer to https://github.com/anomalyco/opencode/issues/11172 and add the configuration to ~/.config/opencode/opencode.json so that I can choose the stepfun/step-3.5-flash:free model (https://openrouter.ai/stepfun/step-3.5-flash:free/api).
@Vincent0201Ip commented on GitHub (Feb 6, 2026): Here is my suggestion: Copy and paste the following prompt to the opencode: ``` Please refer to https://github.com/anomalyco/opencode/issues/11172 and add the configuration to ~/.config/opencode/opencode.json so that I can choose the stepfun/step-3.5-flash:free model (https://openrouter.ai/stepfun/step-3.5-flash:free/api). ```
Author
Owner

@allanchan339 commented on GitHub (Feb 6, 2026):

Here is my suggestion:

Copy and paste the following prompt to the opencode:

Please refer to https://github.com/anomalyco/opencode/issues/11172 and add the configuration to ~/.config/opencode/opencode.json so that I can choose the stepfun/step-3.5-flash:free model (https://openrouter.ai/stepfun/step-3.5-flash:free/api).

It works as a hack to enable openrouter provider with step3.5 support, tried to use it with kimi-k2.5-free to install this config. Restart opencode and work.

step3.5 is fast as fuck, very competitive with mimo-v2-flash, suitable for explorer or fixer

@allanchan339 commented on GitHub (Feb 6, 2026): > Here is my suggestion: > > Copy and paste the following prompt to the opencode: > > ``` > Please refer to https://github.com/anomalyco/opencode/issues/11172 and add the configuration to ~/.config/opencode/opencode.json so that I can choose the stepfun/step-3.5-flash:free model (https://openrouter.ai/stepfun/step-3.5-flash:free/api). > ``` It works as a hack to enable openrouter provider with step3.5 support, tried to use it with `kimi-k2.5-free` to install this config. Restart opencode and work. step3.5 is fast as fuck, very competitive with `mimo-v2-flash`, suitable for explorer or fixer
Author
Owner

@tsuvic commented on GitHub (Feb 8, 2026):

This configuration method is officially supported and documented. You can find the complete guide in OpenCode's official documentation.

The documentation provides detailed instructions for adding custom models through the configuration file, which is exactly what this setup follows. This is the standard, officially-recommended approach for extending OpenCode's model support.

Here's the complete working configuration as a reference:

{
 "$schema": "https://opencode.ai/config.json",
   "provider": {
       "openrouter": {
           "models": {
               "stepfun/step-3.5-flash:free": {}
           }
       }
   }
}

Copy this exact configuration to your ~/.config/opencode/opencode.json file, save it, and restart OpenCode.

@tsuvic commented on GitHub (Feb 8, 2026): This configuration method is officially supported and documented. You can find [the complete guide in OpenCode's official documentation](https://opencode.ai/docs/providers/#openrouter). The documentation provides detailed instructions for adding custom models through the configuration file, which is exactly what this setup follows. This is the standard, officially-recommended approach for extending OpenCode's model support. Here's the complete working configuration as a reference: ``` { "$schema": "https://opencode.ai/config.json", "provider": { "openrouter": { "models": { "stepfun/step-3.5-flash:free": {} } } } } ``` Copy this exact configuration to your ~/.config/opencode/opencode.json file, save it, and restart OpenCode.
Author
Owner

@whiteS18 commented on GitHub (Feb 12, 2026):

Here is my suggestion:
Copy and paste the following prompt to the opencode:

Please refer to https://github.com/anomalyco/opencode/issues/11172 and add the configuration to ~/.config/opencode/opencode.json so that I can choose the stepfun/step-3.5-flash:free model (https://openrouter.ai/stepfun/step-3.5-flash:free/api).

It works as a hack to enable openrouter provider with step3.5 support, tried to use it with kimi-k2.5-free to install this config. Restart opencode and work.

step3.5 is fast as fuck, very competitive with mimo-v2-flash, suitable for explorer or fixer

i copied and when i restart opencode . it show's

Error: Failed to spawn OpenCode Server (Sidecar terminated before becoming healthy (code=Some(1) signal=None)). Logs:
2026-02-12T05:51:09.522492Z  INFO opencode_lib: Initializing app
2026-02-12T05:51:09.522536Z  INFO opencode_lib: Main and loading windows created
2026-02-12T05:51:09.522575Z  INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-12T05:51:09.524010Z  INFO opencode_lib: Setting up server connection
2026-02-12T05:51:10.593687Z  INFO opencode_lib: Attempting server connection custom_url=None
2026-02-12T05:51:12.615989Z  INFO opencode_lib: Spawning new local server
2026-02-12T05:51:12.616033Z  INFO opencode_lib::cli: Spawning sidecar port=52617
2026-02-12T05:51:13.486717Z  INFO sidecar: ERROR 2026-02-12T05:51:13 +340ms service=default path=C:\Users\cwsong\.config\opencode\opencode.json issues=[{"code":"unrecognized_keys","keys":["models"],"path":[],"message":"Unrecognized key: \"models\""}] name=ConfigInvalidError message=ConfigInvalidError stack=ConfigInvalidError: ConfigInvalidError

2026-02-12T05:51:13.486726Z  INFO sidecar:     at load (src/config/config.ts:1329:15)

2026-02-12T05:51:13.486730Z  INFO sidecar:     at async <anonymous> (src/config/config.ts:1205:23)

2026-02-12T05:51:13.486732Z  INFO sidecar:     at async resolveNetworkOptions (src/cli/network.ts:40:31)

2026-02-12T05:51:13.486734Z  INFO sidecar:     at async <anonymous> (src/cli/cmd/serve.ts:14:24)

2026-02-12T05:51:13.486735Z  INFO sidecar:     at processTicksAndRejections (native:7:39) fatal

2026-02-12T05:51:13.486946Z  INFO sidecar: \x1b[91m\x1b[1mError: \x1b[0mConfiguration is invalid at C:\Users\cwsong\.config\opencode\opencode.json

2026-02-12T05:51:13.486951Z  INFO sidecar: ↳ Unrecognized key: "models" 

2026-02-12T05:51:13.526459Z  INFO sidecar: Sidecar terminated code=Some(1) signal=None
    at castError (http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:10353)
    at http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:3246
@whiteS18 commented on GitHub (Feb 12, 2026): > > Here is my suggestion: > > Copy and paste the following prompt to the opencode: > > ``` > > Please refer to https://github.com/anomalyco/opencode/issues/11172 and add the configuration to ~/.config/opencode/opencode.json so that I can choose the stepfun/step-3.5-flash:free model (https://openrouter.ai/stepfun/step-3.5-flash:free/api). > > ``` > > It works as a hack to enable openrouter provider with step3.5 support, tried to use it with `kimi-k2.5-free` to install this config. Restart opencode and work. > > step3.5 is fast as fuck, very competitive with `mimo-v2-flash`, suitable for explorer or fixer i copied and when i restart opencode . it show's ``` Error: Failed to spawn OpenCode Server (Sidecar terminated before becoming healthy (code=Some(1) signal=None)). Logs: 2026-02-12T05:51:09.522492Z INFO opencode_lib: Initializing app 2026-02-12T05:51:09.522536Z INFO opencode_lib: Main and loading windows created 2026-02-12T05:51:09.522575Z INFO opencode_lib::cli: No CLI installation found, skipping sync 2026-02-12T05:51:09.524010Z INFO opencode_lib: Setting up server connection 2026-02-12T05:51:10.593687Z INFO opencode_lib: Attempting server connection custom_url=None 2026-02-12T05:51:12.615989Z INFO opencode_lib: Spawning new local server 2026-02-12T05:51:12.616033Z INFO opencode_lib::cli: Spawning sidecar port=52617 2026-02-12T05:51:13.486717Z INFO sidecar: ERROR 2026-02-12T05:51:13 +340ms service=default path=C:\Users\cwsong\.config\opencode\opencode.json issues=[{"code":"unrecognized_keys","keys":["models"],"path":[],"message":"Unrecognized key: \"models\""}] name=ConfigInvalidError message=ConfigInvalidError stack=ConfigInvalidError: ConfigInvalidError 2026-02-12T05:51:13.486726Z INFO sidecar: at load (src/config/config.ts:1329:15) 2026-02-12T05:51:13.486730Z INFO sidecar: at async <anonymous> (src/config/config.ts:1205:23) 2026-02-12T05:51:13.486732Z INFO sidecar: at async resolveNetworkOptions (src/cli/network.ts:40:31) 2026-02-12T05:51:13.486734Z INFO sidecar: at async <anonymous> (src/cli/cmd/serve.ts:14:24) 2026-02-12T05:51:13.486735Z INFO sidecar: at processTicksAndRejections (native:7:39) fatal 2026-02-12T05:51:13.486946Z INFO sidecar: \x1b[91m\x1b[1mError: \x1b[0mConfiguration is invalid at C:\Users\cwsong\.config\opencode\opencode.json 2026-02-12T05:51:13.486951Z INFO sidecar: ↳ Unrecognized key: "models" 2026-02-12T05:51:13.526459Z INFO sidecar: Sidecar terminated code=Some(1) signal=None at castError (http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:10353) at http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:3246 ```
Author
Owner

@allanchan339 commented on GitHub (Feb 12, 2026):

Here is my suggestion:
Copy and paste the following prompt to the opencode:

Please refer to https://github.com/anomalyco/opencode/issues/11172 and add the configuration to ~/.config/opencode/opencode.json so that I can choose the stepfun/step-3.5-flash:free model (https://openrouter.ai/stepfun/step-3.5-flash:free/api).

It works as a hack to enable openrouter provider with step3.5 support, tried to use it with kimi-k2.5-free to install this config. Restart opencode and work.
step3.5 is fast as fuck, very competitive with mimo-v2-flash, suitable for explorer or fixer

i copied and when i restart opencode . it show's

Error: Failed to spawn OpenCode Server (Sidecar terminated before becoming healthy (code=Some(1) signal=None)). Logs:
2026-02-12T05:51:09.522492Z  INFO opencode_lib: Initializing app
2026-02-12T05:51:09.522536Z  INFO opencode_lib: Main and loading windows created
2026-02-12T05:51:09.522575Z  INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-12T05:51:09.524010Z  INFO opencode_lib: Setting up server connection
2026-02-12T05:51:10.593687Z  INFO opencode_lib: Attempting server connection custom_url=None
2026-02-12T05:51:12.615989Z  INFO opencode_lib: Spawning new local server
2026-02-12T05:51:12.616033Z  INFO opencode_lib::cli: Spawning sidecar port=52617
2026-02-12T05:51:13.486717Z  INFO sidecar: ERROR 2026-02-12T05:51:13 +340ms service=default path=C:\Users\cwsong\.config\opencode\opencode.json issues=[{"code":"unrecognized_keys","keys":["models"],"path":[],"message":"Unrecognized key: \"models\""}] name=ConfigInvalidError message=ConfigInvalidError stack=ConfigInvalidError: ConfigInvalidError

2026-02-12T05:51:13.486726Z  INFO sidecar:     at load (src/config/config.ts:1329:15)

2026-02-12T05:51:13.486730Z  INFO sidecar:     at async <anonymous> (src/config/config.ts:1205:23)

2026-02-12T05:51:13.486732Z  INFO sidecar:     at async resolveNetworkOptions (src/cli/network.ts:40:31)

2026-02-12T05:51:13.486734Z  INFO sidecar:     at async <anonymous> (src/cli/cmd/serve.ts:14:24)

2026-02-12T05:51:13.486735Z  INFO sidecar:     at processTicksAndRejections (native:7:39) fatal

2026-02-12T05:51:13.486946Z  INFO sidecar: \x1b[91m\x1b[1mError: \x1b[0mConfiguration is invalid at C:\Users\cwsong\.config\opencode\opencode.json

2026-02-12T05:51:13.486951Z  INFO sidecar: ↳ Unrecognized key: "models" 

2026-02-12T05:51:13.526459Z  INFO sidecar: Sidecar terminated code=Some(1) signal=None
    at castError (http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:10353)
    at http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:3246

Your model is not smart enough to perform this task, making syntax error in ~/.config/opencode/opencode.json, use nano to fix the syntax manually to get opencode back

@allanchan339 commented on GitHub (Feb 12, 2026): > > > Here is my suggestion: > > > Copy and paste the following prompt to the opencode: > > > ``` > > > Please refer to https://github.com/anomalyco/opencode/issues/11172 and add the configuration to ~/.config/opencode/opencode.json so that I can choose the stepfun/step-3.5-flash:free model (https://openrouter.ai/stepfun/step-3.5-flash:free/api). > > > ``` > > > > > > It works as a hack to enable openrouter provider with step3.5 support, tried to use it with `kimi-k2.5-free` to install this config. Restart opencode and work. > > step3.5 is fast as fuck, very competitive with `mimo-v2-flash`, suitable for explorer or fixer > > i copied and when i restart opencode . it show's > > ``` > Error: Failed to spawn OpenCode Server (Sidecar terminated before becoming healthy (code=Some(1) signal=None)). Logs: > 2026-02-12T05:51:09.522492Z INFO opencode_lib: Initializing app > 2026-02-12T05:51:09.522536Z INFO opencode_lib: Main and loading windows created > 2026-02-12T05:51:09.522575Z INFO opencode_lib::cli: No CLI installation found, skipping sync > 2026-02-12T05:51:09.524010Z INFO opencode_lib: Setting up server connection > 2026-02-12T05:51:10.593687Z INFO opencode_lib: Attempting server connection custom_url=None > 2026-02-12T05:51:12.615989Z INFO opencode_lib: Spawning new local server > 2026-02-12T05:51:12.616033Z INFO opencode_lib::cli: Spawning sidecar port=52617 > 2026-02-12T05:51:13.486717Z INFO sidecar: ERROR 2026-02-12T05:51:13 +340ms service=default path=C:\Users\cwsong\.config\opencode\opencode.json issues=[{"code":"unrecognized_keys","keys":["models"],"path":[],"message":"Unrecognized key: \"models\""}] name=ConfigInvalidError message=ConfigInvalidError stack=ConfigInvalidError: ConfigInvalidError > > 2026-02-12T05:51:13.486726Z INFO sidecar: at load (src/config/config.ts:1329:15) > > 2026-02-12T05:51:13.486730Z INFO sidecar: at async <anonymous> (src/config/config.ts:1205:23) > > 2026-02-12T05:51:13.486732Z INFO sidecar: at async resolveNetworkOptions (src/cli/network.ts:40:31) > > 2026-02-12T05:51:13.486734Z INFO sidecar: at async <anonymous> (src/cli/cmd/serve.ts:14:24) > > 2026-02-12T05:51:13.486735Z INFO sidecar: at processTicksAndRejections (native:7:39) fatal > > 2026-02-12T05:51:13.486946Z INFO sidecar: \x1b[91m\x1b[1mError: \x1b[0mConfiguration is invalid at C:\Users\cwsong\.config\opencode\opencode.json > > 2026-02-12T05:51:13.486951Z INFO sidecar: ↳ Unrecognized key: "models" > > 2026-02-12T05:51:13.526459Z INFO sidecar: Sidecar terminated code=Some(1) signal=None > at castError (http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:10353) > at http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:3246 > ``` Your model is not smart enough to perform this task, making syntax error in ~/.config/opencode/opencode.json, use nano to fix the syntax manually to get opencode back
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8304