Skip to content

The Distillery

Cut your input tokens before they reach the model.

The Distillery builds local token-optimization tools for AI coding workflows. Our proxy sits between your coding agent and the model API, deduplicates repeated input context, distils large tool outputs, and reports the overall input reduction across your sessions.

What We Build

The Distillery is a local proxy for developers using AI coding tools.

It is designed for teams and individuals who want lower model bills without changing how they work:

  • No prompt rewriting
  • No workflow changes
  • Local request optimization
  • Input-token reduction focused on real coding sessions
  • Usage reporting for sessions, savings, and team visibility

Main Project

The primary package is thedistillery.

npm install -g thedistillery
thedistillery auth login
thedistillery start

Then use your AI coding tool normally.

Supported Workflows

The Distillery works with Claude Code automatically and with other tools that can point at a custom Anthropic or OpenAI-compatible base URL.

Current focus:

  • Claude Code
  • Cline
  • Goose
  • Aider
  • Zed
  • Codex CLI
  • OpenAI-compatible agent tooling

Learn More

Security Model

Optimization runs locally on your machine. The hosted service receives usage metadata for account, billing, dashboard, alerts, and attribution features. It does not receive your code or prompts for optimization.

Repositories

Pinned repositories below are the best place to start.

Popular repositories Loading

  1. thedistillery thedistillery Public

    The Distillery. A Token Optimization Proxy

    TypeScript 42

  2. .github .github Public

    GitHub organization profile for The Distillery

Repositories

Showing 2 of 2 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…