OpenCode Configuration
With OpenCode you can use any LLM provider by configuring their API keys.
If you are new to using LLM providers, we recommend using OpenCode Zen. It’s a curated list of models that have been tested and verified by the OpenCode team.
Configuration Steps
Run the
/connectcommand in the TUI, select opencode, and head to opencode.ai/auth./connectSign in, add your billing details, and copy your API key.
Paste your API key.
┌ API key││└ enter
Alternatively, you can select one of the other providers. Learn more.