llm-d Router: Intelligent Orchestration for Multi-Phase LLM Inference
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
The `llm-d-router` is a sophisticated Go service designed as an intelligent entry point for large language model (LLM) inference requests. It orchestrates complex, multi-phase LLM inference pipelines across specialized worker pools, routing requests through an Inference Gateway to disaggregated vLLM workers. By exposing OpenAI-compatible APIs, it simplifies integration and leverages Kubernetes for scalable, efficient deployments.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
The llm-d-router is a sophisticated Go service that serves as an intelligent entry point for large language model (LLM) inference requests. It specializes in orchestrating multi-phase LLM inference pipelines, such as Encode, Prefill, and Decode, across specialized worker pools. By exposing OpenAI-compatible APIs, it simplifies integration for developers, routing requests through an Inference Gateway to disaggregated vLLM workers. This project is built to leverage Kubernetes for scalable and efficient deployment of LLM inference infrastructure.
Why Use and Key Benefits
llm-d-router offers several compelling advantages for managing LLM inference:
- Intelligent Orchestration: It efficiently manages complex LLM inference workflows, coordinating different stages and specialized worker types to optimize performance and resource utilization.
- OpenAI API Compatibility: Provides familiar API endpoints, including
/v1/chat/completionsand/v1/completions, ensuring seamless integration with existing LLM applications and tools. - Scalability and Disaggregation: Designed for Kubernetes environments, it facilitates highly scalable and efficient inference by routing requests to disaggregated vLLM workers.
- Flexible Configuration: Offers extensive configuration options via YAML files, allowing for deep customization of pipeline behavior, environment overrides, and connector selection.
- Robust Testing Framework: Includes comprehensive unit and end-to-end tests, supporting various Endpoint Picker (EPP) topologies to ensure reliability and performance in diverse deployment scenarios.
Installation
To get started with llm-d-router, follow these quick steps:
# Build the coordinator binary
make -f Makefile.coord.mk build
# Run with the default configuration
make -f Makefile.coord.mk run
# Run with a custom configuration file
./bin/coordinator --config path/to/config.yaml
The listener serves HTTPS on port 8080 by default. Refer to the official documentation for TLS configuration.
Examples
API Endpoints
The llm-d-router exposes several API endpoints, compatible with OpenAI's API:
POST /v1/chat/completions: OpenAI Chat Completions APIPOST /v1/completions: OpenAI Completions APIGET /healthz: Health check endpointGET /readyz: Readiness check endpoint
Both completion endpoints support "stream": true for Server-Sent Events streaming.
Docker Usage
You can easily build and run llm-d-router using Docker:
# Build the Docker image
docker build -t coordinator -f Dockerfile.coordinator .
# Run the Docker container, mapping port 8080 and mounting configuration
docker run -p 8080:8080 -v $(pwd)/config/coordinator:/config/coordinator coordinator
Links
Related repositories
Similar repositories that may be relevant next.

dcc-mcp-blender: AI-Driven 3D Workflows with an Embedded MCP Server
September 24, 2026
dcc-mcp-blender is a powerful Blender addon that integrates an embedded Streamable HTTP MCP server directly into Blender. This allows any MCP-compatible AI client to seamlessly control and automate your 3D modeling, animation, and rendering workflows. It offers over 200 pre-built tools and an extensible skill system for robust production environments.
Guaardvark: Your Self-Hosted AI Studio for Agents, Media, and Code
September 21, 2026
Guaardvark is a comprehensive, self-hosted AI studio designed for local execution of advanced AI tasks. It integrates coding agents, media generation (video, image, music, voice), and robust RAG capabilities, all running on a single GPU. This platform prioritizes privacy and user control, enabling a full AI workstation experience on your own hardware.

APort Agent Guardrails: Deterministic Pre-Action Authorization for AI Agents
September 19, 2026
APort Agent Guardrails provides deterministic pre-action authorization for AI agents, running security checks before any tool execution. This crucial mechanism prevents prompt injection from bypassing policy, ensuring robust and auditable protection for AI-driven operations.

aport-spec: The Open Agent Passport (OAP) Specification for AI Agent Trust
September 18, 2026
The aport-spec repository introduces the Open Agent Passport (OAP) specification, a critical framework for establishing trust in AI agents. It defines a lightweight, cryptographically verifiable credential, enabling real-time, pre-action authorization for AI agents across various platforms. OAP provides the essential runtime trust layer for secure and scalable agentic commerce.
Source repository
Open the original repository on GitHub.