Tools

OpenCode

Open-source terminal coding agent, running on Omnizen models - one command, no config files.

The easy way: omnizen launch opencode

Install our CLI once, log in once, then run OpenCode the same way you always have - except it's now routed through Omnizen with no config edits.

bash
npm install -g omnizen-cli      # one-time
omnizen login                   # browser-based, no copy/paste
omnizen launch opencode         # OpenCode, routed through Omnizen

OpenCode's /models menu shows everything in your Omnizen catalog. Switch between them with the same flow you'd use otherwise - Omnizen handles the routing.

Don't have OpenCode?

bash
npm install -g opencode-ai
See the official OpenCode docs for native installers.

Alpine / musl users: OpenCode ships a glibc binary. Use Ubuntu, Debian, or any glibc-based image instead.

Manual setup (if you'd rather configure it yourself)

1. Get an API key

Go to your dashboard → API keys, click Create API key, and copy the sk-… token.

2. Configure Omnizen as a provider

Create or edit ~/.config/opencode/config.json (Windows: %APPDATA%\opencode\config.json):

~/.config/opencode/config.jsonjson
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "omnizen": {
      "npm":  "@ai-sdk/openai-compatible",
      "name": "Omnizen",
      "options": {
        "baseURL": "https://api.omnizen.ai/v1",
        "apiKey":  "sk-…paste-your-omnizen-key-here"
      },
      "models": {
        "deepseek-flash":              { "name": "DeepSeek Flash" },
        "deepseek-pro":                { "name": "DeepSeek Pro (reasoning)" },
        "kimi-k2.6":                   { "name": "Kimi K2.6 (262K context)" },
        "claude-3-5-haiku-20241022":   { "name": "Claude 3.5 Haiku alias" },
        "claude-3-5-sonnet-20241022":  { "name": "Claude 3.5 Sonnet alias" }
      }
    }
  }
}

Add or remove models freely - anything in your Omnizen catalog works. The provider is OpenAI-compatible.

3. Smoke-test it

bash
opencode run --model omnizen/deepseek-flash "what is 2+2?"

Tips

  • Reasoning models need bigger budgets. Models like kimi-k2.6 internally consume tokens to "think" before replying - set --max-tokens high enough (e.g. 1500+) or the visible reply may be empty.
  • Per-project config. Drop a project-local opencode.json at your repo root to scope a single codebase to a dedicated Omnizen key.
  • Same key, multiple tools. The exact same sk-… token works for Claude Code, Aider, Continue, Cursor, and any OpenAI-compatible client.
OpenCode · Docs · Omnizen AI