Three ways to build the layer
OpenRouter is a marketplace: you buy credits and reach several hundred models from many providers with one key. Portkey is an open-source gateway that can be run yourself or used as a managed service, with a focus on routing, observability and governance; it now presents itself as Prisma AIRS AI Gateway from Palo Alto Networks. ModelHarbour is a gateway for companies that keep their own provider contracts and want caps, logs and an EU mode on top. What a gateway is in general is described in what an AI gateway is.
Who pays the provider
With OpenRouter you buy credits and pay the providers' prices through OpenRouter, which takes a fee on credit purchases; it also supports your own keys, free up to a monthly volume and with a fee above that. Portkey's gateway passes calls on with your own provider keys and is paid as a subscription for the managed service, or free when you run the open-source version. With ModelHarbour you always use your own keys and pay the provider directly; ModelHarbour resells no tokens. Choosing between the models is covered in AI gateway for business.
Where data is processed
OpenRouter offers EU processing on its Business plan, where prompts and answers are handled in the EU, EEA, the UK or Switzerland for a subset of the models, while account and billing data may be processed in the USA. Portkey's documentation describes a managed service on edge workers and, for enterprise customers, a hybrid setup with the gateway in your own cloud; we found no EU region stated for the managed service. ModelHarbour runs in Paris, and projects in EU mode can only use EU endpoints.
Logging and stored prompts
OpenRouter does not log prompts and answers by default, with an opt-in that gives a small discount. Portkey logs requests in its managed plans, kept for a few days on the free plan, 30 days on the paid plan and as agreed for enterprise customers. ModelHarbour stores time, model, tokens, latency and cost for every call, and prompts and answers only if you switch it on, then for at most 30 days.
Spending caps and control
OpenRouter has credit caps per API key and budgets on its paid plans, with workspaces for separating teams. Portkey has budget limits and rate limits on requests or tokens, per hour, day or minute. ModelHarbour has budget caps per project and per customer subproject, rate limits per key and alerts before a cap is reached, together with the limit you set at the provider.
Routing, caching and self-hosting
OpenRouter falls back automatically to another provider when one fails and has prompt caching on its paid plans. Portkey has the widest set of routing rules, with fallbacks, load balancing, conditional routing, retries and a semantic cache on its paid plans, and it is the only one of the three that can be run yourself, under the MIT licence. ModelHarbour has model aliases, fallback chains and a response cache, and is offered only as a managed service in the EU.
Which fits when
OpenRouter suits the person who wants to try many models quickly with one account and one invoice. Portkey suits a team that wants to run the gateway itself or needs advanced routing and governance in a large organisation. ModelHarbour suits a European company that wants to keep its own contracts with the providers, keep data in the EU and set caps per project and customer. More about our gateway is on the ModelHarbour page.
Sources
OpenRouter: openrouter.ai/docs/faq, openrouter.ai/pricing, openrouter.ai/docs/use-cases/byok, openrouter.ai/privacy and openrouter.ai/business/eu. Portkey: portkey.ai/docs, portkey.ai/docs/product/ai-gateway, portkey.ai/docs/product/product-feature-comparison and github.com/Portkey-AI/gateway. ModelHarbour: modelharbour.com. All read on 30 November 2026. The services change quickly, so check their own pages before deciding.