Distill / Portkey
Portkey manages your AI requests. Distill optimizes what happens inside them.
Portkey is an edge AI gateway managing API keys, rate limits, virtual keys, and request-level load balancing. Distill is designed to sit behind Portkey inside your VPC (compatibility to be confirmed): it is meant to decompose multi-step tasks, routes each sub-step to the cheapest model tier that passes your quality bar, and distils reviewer corrections into reusable workflow recipes.
Last updated 25 Oct 2026 · By Distill
Better together: Portkey at the edge, Distill inside your VPC.
Edge Layer · Portkey Gateway
VPC Layer · Distill Delegation Engine
Architecture topology. Illustrative Designed to connect behind a gateway with one upstream config change (to be confirmed).
Side-by-side technical comparison.
| Capability | Portkey Gateway | Distill Delegation |
|---|---|---|
| Primary Focus | API Governance & Edge Observability | Step-Level Cost & Rework Reduction |
| Routing Unit | Per-Request (picks 1 model for prompt) | Per-Substep (mixes tiers within task) |
| Deployment Model | See Portkey's documentation | Designed to run inside the customer VPC (to confirm) |
| Quality Feedback | See Portkey's documentation | Distilled DAG recipes from reviewer diffs |
| Handling Failures | See Portkey's documentation | Designed to escalate a failed step to a higher tier |
| Commercial Model | See Portkey's pricing page | Gainshare (paid only from savings) |
Portkey is a trademark of Portkey AI. This compares approaches only; we have not benchmarked Portkey. See Portkey's documentation for its current features and pricing.
Gateways log request-level data. Distill aims to cut rework hours.
What a gateway log shows
A gateway log records request-level data such as tokens and latency. Staff edit time only appears if it is fed back in, which is the part Distill aims to capture.
Recipe Distillation
Distill captures the differences between accepted runs and manual corrections, synthesizing concrete validation gates so work succeeds on pass 1.
Compound Economics
Fewer attempts would cut both token use and human review time. How much is not known yet: the pilot measures cost per accepted task on your work.
Layout only: no benchmark has been run, and the sample figures were removed. Pilot: to measure
Questions buyers ask before they book.
Do I replace Portkey with Distill?
No. Distill is designed to sit behind a gateway such as Portkey; compatibility is to be confirmed. You would keep your gateway for what it does today and point its upstream at Distill.
How does step-level delegation differ from a gateway?
A gateway handles each request as one unit: keys, rate limits, routing and logging. Distill's approach is to split a task into steps, give each step its own model tier, and escalate a failed step after a check. These are different layers, and Distill is designed to sit behind a gateway.
How do the pricing models differ?
See Portkey's pricing page for its pricing. Distill's approach is gainshare: you pay a share of measured savings against a baseline on your own evaluation tasks. No measured savings, no fee; the baseline, measurement method and auditor are agreed in the pilot.
See your own numbers in about 2 weeks, free.
A free audit maps where your AI spend and rework go and sizes the savings on your data. No measured savings, no fee; the baseline, measurement method and auditor are agreed in the pilot.