OpenCode
Configure AnyRouter as the OpenCode backend.
OpenCode is an open-source AI coding assistant with terminal and Web interfaces.
Switch an existing install to AnyRouter
- Run
opencode upgradeto make sure the version is >=v1.14.24. - Run
opencode. - Type
/connectin the input box and chooseopenai. - Enter your AnyRouter API Key.
- Choose the
gpt-5.5model.
Install OpenCode from scratch
1. Install OpenCode
Install or upgrade from the official page (version >= v1.14.24 recommended).
2. Run and configure
- Run
opencode. - Type
/connectand chooseopenai. - Enter your API Key.
- Choose the
gpt-5.5model.