The orchestration stack
for AI infrastructure

dstack is a unified control plane for GPU provisioning and orchestration that works with any GPU cloud, Kubernetes, or on-prem clusters. It streamlines development, training, and inference, and is compatible with any hardware, open-source tools, and frameworks.

Finally, an orchestration stack that doesn’t suck.

One control plane for AI compute

Managing AI infrastructure requires first-class primitives for accelerator provisioning, workload scheduling, and observability across clouds, clusters, and open-source frameworks.

dstack unifies fleets, dev environments, tasks, services, volumes, and gateways in one control plane for AI workloads.

It’s built for containerized AI workloads with a simple CLI, UI, and API. No Kubernetes or Slurm hassle required.

Provision GPU fleets across clouds

dstack provisions GPU VMs directly through cloud APIs—no Kubernetes needed.

If you already have a Kubernetes cluster, dstack can manage it too.

Once a backend fleet is created, dstack will let you run dev environments, tasks, and services on this fleet.

Backends

Bring your own clusters

Have bare-metal servers or pre-provisioned VMs? Use SSH fleets to connect them to dstack.

Just provide SSH credentials and host addresses, and dstack creates an SSH fleet.

Once created, dstack will let you run dev environments, tasks, and services on this fleet.

SSH fleets

Launch GPU dev environments

If you need a remote development environment with a GPU, let dstack create you a dev environment.

If you plan to work with it yourself, you can access it using your desktop IDE such as VS Code, Cursor, and Windsurf. dstack apply prints both the IDE URL and SSH command.

Dev environments

Run training and batch jobs at scale

Run training or batch workloads on a single GPU, or scale to multi-GPU and multi-node clusters using simple task configurations. dstack automates cluster provisioning, resource allocation, and job scheduling.

During execution, dstack reports GPU utilization, memory usage, and GPU health metrics for each job.

Tasks

Deploy production inference services

With dstack, you can deploy models as secure, auto-scaling, OpenAI-compatible endpoints, integrating with top open-source serving frameworks such as SGLang, vLLM, TensorRT-LLM, or any other.

dstack enables Disaggregated Prefill/Decode and cache-aware routing, providing production-grade, optimized inference.

Services

FAQ

How does dstack differ from Slurm?

Slurm is a battle-tested system with decades of production use in HPC environments. dstack by contrast, is built for modern ML/AI workloads with cloud-native provisioning and a container-first architecture. While both support distributed training and batch jobs, dstack also natively supports development and production-grade inference.

See the migration guide for a detailed comparison.

How does dstack compare to Kubernetes?

Kubernetes is a general-purpose container orchestrator. dstack also orchestrates containers, but it provides a lightweight and streamlined interface that is purpose built for ML.

You declare dev environments, tasks, services, and fleets with simple configuration. dstack provisions GPUs, manages clusters via fleets with fine-grained controls, and optimizes cost and utilization, while keeping a simple UI and CLI.

If you already use Kubernetes, you can run dstack on it via the Kubernetes backend.

Can I use dstack with Kubernetes?

Yes. You can connect existing Kubernetes clusters using the Kubernetes backend and run dev environments, tasks, and services on it. Choose the Kubernetes backend if your GPUs already run on Kubernetes and your team depends on its ecosystem and tooling. See the Kubernetes guide for setup and best practices.

If your priority is orchestrating cloud GPUs and Kubernetes isn’t a must, VM-based backends are a better fit thanks to their native cloud integration. For on-prem GPUs where Kubernetes is optional, SSH fleets provide a simpler and more lightweight alternative.

When should I use dstack?

dstack accelerates ML development with a simple, ML‑native interface. Spin up dev environments, run single‑node or distributed tasks, and deploy services without infrastructure overhead.

It radically reduces GPU costs via smart orchestration and fine‑grained fleet controls, including efficient reuse, right‑sizing, and support for spot, on‑demand, and reserved capacity.

It is 100% interoperable with your stack and works with any open‑source frameworks and tools, as well as your own Docker images and code, across GPU clouds, Kubernetes, and on‑prem GPUs.

Have questions, or need help?
Discord Talk to us

Trusted by thousands of engineers across 100+ AI-first companies

Wah Loon Keng

Sr. AI Engineer @Electronic Arts

With dstack, AI researchers at EA can spin up and scale experiments without touching infrastructure. It supports everything from quick prototyping to multi-node training on any cloud.

Aleksandr Movchan

ML Engineer @Mobius Labs

Thanks to dstack, my team can quickly tap into affordable GPUs and streamline our workflows from testing and development to full-scale application deployment.

Alvaro Bartolome

ML Engineer @Argilla

With dstack it's incredibly easy to define a configuration within a repository and run it without worrying about GPU availability. It lets you focus on data and your research.

Park Chansung

ML Researcher @ETRI

Thanks to dstack, I can effortlessly access the top GPU options across different clouds, saving me time and money while pushing my AI work forward.

Eckart Burgwedel

CEO @Uberchord

With dstack, running LLMs on a cloud GPU is as easy as running a local Docker container. It combines the ease of Docker with the auto-scaling capabilities of K8S.

Jon Stevens

CEO @Hot Aisle

dstack 's advantages over Slurm are clear: it's a modern, ground-up approach to running workloads at scale. If you're choosing an orchestration platform, dstack is the place to start.




Get started in minutes

Install dstack on your laptop with uv, or deploy it anywhere using the dstackai/dstack Docker image.

Bring your compute via backends or SSH fleets, then bring your team.

Quickstart Installation

dstack Sky

Hosted by us. Bring your own clouds, or tap into GPU marketplace.

Get $5 in GPU marketplace credits. Have an account? Sign in

dstack Enterprise

Self-hosted with SSO, air-gapped setup, and dedicated support.

See how dstack fits your infrastructure.