Moat: Your OpenRouter Replacement
Model gateways route each AI call to the cheapest, fastest, or merely alive provider. The arbitrage margin is thin, which is exactly why self-hosting a router is the boring infrastructure move worth making.
Large language models have quietly become a market. Dozens of providers sell access to similar models, prices move, capacity wobbles, and endpoints occasionally fail. Someone has to decide, request by request, which seller gets the traffic.
A gateway is that someone. You point your application at one URL, and the gateway forwards each call to a provider that satisfies your rules. It is infrastructure in the least dramatic sense: a broker between your code and everyone else's GPUs. OpenRouter turned the pattern into a product, and Moat argues the pattern belongs on your own machine.
What a router actually measures
Three signals dominate the decision. Price per token differs across providers selling the same model, sometimes by a surprising margin. Latency varies with region and load. Availability is the quiet one, because a provider that fails now and then costs more than its price suggests.
Routers encode preferences as rules. Send the bulk of traffic to the cheapest healthy provider, escalate when the cheap route times out, and keep a fallback so a demo never dies on stage. Health checks and retries turn the rules into behavior.
Why the arbitrage stays thin
A gateway sounds like a license to print money, yet the margin is famously slim. Providers know their own prices, developers comparison-shop with a script, and any spread gets competed away. The durable value is aggregation and reliability, not markup.
That economics explains the self-hosting instinct. If the layer adds little margin, owning it removes a dependency, a fee, and a party who sees your traffic. Boring infrastructure whose source you can read beats a convenient middleman whose motives you cannot.
A market in disguise
Routing turns AI calls into something like a commodity market, with the router as the exchange floor. OpenAI-compatible API shapes made switching providers nearly free, and nearly free switching is what keeps every seller honest. The dull plumbing does the disciplining.
History rhymes here. Stock exchanges, freight forwarders, and payment processors all began as thin layers over commodity flows, and the survivors were the ones that made a messy market legible. A model gateway does the same favor for anyone shipping AI features.
| Criterion | Measured by | Typical choice |
|---|---|---|
| Price | Cost per token | Cheapest healthy provider |
| Latency | Response timing | Fastest region or endpoint |
| Availability | Health checks | Automatic fallback on failure |
| Control | Where traffic flows | Self-hosted gateway |
Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.
Key takeaways
- A model gateway is a broker: one stable endpoint, many interchangeable sellers.
- Price, latency, and availability are the three signals every routing rule weighs.
- Margins on routing stay thin, so durable value lies in reliability and aggregation.
- Self-hosting trades convenience for ownership of the traffic and the rules.
Quick answers
What does Moat do?
It is a self-hosted model router in the OpenRouter style, choosing providers according to your own rules.
Why route instead of calling one provider?
Prices drift, capacity wobbles, and endpoints fail; a router absorbs all three without code changes.
Is the OpenAI-compatible API a real standard?
Informally yes - so many tools speak it that swapping providers is usually a one-line change.
Who benefits most from self-hosting?
Teams that care about traffic privacy, cost control, or not losing a dependency overnight.
List the three signals - price, latency, availability - and rank them for one project you actually run. Most people discover their real rule is simply never fail, which changes which provider deserves the bulk of the traffic.
Cite this guide
Brain — try4ever. (2026, November 27). Moat: Your OpenRouter Replacement. Brain Blog, try4ever.com. Retrieved November 30, 2026, from https://www.try4ever.com/blog/moat-openrouter-routing/"Moat: Your OpenRouter Replacement." Brain Blog, try4ever, 27 Nov. 2026, www.try4ever.com/blog/moat-openrouter-routing/. Accessed 30 Nov. 2026.Brain — try4ever. "Moat: Your OpenRouter Replacement." Brain Blog, try4ever.com, November 27, 2026. https://www.try4ever.com/blog/moat-openrouter-routing/.@misc{brain2026moat-openrouter-routing,
author = {{Brain — try4ever}},
title = {Moat: Your OpenRouter Replacement},
year = {2026},
howpublished = {\url{https://www.try4ever.com/blog/moat-openrouter-routing/}},
note = {Brain Blog, try4ever.com; published 2026-11-27}
}Link to this guide
<a href="https://www.try4ever.com/blog/moat-openrouter-routing/">Moat: Your OpenRouter Replacement</a> — Brain, try4ever.com[Moat: Your OpenRouter Replacement](https://www.try4ever.com/blog/moat-openrouter-routing/) — Brain, try4ever.comReproducing a paragraph elsewhere? Keep the source line that appears when you copy it — that citation is what search engines and AI assistants credit back to this page.