# NVIDIA Dynamo

> Datacenter-scale inference orchestration for vLLM, SGLang, and TensorRT-LLM

- Category: Models & Inference / Serving & Deployment
- Language: Rust
- Licence: Apache-2.0
- Repository: https://github.com/ai-dynamo/dynamo
- Canonical page: https://ai-tldr.dev/tools/nvidia-dynamo/

## In short

NVIDIA Dynamo is an open-source inference stack for serving large language and multimodal models across many GPUs and nodes. It sits above existing inference engines rather than replacing them: it turns vLLM, SGLang, or TensorRT-LLM into a coordinated multi-node system. It sits in the Serving & Deployment category of the Models & Inference tools and is open-source, written in Rust and licensed Apache-2.0.

## Overview

NVIDIA Dynamo is an open-source inference stack for serving large language and multimodal models across many GPUs and nodes. It sits above existing inference engines rather than replacing them: it turns vLLM, SGLang, or TensorRT-LLM into a coordinated multi-node system. The core is written in Rust for performance, with a Python layer for extensibility.

It is built for teams that already run a single engine well but need to scale out. Dynamo adds disaggregated serving (separating the prefill and decode phases onto independently scalable GPU pools), KV-aware routing to avoid recomputing prefill, multi-tier KV caching, and an autoscaler that aims to meet latency targets at lower total cost.

As a high-throughput serving layer, Dynamo targets datacenter and Kubernetes deployments. If you are running a single model on a single GPU, the project notes that your inference engine alone is usually enough; Dynamo earns its keep once coordination across GPUs becomes the bottleneck.

## What it does

- Disaggregated prefill/decode: separates the two phases into independently scalable GPU pools so each runs on hardware tuned for its workload
- KV-aware routing: routes requests by worker load and KV cache overlap to skip redundant prefill computation
- KV Block Manager (KVBM): offloads KV cache across GPU, CPU, SSD, and remote storage to extend effective context length
- SLA-based Planner: an autoscaler that profiles workloads and right-sizes GPU pools to hit latency targets at lower TCO
- Works as an orchestration layer over SGLang, TensorRT-LLM, and vLLM rather than replacing them
- Fault tolerance with health checks and in-flight request migration so failed workers don't drop user requests

## Getting started

Install Dynamo with the extra for your chosen backend, then run the OpenAI-compatible frontend alongside a worker. This example uses the SGLang backend with a small model.

1. Install Dynamo

   Install the package with the backend extra you want. Use [sglang] or [vllm]; for TensorRT-LLM follow the repo's pip instructions with the NVIDIA extra index.

```bash
uv pip install --prerelease=allow "ai-dynamo[sglang]"
```

2. Start the frontend and a worker

   Run the HTTP frontend, then start a backend worker pointing at a model. Both use the file discovery backend for a local single-host run.

```bash
python3 -m dynamo.frontend --http-port 8000 --discovery-backend file
python3 -m dynamo.sglang --model-path Qwen/Qwen3-0.6B --discovery-backend file
```

3. Send a request

   Query the OpenAI-compatible chat completions endpoint to confirm the model is serving.

```bash
curl localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
  "model": "Qwen/Qwen3-0.6B",
  "messages": [{"role": "user", "content": "Hello!"}],
  "max_tokens": 100
}'
```

## When to use it

- Serving a large LLM across multiple GPUs or nodes that need to be coordinated as one system
- Running disaggregated serving to scale prefill and decode independently for better GPU utilization
- Using KV-aware routing to cut time to first token on workloads with overlapping prompts
- Autoscaling GPU pools on Kubernetes to meet latency SLAs while controlling total cost of ownership
