Skip to main content

Integrate with OpenCode

OpenCode is an open-source AI coding assistant available in terminal, web, and other forms.

Migrate from Existing Installation to DeepSeek

If you already have OpenCode installed (version >= v1.14.24 recommended), simply run OpenCode and switch to the DeepSeek provider:

  1. Execute the opencode command
  2. Type /connect in the input box, then enter deepseek and select the provider

  1. Enter your DeepSeek API Key

  1. Select the DeepSeek-V4-Pro model

Install OpenCode from Scratch

1. Install OpenCode

For installation instructions, please refer to the OpenCode download page.

To avoid compatibility issues, it is strongly recommended to upgrade OpenCode to the latest version, ensuring the version number is >= v1.14.24.

2. Run and Configure

  • Execute the opencode command
  • Type /connect in the input box, then enter deepseek and select the provider
  • Enter your DeepSeek API Key
  • Select the DeepSeek-V4-Pro model