~/distillery setup → zed
Zed's AI settings expose an API base URL field — point it at The Distillery to intercept all Claude requests.
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 / 03Install Zed from the official site or via Homebrew:
brew install --cask zed# Download from https://zed.dev/download (Windows preview build)$ configure
step 02 / 03Open 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"
}
}
}~/.config/zed/settings.json%USERPROFILE%\AppData\Roaming\Zed\settings.json$ verify
step 03 / 03thedistillery statsEvaluating 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.