Distill
Free audit →
Menu

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

Scroll

Better together: Portkey at the edge, Distill inside your VPC.

Edge Layer · Portkey Gateway

App Client Portkey ProxyKeys, rate limits, retries, logs UpstreamSingle target URL

VPC Layer · Distill Delegation Engine

Task DAG Distill EngineBreaks complexity, sets tier per step SmallMidFrontierOptimal tier per step
1ExtractSmall 2EvaluateMid 3VerifyMid 4FormatSmall

Architecture topology. Illustrative Designed to connect behind a gateway with one upstream config change (to be confirmed).

Side-by-side technical comparison.

Comparing edge gateway capabilities with in-VPC workflow delegation.
CapabilityPortkey GatewayDistill Delegation
Primary FocusAPI Governance & Edge ObservabilityStep-Level Cost & Rework Reduction
Routing UnitPer-Request (picks 1 model for prompt)Per-Substep (mixes tiers within task)
Deployment ModelSee Portkey's documentationDesigned to run inside the customer VPC (to confirm)
Quality FeedbackSee Portkey's documentationDistilled DAG recipes from reviewer diffs
Handling FailuresSee Portkey's documentationDesigned to escalate a failed step to a higher tier
Commercial ModelSee Portkey's pricing pageGainshare (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.

Attempt #1: 1.2k tokensAttempt #2: 1.5k tokens

Recipe Distillation

Distill captures the differences between accepted runs and manual corrections, synthesizing concrete validation gates so work succeeds on pass 1.

Pass rate: to measureAttempts: to measure

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.

Review time: to measureCost per task: to measure

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.