AI & Machine Learning · Machine Learning Infrastructure
dstack
A control plane for heterogeneous AI compute
dstack is an MPL-2.0 open source control plane for provisioning GPU fleets and running development environments, training tasks, and inference services across clouds, Kubernetes, VMs, and on-premises servers. It is self-hostable without a software fee. dstack Sky provides managed hosting and marketplace GPUs, while Enterprise adds commercial governance and support features.
Key facts
- License
- MPL-2.0
- Main language
- Python
- Maintainer
- dstack GmbH and community contributors
- First released
- 2022
- Latest release
- 0.22.4, October 15, 2026
- GitHub stars
- 2,285, October 2026
- Hosted option
- dstack Sky, usage-based marketplace or customer cloud accounts; Enterprise custom
What dstack is
dstack standardizes compute provisioning and workload execution across GPU clouds, Kubernetes, virtual machines, and on-premises hosts. GitHub reports 2,285 stars and 271 forks in October 2026, and shows the repository created January 4, 2022. It is maintained by dstack GmbH and community contributors including r4victor, un-def, jvstme, and peterschmidt85. The README lists NVIDIA, AMD, Google TPU, and Tenstorrent support. The project targets machine-learning teams needing one configuration model across changing infrastructure. dstack Sky and dstack Enterprise are commercial offerings, while the core repository remains open source under MPL-2.0. Its control plane can coordinate varied infrastructure without forcing every workload onto one provider or accelerator family.
How it works
Users define YAML configurations and apply them through the CLI or programmatic API. Fleets describe capacity, GPU ranges, placement, idle duration, and backends. Dev environments provide IDE-accessible instances, tasks run training or batch workloads, and services publish model or web endpoints. dstack evaluates offers, provisions instances, launches containers, forwards ports, and can autoscale services. SSH fleets cover on-premises machines, while cloud and Kubernetes backends attach infrastructure. The quickstart demonstrates spot GPU offers, VS Code remote development, multi-node tasks, and OpenAI-compatible inference endpoints. Volumes preserve data across instance lifecycles. This arrangement suits teams that want repository-managed configurations while retaining choices about placement, capacity, and workload type.
Architecture and recent releases
The server and CLI are Python software distributed through pip or uv, with Docker images for deployment. State can use local SQLite or Postgres; documentation recommends Postgres for production because SQLite permits only one server replica. Integrations cover cloud GPU providers, Kubernetes, SSH hosts, serving frameworks, OpenTelemetry, and gateway routing. Version 0.21.0, released August 6, 2026, migrated to Pydantic v2. Version 0.21.2 added heterogeneous task node groups. Version 0.22.4, released October 15, improved offer lookup, server stability, launch pages, quotas, and backend support. Version 0.20.29 introduced experimental agent-driven inference optimization presets. Teams should test upgrades against configurations and integrations before production rollout.
License and pricing
MPL-2.0 permits commercial use, modification, and distribution, with file-level copyleft obligations for modifications to covered files and notices for covered code. dstack Sky is hosted and can use marketplace GPUs or customer cloud accounts. Its landing page says users pay for marketplace GPU consumption. The open source server has no software subscription price. Enterprise is a commercial self-hosted tier with single sign-on, governance controls, and dedicated support. Release 0.22.4 says some templates are limited to Enterprise, Factory, and Sky, and exports are being phased out of the open source version. License review remains important when modifying covered files or redistributing integrated code.
Limitations and how it compares
dstack's strength is infrastructure breadth, but backend credentials, networking, drivers, images, and upgrades remain operator work. GPU availability and price belong to underlying providers. Run:ai and Anyscale are proprietary alternatives for managed GPU scheduling and distributed workloads. SkyPilot and Kubernetes operators are closer open source comparisons, while Ray covers distributed execution rather than the same provisioning model. Choose dstack when one YAML control plane must span cloud GPUs, Kubernetes, and owned servers. Choose a managed platform when operational simplicity matters more than infrastructure control. Start with a small backend set, establish database backups, and validate accelerator images before expanding across providers.
Main features
- GPU fleet provisioning. Creates and manages GPU fleets across cloud providers, Kubernetes clusters, and on-premises hosts accessible via SSH.
- YAML workflow definitions. It defines fleets, environments, tasks, services, volumes, and presets as configuration within the repository that can be versioned.
- Development environments. It launches containerized instances that users can access through VS Code and other integrated development environment workflows.
- Distributed task execution. Runs batch and training jobs across one or more nodes, supporting heterogeneous node groups within the computing environment.
- Inference service publishing. Publishes model endpoints with configurable replicas, gateways, port forwarding, and autoscaling controls for flexible deployment management.
- Accelerator support. dstack supports backends compatible with NVIDIA, AMD, TPU, and Tenstorrent accelerators, enabling workloads to run across these supported accelerator platforms.
Self-hosting dstack
The server runs on a laptop or production host with access to configured cloud and on-premises infrastructure. Official methods include uv, pip, and the dstackai/dstack Docker image. Git and OpenSSH are required. The documented minimum is one CPU and 1 GB RAM, with recommended memory of 8 MB multiplied by active instances, although production sizing depends on workload. SQLite stores state locally and supports one replica; Postgres is recommended for production and multiple replicas. Configure backend credentials, persist the server directory, back up the database, and upgrade server and CLI together, especially across the Pydantic v2 transition. Test provider access before launching shared workloads.
Strengths
- One YAML interface covers cloud GPUs, Kubernetes, SSH fleets, development, training, and inference.
- The open source server supports NVIDIA, AMD, TPU, and Tenstorrent accelerators.
- Postgres-backed deployments can run more than one server replica.
- The CLI exposes provider offers and can select spot capacity across regions.
Drawbacks
- Backend credentials, GPU drivers, networking, and quotas remain operator responsibilities.
- Rapid releases can include breaking API and configuration changes.
- GPU prices and capacity depend on external providers.
What teams replace with it
Teams usually evaluate dstack when they want to move off Run:ai, Anyscale, Lambda Cloud.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to dstack
- SkyPilot
- Kubernetes
- Ray
- KubeRay
- Volcano
Frequently asked questions
Is dstack free?
The open source server is available under MPL-2.0 and has no software subscription charge. Operators pay cloud, GPU, storage, networking, and maintenance costs. dstack Sky is hosted and its cost depends on marketplace or customer-cloud usage. Enterprise features and support are commercial, so organizations should separate software licensing from infrastructure spending.
Can companies use dstack commercially?
Yes. MPL-2.0 permits commercial use, modification, and distribution while requiring applicable notices and file-level obligations for modified covered files. Companies can run the server internally or build services around it. Sky and Enterprise provide commercial hosted and support options. Legal review is appropriate when redistributing modified covered files or bundled integrations.
What does self-hosted dstack require?
The documented minimum is one CPU and 1 GB RAM. Install with uv, pip, or Docker, and provide Git and OpenSSH. State can use SQLite or Postgres, though Postgres is recommended for production. Backend permissions, drivers, network access, and backups are also required. Server and CLI versions should be upgraded together.
How does dstack compare with SkyPilot?
Both abstract GPU provisioning across providers and use declarative configurations. dstack emphasizes a persistent control plane, fleets, IDE environments, gateways, services, and an integrated UI. SkyPilot is a strong launcher-centered alternative. Choose dstack for team control across cloud and on-premises resources, or SkyPilot when launcher-focused workflows fit better.
Does self-hosted dstack send data to dstack GmbH?
A self-hosted server runs on operator infrastructure and connects directly to configured clouds, Kubernetes clusters, or SSH hosts. State is stored in local SQLite or operator-managed Postgres. Sky is hosted by dstack, so data handling and credentials differ between the two deployment choices. Review each deployment design before selecting it for sensitive workloads.
Similar projects to compare
- AgentaMITAgenta is an agent workspace for teams that build, share, schedule, and monitor AI agents through chat, connected tools, and messaging apps. Its repository README describes the project as MIT licensed. Agenta offers a hosted Cloud service with a free Hobby tier and paid plans from $29 per month, plus a free self-hosted edition.
- Arize PhoenixElastic License 2.0 (source-available)Arize Phoenix is a self-hosted platform for tracing, evaluating, testing, and debugging LLM applications, aimed at developers and AI engineering teams. It uses Elastic License 2.0, a source-available license, and has no Phoenix license fee. Arize offers the separate AX service with a free tier, a $50 per month Pro tier, and custom Enterprise pricing.
- DeepnoteApache-2.0Deepnote is a Jupyter-compatible data notebook for analysts, data scientists, developers, and teams using Python, R, and SQL. Its repository uses Apache-2.0, permitting commercial use under the license terms. Deepnote Cloud provides hosted collaboration, managed compute, AI features, integrations, and deployable data apps through Free, Team, and Enterprise plans.
- GPT4AllMITGPT4All is a Nomic-maintained desktop application, Python SDK, and local API for running open-weight language models on Windows, macOS, and Linux. Its repository uses the MIT license, and the application is free to use. No hosted GPT4All plan or paid GPT4All tier is published, although v3.10.0 can connect to remote Groq, OpenAI, and Mistral providers.
- GreptureAGPL-3.0Grepture combines an AI traffic proxy, TypeScript SDK, and command-line scanner for request tracing, PII handling, prompt security, and cost tracking. Its documented repositories use AGPL-3.0. Grepture Cloud offers hosted gateway and observability features, while local scanning works offline and without an account. Cloud pricing is not published.
- HeliconeApache-2.0Helicone is an LLM observability platform and AI gateway for developers who need request logs, cost and latency metrics, prompt management, evaluations, and provider routing. Its repository uses Apache-2.0, and a hosted service offers 10,000 free requests, with paid plans starting at $79 per month plus usage-based charges.
Sources
Last updated 2026-10-22.