Connect OpenCode, VSCode, and Claude Code to a unified AI model gateway — 28+ models, one config, zero hassle.

OpenCode CLI OpenCode Web OpenCode Desktop VSCode + Remote Claude Code 28+ Models

Why Do I Need This?

You work with text, code, data, and ideas. These AIs accelerate, automate, and elevate every part of that work — from blank page to finished product.

One Gateway, 28+ Models — Pick the Right Tool for the Job

Different models excel at different tasks. OmniRoute lets you switch instantly:

Massive Context (1M tokens) Speed Optimized Deep Reasoning Vision + Code Auto-Routing Free Local (8 models)

Quick Start — 5 Minutes

Never used terminal/API keys before? This guide walks you through every click.

Install OpenCode

Pick one for your OS:

  • Linux: curl -fsSL https://opencode.ai/install.sh | bash
  • macOS: brew install opencode-ai/tap/opencode
  • Windows: irm https://opencode.ai/install.ps1 | iex (Admin)
  • Desktop: AppImage / .dmg / .exe

✅ Verify: opencode --version

Copy Config

Copy opencode.json to your config folder:

  • Linux: ~/.config/opencode/
  • macOS: ~/Library/Application Support/opencode/
  • Windows: %APPDATA%\opencode\

Creates folder if needed, overwrites existing.

Add API Key

i, dave, will provide the key (format: sk-abc123...)

Environment variable (recommended):

# Linux/macOS
export OMNIROUTE_API_KEY="sk-your-key"
echo 'export OMNIROUTE_API_KEY="sk-your-key"' >> ~/.bashrc && source ~/.bashrc

# Windows (PowerShell)
[Environment]::SetEnvironmentVariable("OMNIROUTE_API_KEY", "sk-your-key", "User")

✅ Verify: echo $OMNIROUTE_API_KEY

Run OpenCode!

  • CLI: opencode
  • Web: opencode serve → opencode.ai
  • Desktop: Launch from Applications/Start Menu

🎉 Connected to 28+ models via OmniRoute!

Resources & Links

Everything you need to dive deeper.

🔒 Can't Access the Repo?

This is a private repository. If you don't have access, ask Dave — he manages access and provides the OmniRoute API keys.

Keys are provided directly by Dave (format: sk-abc123...).