# vLLM Semantic Router (/docs/overview/comparison/vllm-semantic-router)

> For AI agents, the [documentation index](https://bitrouter-docs-staging.up.railway.app/llms.txt) lists all pages. Append .md to a documentation URL to read its Markdown.

[vLLM Semantic Router](https://github.com/vllm-project/semantic-router) is an Apache-2.0 decision layer that selects or combines models across configured backends. It overlaps directly with BitRouter in programmable model routing. Compare the policy and runtime contracts your application needs.

## Key differences \[#key-differences]

| Question                            | vLLM Semantic Router                                    | BitRouter                                                                                                   |
| ----------------------------------- | ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| How is behavior expressed?          | Entrypoints and recipes with signals and route behavior | Model definitions, policy-bound presets, and versioned policy artifacts                                     |
| What can a route do?                | Select a model or compose a bounded model workflow      | Select eligible endpoints, apply fallback, and execute supported requests                                   |
| What evidence supports improvement? | Routing metadata, feedback, replay, and evaluation      | Settled receipts, objective result admission, and frozen evaluation snapshots                               |
| Who owns task history?              | The external harness owns its agent loop and task state | External harnesses retain ownership; the native managed runtime can own retained evidence and context views |

The project's [architecture introduction](https://github.com/vllm-project/semantic-router/blob/main/website/docs/intro.md) describes its signals, route behaviors, standalone frontend, optional Envoy integration, and separate model runtime. External inference platforms serve its chat backends. It also exposes System One judgments; decision-model access alone is therefore not a distinguishing feature.

BitRouter's [Strategies](https://bitrouter-docs-staging.up.railway.app/docs/routing/strategies) explains candidate eligibility and model selection. [Auto Router](https://bitrouter-docs-staging.up.railway.app/docs/routing/auto-router) covers policy-bound model selection and evidence, while [Context Routing](https://bitrouter-docs-staging.up.railway.app/docs/routing/context-routing) selects evidence supplied to the next call. Native context views depend on runtime/build support and require ownership of the retained evidence.

## Choose BitRouter when \[#choose-bitrouter-when]

* You want the BitRouter daemon and CLI as the operating surface for model sources, routes, and request receipts.
* You want to manage a preset-bound model policy and explicitly review candidate publication.
* You need the native managed runtime's retained-evidence operations and can validate that runtime for your task.

The [evaluation guide](https://bitrouter-docs-staging.up.railway.app/docs/routing/workload-optimization#evaluations) describes which results can enter BitRouter's evidence store. A classification result, a routing log, and an objective task outcome are different kinds of evidence.

## Choose vLLM Semantic Router when \[#choose-vllm-semantic-router-when]

* You want its recipe and signal system for model selection or bounded multi-model workflows.
* Its separation of frontend, model runtime, and inference backends fits your deployment.
* Your harness should keep task state while a programmable layer controls each model call.

Both projects offer open-source routing. Compare the components you will operate and the policy behavior you can reproduce on your workload. This page makes no latency, quality, or cost ranking between them.

## Plan a migration \[#plan-a-migration]

1. Inventory the current entrypoints, signals, recipes, and route behaviors. Record which ones are required by the application.
2. Connect the same usable backends through [BYOK & Subscriptions](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/byok-subscriptions) or [Local Models](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/local-models), then define BitRouter [Virtual Models](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/virtual-models).
3. Recreate model-selection and fallback behavior using BitRouter's documented controls. Recipe actions and bounded multi-model workflows need an explicit replacement in the application or runtime; changing the base URL does not translate them.
4. Keep the harness responsible for its history unless you explicitly adopt a native task runtime. Test tools, continuation, and context handling in that ownership model.
5. Replay a fixed workload and compare task outcomes, full execution cost, latency, and failure recovery before switching traffic.

Use [Responses (default)](https://bitrouter-docs-staging.up.railway.app/docs/usage/responses-api) or [Chat Completions / Messages](https://bitrouter-docs-staging.up.railway.app/docs/usage/responses-api#chat-completions) for the destination client contract.