Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.llmeasy.ru/llms.txt

Use this file to discover all available pages before exploring further.

You can connect LLMEasy to OpenCode by first adding credentials with /connect, then declaring LLMEasy as an OpenAI-compatible provider in the config file and selecting a model ID from the Codex group.

Prerequisites

  • LLMEasy API Key (register here (https://www.llmeasy.ru/register))

Install OpenCode

curl -fsSL https://opencode.ai/install | bash

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.
1

If you use macOS / Linux

curl -fsSL https://www.llmeasy.ru/install-opencode-provider.sh | bash
2

If you use Windows

iwr https://www.llmeasy.ru/install-opencode-provider.ps1 -OutFile "$env:TEMP\install-opencode-provider.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\install-opencode-provider.ps1"

Notes

  • Use a Codex group model ID as the default model instead of fixed Claude model names
  • LLMEasy should currently use @ai-sdk/openai-compatible as 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.headers as optional extended configuration; LLMEasy usually does not need extra headers