Start with the shape of the integration, because it tells you almost everything. A model router — Not Diamond is the clean example — takes a prompt and a candidate list you author, predicts which model will answer best, and returns a recommendation. Then you call the provider, with your key. Its own setup documentation asks for a key for every provider you route between, in every environment you run. The call, the credentials, the ceilings, the log: yours.

A managed gateway inverts all of that by sitting in the request path. It executes the call. Provider credentials are managed behind one gateway key you can scope per customer, service, or agent run — mint and revoke without a deploy. Spend ceilings are enforced at org, team, user and key scope before the request goes out. Guardrails run on the way in and out. When a provider is down, fallback is a property of the path, not retry logic in every caller. And every request leaves one log row: model, variant, key, team, cost, latency, outcome.

The routing decision itself

Here's where people expect the gateway to claim a smarter router. It doesn't have one. What it has is a deterministic split: pin two candidates, assign variants by hashing a stable identifier so the same user lands on the same variant every time, and read cost against quality per variant from the same source as the bill. A cost header rides on every response — and when the cost can't be determined, the header is absent rather than zero, which matters more than it sounds.

The published case for learned routing is real — RouteLLM, Hybrid LLM, FrugalGPT — but every result in that literature is a number from an evaluation harness on a named dataset. Whether it holds on your traffic needs a stable assignment, a per-variant cost, and a quality signal you chose. That apparatus is the deterministic split. The trade, stated honestly: a trained router adapts per query and a fixed split does not; a fixed split is reproducible three weeks later and a trained router is not.

What the router genuinely does better

Our comparison says this itself, and it's right: the trained classifier, including one trained on your own traffic (we ship none and plan none). Automatic prompt optimization as a first-class feature — prompt management is a different thing. Pricing that is genuinely narrow. And no catalog constraint: since you bring the keys, a router can reach any model you can, including self-hosted ones. If your candidate set includes a model outside the gateway catalog, that's dispositive.

Reproducing a decision

The scenario that actually sends teams shopping: a customer says answers got worse sometime last month. With a recommendation layer, the choice lives in the router's session records and the call in your logs, if you logged it — and the join key had to be recorded before the incident. With the gateway, all four answers (which model, when the mix changed, what it cost, what else changed) come from the same request log. The component that made the decision should be the component that recorded it.

Switching is mechanically small; the learned policy is what doesn't carry over — it's encoded in a model you can't export into routing rules, so you re-derive it as a readable split, ideally run alongside the router for a fortnight first. And if none of the operational gaps hurt yet, keep the router. The two can also coexist: router recommends, gateway executes.

Full comparison: https://nrouter.ai/blog/product/notdiamond-alternative