OpenCode
Terminal-based AI coding agent. Supports DeepSeek API out of the box.
Migrate from Existing Installation to DeepSeek
If you already have OpenCode installed (version >= v1.14.24 recommended), simply configure the provider to DeepSeek in the terminal interface:
- Execute the
opencodecommand - Type
/connectin the input box, then enterdeepseekand select the provider - Enter your DeepSeek API Key
- Select the DeepSeek-V4-Pro model
Install OpenCode from Scratch
- For installation instructions, please refer to the OpenCode download page. After installation, ensure you upgrade to >= v1.14.24.
- Execute the
opencodecommand - Type
/connectin the input box, then enterdeepseekand select the provider - Enter your DeepSeek API Key
- Select the DeepSeek-V4-Pro model