Skip to content
The Distillery

AI coding tool
setup

Point any Claude capable tool at The Distillery on http://localhost:3080 to cut token costs without changing your workflow.

Tools
12
Port
3080
Protocol
HTTP
Auth
Bearer
Scope
local-only

§0

Install & start · one-time

One time install. This boots the proxy on port 3080.

01Install globallynpm install -g thedistillery
02Authenticatethedistillery auth login
03Start proxythedistillery start

Then pick your tool below. thedistillery start auto-injects OPENAI_BASE_URL + GOOGLE_GEMINI_BASE_URL when Codex or Gemini CLI are detected. Distillery vs Claude Code Router

§1

Claude Code · Anthropic · auto configured

Anthropic's official CLI. Auto configured. thedistillery start injects ANTHROPIC_BASE_URL into Claude Code's settings. No shell export needed.

Vendor
Anthropic
Auth
OAuth
Config
auto configured
OpenAI compat
no
Verified
yes
bash
thedistillery start
claude

§2

Cline · saoudrizwan · VS Code extension

VS Code extension. Uses cline.anthropicBaseUrl in user settings.json.

Vendor
saoudrizwan
Auth
API key
Config
settings.json
OpenAI compat
no
Verified
yes
settings.json
{
  "cline.anthropicBaseUrl": "http://localhost:3080"
}

§3

Goose · Block · open source agent

Block's open source agent. Uses ANTHROPIC_HOST (not ANTHROPIC_BASE_URL).

Vendor
Block
Auth
API key
Config
env var
OpenAI compat
no
Verified
yes
export ANTHROPIC_HOST=http://localhost:3080
goose session

NoteGoose uses ANTHROPIC_HOST specifically. Setting ANTHROPIC_BASE_URL silently routes to the default endpoint.

§4

Hermes Agent · Hermes · OpenAI compat adapter

Goes through the OpenAI compat adapter at /v1. Set OPENAI_BASE_URL.

Vendor
Hermes
Auth
API key
Config
env var
OpenAI compat
yes
Verified
yes
export OPENAI_BASE_URL=http://localhost:3080/v1
hermes start

§5

Roo Code · RooVetGit · VS Code fork of Cline

VS Code fork of Cline. Uses roo-cline.anthropicBaseUrl.

Vendor
RooVetGit
Auth
API key
Config
settings.json
OpenAI compat
no
Verified
yes
settings.json
{
  "roo-cline.anthropicBaseUrl": "http://localhost:3080"
}

§6

Continue.dev · Continue · VS Code / JetBrains

Open source assistant for VS Code / JetBrains. Set apiBase on the Anthropic model entry.

Vendor
Continue
Auth
API key
Config
config.json
OpenAI compat
yes
Verified
yes
~/.continue/config.json
{
  "models": [{
    "provider": "anthropic",
    "model": "claude-sonnet-4-5",
    "apiBase": "http://localhost:3080/v1/"
  }]
}
Gotchas

NoteapiBase MUST end in /v1/. Trailing slash required. Without it, Continue builds /messages instead of /v1/messages and the request fails.

§7

Zed · Zed Industries · unverified

Collaborative editor with built-in AI. Uses language_models.anthropic.api_url.

Vendor
Zed Industries
Auth
API key
Config
settings.json
OpenAI compat
no
Verified
no
~/.config/zed/settings.json
{
  "language_models": {
    "anthropic": {
      "api_url": "http://localhost:3080",
      "version": "1"
    }
  }
}
Note

NoteDocumented config key, compatibility not yet confirmed.

§8

Aider · Paul Gauthier · CLI pair programmer

CLI pair programmer. Uses its OpenAI compatible client to reach the proxy's /v1.

Vendor
Paul Gauthier
Auth
API key
Config
CLI flags
OpenAI compat
yes
Verified
yes
bash
aider --openai-api-base http://localhost:3080/v1 --model openai/claude-sonnet-4-5
Persist config in .aider.conf.yml

Or persist the config in ~/.aider.conf.yml:

openai-api-base: http://localhost:3080/v1
model: openai/claude-sonnet-4-5

# Then set the required env var:
export OPENAI_API_KEY=unused

§9

OpenCode · OpenCode · terminal AI assistant

Terminal AI assistant. Set provider.anthropic.options.baseURL in ~/.opencode/opencode.json.

Vendor
OpenCode
Auth
API key
Config
opencode.json
OpenAI compat
no
Verified
yes
~/.opencode/opencode.json
{
  "provider": {
    "anthropic": {
      "options": {
        "baseURL": "http://localhost:3080"
      }
    }
  }
}

§10

OpenClaw · OpenClaw · messaging channel framework

Messaging channel AI (WhatsApp / Telegram / Discord). Set models.providers.anthropic.baseUrl.

Vendor
OpenClaw
Auth
API key
Config
openclaw.json
OpenAI compat
no
Verified
yes
~/.openclaw/openclaw.json
{
  "models": {
    "providers": {
      "anthropic": {
        "baseUrl": "http://localhost:3080"
      }
    }
  }
}

§11

Codex CLI · OpenAI · auto configured

OpenAI's CLI for coding. Auto configured. thedistillery start injects OPENAI_BASE_URL into your shell profile and points it at the /openai/v1 passthrough.

Vendor
OpenAI
Auth
API key required
Config
shell profile
OpenAI compat
yes
Verified
yes

Codex ChatGPT login uses chatgpt.com websockets and bypasses OPENAI_BASE_URL. Use codex login --with-api-key for proxy capture.

bash
npm install -g thedistillery
thedistillery start
codex
Manual fallback (if auto-injection fails)
export OPENAI_BASE_URL=http://127.0.0.1:3080/openai/v1
codex

§12

Gemini CLI · Google · auto configured

Google's gemini CLI. Auto configured. thedistillery start injects GOOGLE_GEMINI_BASE_URL into your shell profile.

Vendor
Google
Auth
API key
Config
shell profile
OpenAI compat
no
Verified
yes
bash
npm install -g thedistillery
thedistillery start
gemini --sandbox=false

NoteGemini CLI runs sandboxed by default and the sandbox does not propagate host env vars — GOOGLE_GEMINI_BASE_URL never reaches the model and your requests silently bypass the proxy. Always run with --sandbox=false. Full explanation: /docs/gemini-cli-sandbox/.

Manual fallback (if auto-injection fails)
export GOOGLE_GEMINI_BASE_URL=http://127.0.0.1:3080/gemini
gemini --sandbox=false

§13

Not yet supported

These tools lack a user configurable endpoint override or require an adapter we haven't shipped yet.

Plandex
Requires an OpenAI compatible adapter pattern we haven't shipped yet.
GitHub Copilot
Uses GitHub's backend; cannot be pointed at a local proxy.

Looking at cloud managed alternatives instead? See how The Distillery compares to Edgee. Local proxy vs cloud managed framing.