AI Gateway vs LLM Router vs Model Marketplace: What Is the Difference? (2026)

Three names for three different jobs. What an AI gateway, an LLM router and a model marketplace each do, and how to choose one for your agents.

On this page
  1. The short answer
  2. What an AI gateway does
  3. What an LLM router does
  4. What a model marketplace does
  5. They overlap, and that is fine
  6. Questions to ask before sending production traffic
  7. Where Voight fits
  8. Checklist

"AI gateway", "LLM router" and "model marketplace" are often used as if they meant the same thing, and many products call themselves two of the three. They answer different questions, though:

  • An AI gateway answers: how do my requests to model providers get controlled, logged and limited?
  • An LLM router answers: which model should handle this request?
  • A model marketplace answers: where do I get many models, from whom, and how do I pay for them?

Knowing which question you are asking makes the choice much easier. This guide explains each one, where they overlap, and what to check before you send production traffic through any of them.

The short answer

AI gatewayLLM routerModel marketplace
Main jobControl and visibility over model trafficPick the model for each requestAccess to many models through one account
Who runs the modelsThe providers you already have accounts withWhoever serves the models it chooses betweenProviders the marketplace works with
Your accountsYou bring your own provider keysDepends on where it runsOne account and one balance
Typical featuresKeys, rate limits, budgets, caching, retries, logsRules or a classifier that choose a model by cost, quality or speedCatalog, prices per model, provider selection, fallbacks
Good fitYou already have provider contracts and need controlYou want to balance cost and quality across modelsYou want many models, especially open ones, without an account per provider

What an AI gateway does

An AI gateway is a proxy between your applications and the model providers you use. Every request goes through it, so it is the natural place for the controls you would want on any outbound dependency:

  • One endpoint, often OpenAI-compatible, in front of several providers.
  • Central management of provider keys, so apps never hold them.
  • Rate limits and budgets per team, app or key.
  • Caching of repeated requests.
  • Retries and fallback to another provider when one fails.
  • Logs of every request and response, with cost.
  • Guardrails such as redacting personal data before a prompt leaves.

A gateway does not give you models. You still need an account, credits or a contract with each provider behind it. Gateways come self-hosted, such as the open-source LiteLLM proxy, or managed, such as Cloudflare AI Gateway and Portkey.

What an LLM router does

An LLM router decides which model answers each request. The goal is usually cost: send easy requests to a small, cheap model and hard ones to a large model, without a human choosing each time.

  • Rule-based routers choose by task type, prompt length, user plan or a keyword.
  • Learned routers use a classifier that predicts whether a cheaper model will answer well enough. Research projects such as RouteLLM made this approach popular.

"Routing" also has a second meaning that causes confusion: choosing between providers of the same model, for price or availability, rather than between different models. A product that "routes" may do one, the other or both, so it is worth asking which.

A router can be a library inside your app, a feature of a gateway, or part of a marketplace.

What a model marketplace does

A model marketplace puts many models from many providers behind one API and one balance. You do not need an account with each provider, or hardware to run open models yourself. You pick a model; the marketplace sends the request to a provider that serves it and charges you per token from a prepaid balance. OpenRouter is the best-known example.

The convenience comes with a question that matters more than it seems: who actually serves your request? The same model name can be served by different providers with different weights or quantization, different context limits, different data retention and different reliability. In a marketplace, the provider is part of what you are buying.

They overlap, and that is fine

Most real products combine the three. Gateways add routing rules. Marketplaces include a gateway layer (keys, limits, logs) and route between providers of the same model. Some routers ship as hosted APIs that look like gateways. Instead of matching the label, decide what you need to own:

  • Your own provider contracts and credits: a gateway in front of them.
  • The choice of model per request: a router, often as a gateway feature.
  • Access to models you have no account for: a marketplace.

For coding agents (OpenCode, Cline, Aider, Codex CLI, Claude Code and others), one more requirement decides a lot: the endpoint must speak the API the agent expects, OpenAI-compatible or Anthropic-compatible, and tool calls must come back in a shape the agent can parse. Open models in particular often return malformed tool calls, so check how a service handles them before pointing an agent at it.

Questions to ask before sending production traffic

Whatever you choose, ask these before real users depend on it:

QuestionWhy it matters
Who serves the model, by name?You are trusting that operator with your prompts
Is it exactly the model you asked for?Weights, quantization and context length change quality
Does the provider have the right to serve it?Licences and some provider terms forbid reselling access
What happens to your data?Retention, logging and whether prompts are used for training
What happens when it fails?Whether fallbacks exist, to what, and whether you are told
How is it priced?Input, output, cache and reasoning tokens, and fallback prices
Is health public?A status per model shows problems before your users do
Can you set limits per key?One runaway agent should not empty the balance

If a service cannot answer the first three, you do not know where your requests go.

Where Voight fits

Voight is the verified marketplace for AI models. In the terms of this guide, it is a marketplace with gateway features:

  • One API, one balance. Open models from verified providers through one OpenAI- and Anthropic-compatible API. OpenCode, Cline, Kilo Code, Roo Code, Aider, Goose, Continue, Crush, Pi, Oh My Pi, Codex CLI and Claude Code have tested setup guides; any other app works by changing the base URL and the key.
  • Verified providers. Before a provider can serve models on Voight, it is checked for who runs it, where its models come from and whether it has the right to serve them. Each model is also checked every few minutes, and its status is public. Voight is the first provider; others join as they pass the same checks.
  • Gateway features. Requests can fall back to another source for the same model, request formats are translated for each model, and broken tool calls from open models are repaired before they reach your agent.
  • Pay per token. No subscription. Each model shows its price per million input and output tokens, every call shows its exact cost, and each key can have its own monthly spending limit.

The routing engine behind it, Voight Router, is open source under Apache 2.0 at github.com/Voightxyz/router. See Voight for the current catalog.

Checklist

  • Decide which question you are answering: control, model choice or access.
  • If you already have provider contracts, put a gateway in front of them.
  • If cost per request matters, check whether the product routes between models or only between providers.
  • In a marketplace, know who serves each model and whether they may serve it.
  • For coding agents, test tool calls on the exact model before relying on it.
  • Set a spending limit per key before an agent gets one.

See what your agents do. In one command.

Connect Claude Code, Codex or Cursor, or wrap your OpenAI and Anthropic clients. Traces show up in seconds.

npx -y @voightxyz/sdk setup