Skip to content
The Distillery
Docs / Clients / Zed
SETUP · zedverified

~/distillery setup → zed

Zed's AI settings expose an API base URL field — point it at The Distillery to intercept all Claude requests.

vendorAnthropic
authAPI key
methodconfig file
portlocalhost:3080

Overview

Zed is a high-performance collaborative code editor with built-in AI assistant support. Zed supports native Anthropic base URL configuration via the `language_models.anthropic.api_url` key in `settings.json`, no adapter needed. Once set, Zed's AI assistant routes all Claude requests through The Distillery.

Prerequisites

You have The Distillery installed and running locally on port 3080. Zed 0.150 or newer is required with the `anthropic` language model configured and an API key set.

$ install

step 01 / 03

Install Zed from the official site or via Homebrew:

macOS · Linux
brew install --cask zed
Windows
# Download from https://zed.dev/download (Windows preview build)

$ configure

step 02 / 03

Open Zed settings.json via the command palette: `Cmd+,` (macOS) or `Ctrl+,` (Linux/Windows). Zed stores settings at:

Add or merge the following into settings.json. Save the file. Zed will reload settings automatically, no restart required.

{
  "language_models": {
    "anthropic": {
      "api_url": "http://localhost:3080",
      "version": "1"
    }
  }
}
macOS · Linux
~/.config/zed/settings.json
Windows
%USERPROFILE%\AppData\Roaming\Zed\settings.json

$ verify

step 03 / 03
01Open the Zed AI assistant panel (`Cmd+?` on macOS) and send any prompt. Then run:
thedistillery stats
$ comparing tools

Evaluating other Claude Code cost-reduction approaches alongside Zed? See how The Distillery compares to Claude Code Router (model-routing approach), Compresr (YC W26), or browse alternatives to Claude Code Router for the full landscape.

Pricing breakdown: thedistillery.com/pricing.