Skip to content

Build1 publisher3 min readPublished

Who owns the GPU fleet decides whether LLM routing is a library or a gateway

LiteLLM works as a drop-in OpenAI replacement for teams running their own clusters, while managed gateways suit teams renting inference. OpenRouter's reported $113M round at a $1.3B valuation funds the rented side.

The Engineer · Build desk

Illustration accompanying Who owns the GPU fleet decides whether LLM routing is a library or a gateway

What happened

  • A dev.to comparison of LLM routing options argues the choice follows who controls the inference infrastructure. The raw number of models a router can reach is not the deciding factor.
  • LiteLLM documents support for 100+ providers in its GitHub README and works as a drop-in replacement for the OpenAI SDKs. The post treats it as the option for mixed self-hosted and cloud fleets.
  • OpenRouter raised $113M in a Series B that put its valuation at $1.3B, according to media reports cited in the comparison.
  • The comparison scores five dimensions: provider support, deployment model, observability, pricing structure and agent readiness.

Compiled by The EngineerSomething wrong?How this is made

Why it matters

  • cost The library's price lands on the platform team as server bills, secrets management and developer hours, while a hosted gateway's usage margin lands on a per-token line that someone in finance signs off.
  • constraint Cloudflare's gateway logic is not portable, so the exit cost of a managed gateway is paid at migration, long after the adoption decision looked cheap.
  • exposure Any team routing regulated traffic through a client that will not name its upstream providers cannot complete a data residency plan for that traffic.
  • decision Because the valuation is secondhand in this account, a team weighing OpenRouter has to decide on its usage margin and on whether it names its upstream providers.

A drop-in replacement for the OpenAI SDKs means the call shape in your application stays where it is while the library translates to whatever backend answers [2]. The dev.to comparison is plain about what comes with that: you manage updates, secrets and scaling, and it is "not a set-and-forget service" [3]. LiteLLM is free to download, and the post counts the real price as server costs and developer hours [20].

On the rented side, the gateway sits between the application and the vendor APIs. Portkey and Cloudflare AI Gateway are the post's examples, picked for observability and edge performance [6]. Vercel AI Gateway routes requests through serverless infrastructure and is aimed at frontend-heavy applications [7]. Both managed options are tied to their own ecosystems, and leaving Cloudflare means rebuilding your gateway logic [8].

OpenRouter gives one API key for many models, so you can test a new model without opening a separate vendor account [10]. It charges a margin on usage. That margin puts the total above the cost of calling the provider directly [12]. It also does not expose underlying provider names in its public API the way dedicated gateways do [11], so if you have to know which provider served a given request, it will not tell you [11].

The $113M Series B at a $1.3B valuation arrives secondhand. The comparison attributes both figures to media reports and leaves out the investors and the date of the round [28]. Capital landing on the managed side leaves the deployment question where it was. If the weights run on GPUs you operate, a hosted key does not reach them, and the post's answer for that case is a bridge that abstracts backend differences [5].

The free local-first client the post recommends lists 101 models and 36 routing aliases, both counts taken from the tool's own public API endpoint [14][15]. The aliases let you ask for "fastest" or "cheapest" instead of naming a model [15]. That is about one alias for every three models listed [25]. Four preset agent clients ship with it, handling tool calling and memory management [16]. It has no observability dashboards of the kind Portkey and Cloudflare provide [19], and no public API for custom integrations, so routing logic beyond the presets is not available to you [18]. A scorecard that opens by defining provider support as reach and then recommends a tool that does not list its providers has three of its five dimensions left to check [26].

What transfers here is the structural match, because all five of the scored dimensions describe the tool and none of them measures your traffic [27]. For a corporate data pipeline mixing internal and external models, the recommendation is LiteLLM [21]. For a consumer-facing chat app it points to Vercel AI Gateway to keep requests close to the user [23], and for audit trails without servers to run, Portkey [22].

What to watch

  • A primary filing or an investor statement naming the lead on OpenRouter's Series B would move the $1.3B figure from secondhand reporting to something a procurement review can use.
  • The residency objection to routing regulated traffic through OpenRouter weakens the day its public API starts returning upstream provider names.
  • If the free local-first client publishes which companies power its model endpoints, provider support becomes checkable and its score on the post's own five dimensions changes.
Loading claim ledger
Loading source directory links
Loading share composer
Loading topic controls
Loading related stories