02 / LLM infra · Personal★ Featured
Distiller
Swap one URL. Your repeated LLM calls quietly move to a small model you own.
- FastAPI
- LiteLLM
- LoRA
- Ollama
03 / LLM infrastructure
Change one line, and repeated LLM calls slowly move to a small model you own.
Distiller / LLM infrastructure / 2026
02 / Overview
Distiller sits between an application and its LLM provider. A team adopts it by changing one line — the base URL. It logs the calls that keep repeating, fine-tunes small open models with LoRA to copy the large model on exactly those tasks, tests them quietly, and only then starts routing to them.
Distiller / how the parts connect
03 / The problem
A lot of production LLM traffic is repetitive: the same extraction, the same classification, the same formatting. A much smaller model could handle it — but switching safely means collecting data, training, evaluating and routing, which most teams never get round to.
04 / How it works
An OpenAI-compatible endpoint; adoption is a one-line change.
Record repeated calls and the large model's answers.
Train small open models with LoRA to copy those answers.
Run the small model alongside the big one and compare.
Send confident requests to the small model, fall back otherwise.
05 / Key decisions
Decision 01
Be OpenAI-compatible.
Adoption is a one-line base-URL change.
Decision 02
Prove it in shadow mode first.
Nothing is routed until the small model has matched the large one on real traffic.
Decision 03
Fall back to the large model.
Quality never drops below what the team had before.
06 / The flow
What it looks like from the side of the person using it — the path through Distiller in 4 steps.
Distiller / user flow
07 / Outcome