Skip to content
The Distillery

Looking for a Morph Compact alternative?

The Distillery is a local proxy that cuts Claude Code costs 30-60% (depending on session patterns) with zero workflow change.

Why developers look for alternatives

Morph Compact targets server-side API distillation for backend applications. If your use case is local Claude Code development, you need a tool designed for that workflow.

The Distillery intercepts Claude Code API requests via ANTHROPIC_BASE_URL, deduplicates context, and distils tokens before they reach Anthropic. It runs on your machine with no cloud endpoint required.

How The Distillery works

Install globally with npm install -g thedistillery, set one env var, and keep coding. The proxy runs in the background and reduces tokens automatically.

A multi-strategy distillation pipeline handles log output, diffs, search results, JSON arrays, and code blocks. Each strategy targets a specific pattern Claude Code produces.

Measured savings

Real-world savings range from 30-60% depending on session patterns; the conservative deterministic floor is 20% (reproducible via npx tsx scripts/benchmark.ts).

You only pay when the proxy saves you money. Solo plan: 15% of savings above €20/mo.

Want a head-to-head? See the full side-by-side comparison with Morph Compact.