Melious
CLI

Coding tools

A handoff. We generate the config for a coding tool, set the environment it needs, and start it. You spend no time figuring out where each tool keeps its provider config or which env var it reads for an API key.

melious launch

That runs your default tool. Name a tool to launch a specific one:

melious launch opencode

Supported tools

ToolCommandHow we wire itOur pick
OpenCodeopencodeGenerated JSON config
Claude CodeclaudeAnthropic-style env vars
Mistral VibevibeGenerated TOML + .env

We default to OpenCode because it uses tokens efficiently and runs anywhere we do. Claude Code is great, but it spends tokens like it's writing an essay — see the note under its section before you pick it.

OpenCode

Open-source terminal coding agent, efficient, fast.

melious launch opencode does four things:

  1. Generates an opencode.json with Melious registered as a provider
  2. Populates the model list from our catalog, with real context lengths
  3. Sets OPENCODE_CONFIG and MELIOUS_API_KEY
  4. Starts opencode

Install:

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

Requires Node.js and npm.

Or let us do it:

melious tools install opencode

Claude Code

Anthropic's agentic coding tool.

Claude Code uses noticeably more tokens than OpenCode or Vibe on the same task. That's real money through any provider, not a Melious thing. If cost matters to you, start with OpenCode and only reach for Claude Code when you've hit a wall.

melious launch claude-code does four things:

  1. Sets Anthropic-compatible env vars:
    • ANTHROPIC_BASE_URLhttps://api.melious.ai
    • ANTHROPIC_AUTH_TOKEN → your API key
    • ANTHROPIC_MODEL → your main model
    • ANTHROPIC_SMALL_FAST_MODEL → your lightweight model
    • Tier mapping: opus → main, sonnet → secondary, haiku → lightweight
  2. Disables telemetry (CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1)
  3. Extends the request timeout to 50 minutes (API_TIMEOUT_MS=3000000)
  4. Starts claude

Install:

curl -fsSL https://claude.ai/install.sh | bash
powershell -ExecutionPolicy ByPass -c "irm https://claude.ai/install.ps1 | iex"

Mistral Vibe

Mistral's open-source terminal coding agent. Python, multi-provider.

melious launch vibe does three things:

  1. Generates config.toml with Melious as an OpenAI-compatible provider
  2. Writes a .env with your API key
  3. Sets VIBE_HOME to the generated config directory and starts vibe

Install:

curl -LsSf https://mistral.ai/vibe/install.sh | bash
uv tool install mistral-vibe

Requires uv.

Flags

FlagTypeDefaultDescription
--modelstringfrom configOverride the main model
--secondarystringfrom configOverride the secondary model
--lightweightstringfrom configOverride the lightweight model
--presetstringfrom configRouting flavor. See Routing.
--no-installboolfalseDon't offer to install a missing tool

Passing flags through

Anything after -- goes straight to the underlying tool:

melious launch opencode -- --debug

Per-tool model overrides

When you need a specific tool to use a different model from the global default:

melious tools model opencode deepseek-v3.2

The override lives in tool_models in your config and only applies when launching that tool. See Managing tools.

Changing the default tool

melious config set defaults.tool opencode

On this page