/connect, then declaring LLMEasy as an OpenAI-compatible provider in the config file and selecting a model ID from the GPT Key group.
Prerequisites
- LLMEasy API Key (register here)
Install OpenCode
- curl
- npm
Setup
- Automatic setup
- Configure via CC Switch
- Manual setup
You can run the LLMEasy automatic setup script directly. It only writes the LLMEasy provider configuration and does not replace the installation prerequisites above. The script requires
Node.js. If you do not pass an API Key or model explicitly, the script prompts for them when the tool supports interactive input.Follow the step for your operating system. You only need one of them.Related FAQ
- OpenAI-compatible API vs Anthropic-compatible API
- MCP vs API Key and Base URL
- What are model_provider, base_url, and wire_api?
- How to configure an OpenAI-compatible API in Cline
Notes
- Use a GPT Key group model ID as the default model instead of fixed Claude model names
- LLMEasy should currently use
@ai-sdk/openai-compatibleas the OpenAI-compatible provider adapter - If you use
/connect, you usually do not need to store the API key directly in the config file - OpenCode’s official docs treat
options.headersas optional extended configuration; LLMEasy usually does not need extra headers

