On HGX vs DGX, the GPUs are not where the two differ. Both use the same GPUs on the same 8-GPU HGX baseboard with NVSwitch, and the difference is who builds the rest of the server and who supports it. A DGX is NVIDIA’s own complete server around that baseboard, with a fixed CPU, memory, networking, storage, software and support stack, while HGX is the board that Dell, Supermicro, HPE and other OEMs build their own servers around. So the real decision is about configurability, procurement path, support model and software, not GPU speed. MGX is a third route: a modular reference design one layer up, for mixed CPU-GPU and inference servers.
If you want the background on the GPUs themselves before comparing the servers, our explainer on NVIDIA data centre GPUs and why they matter covers that.
HGX vs DGX: Same Baseboard, Different Server Around It
The HGX baseboard holds 8 SXM GPUs, and NVIDIA fixes the GPU count, memory configuration, NVLink wiring and NVSwitch layout. OEMs build servers around it but cannot change the board. Everything else (CPUs, system RAM, storage, NICs, DPUs, chassis, cooling and the baseboard management controller) is chosen by whoever builds the server. One comparison sums it up: “Eight B200s are eight B200s”. Buying a DGX is a decision about configurability, procurement path, support model and software, not about GPU-level performance.
NVIDIA’s documents give the same 14.4 TB/s fifth-generation NVLink aggregate for the DGX B200 and the HGX B300 baseboard, though these carry different GPUs. The DGX B200 has two fifth-generation NVLink switches giving 14.4 TB/s aggregate bandwidth. The HGX B300 baseboard that OEMs receive uses fifth-generation NVSwitch and NVLink with 14.4 TB/s total aggregate bandwidth and 1,800 GB/s GPU-to-GPU. One generation back, the DGX H100/H200 uses fourth-generation NVLink at 900 GB/s GPU-to-GPU.
If two 8-GPU servers with the same GPUs behave differently on a real job, we would look first at the host side: CPU and memory population, NIC placement relative to the GPUs, cooling headroom under sustained load. NVIDIA’s HGX B300 reference architecture asks OEM builders for at least 2 TB of system memory and 500 GB/s of memory bandwidth, and ties optimal performance to populating every CPU memory channel evenly and symmetrically.
If the question is how GPU generations compare, LynxBenchAI’s measured results are in its hardware directory.
Choosing Between DGX, HGX and MGX at a Glance
| Question | DGX | HGX (OEM server) | MGX |
|---|---|---|---|
| What it is | NVIDIA’s complete, fixed-configuration server | An 8-GPU SXM baseboard that OEMs build servers around | A modular reference architecture of chassis, power, cooling and connectors |
| GPU and NVSwitch fabric | The HGX baseboard | The HGX baseboard | Full NVIDIA GPU range, including PCIe and rack-scale options |
| Who builds it | NVIDIA | Dell, HPE, Lenovo and other OEMs | OEMs and ODMs |
| Hardware support | Direct NVIDIA enterprise support | The OEM and channel partners | The system builder |
| Typical fit | Teams that want a ready-to-deploy system | Custom configurations and modular scale-out | Inference servers, mixed CPU-GPU nodes, smaller deployments |
Is an OEM HGX Server Cheaper than a DGX, and What Does the Premium Buy?
One comparison of NVIDIA’s server platforms says DGX costs more than an equivalent OEM server because it includes NVIDIA’s software stack and direct support, and that teams wanting a lower cost per GPU, or already working with a particular OEM, buy OEM servers instead. NVIDIA has not published list prices for the DGX B200 or B300. It never announced a DGX H100 list price either. The figure of around $270,000 is a SemiAnalysis analyst estimate from May 2023. Treat that figure as a third-party estimate, not a quote.
The server price also leaves things out. NVIDIA’s DGX H100 user guide lists eight H100 80GB GPUs, two Xeon Platinum 8480C CPUs, 2 TB of system memory, four NVSwitch chips, eight ConnectX-7 network cards, ten NVMe drives and six 3.3 kW power supplies. The DGX H100 ships without network cables or adaptors, so switches, optics, cables, shared storage and racks cost extra. Dividing a server price by eight therefore understates the cost of a working cluster. On whether to buy at all: one H100 pricing analysis concludes that renting is cheaper unless the GPUs stay busy for most of every month over several years.
The premium pays for three things, and each matters more or less depending on your team:
- A validated, fixed configuration. NVIDIA designs the whole server around the baseboard and supports it end to end.
- One vendor for hardware and software. When something breaks and it could be either, there is no vendor boundary to argue across, which is worth a lot to teams without deep infrastructure staff.
- Defined support tiers. Included DGX support accepts cases 24/7 with remote hardware and software support and escalation during local business hours. Add-ons cover 24/7 business-critical support, onsite engineers for field-replaceable units, a Technical Account Manager and media retention, and business-critical support targets a response of one hour or less for severity 1 issues.
Our view: if your team already runs Linux GPU fleets and has a good relationship with an OEM, the single-vendor boundary is worth less to you, and the HGX route mostly saves money. If the hardware is landing with a small team that has never run NVSwitch systems, the support tiers are the part of the premium most likely to pay for themselves.
What Software and Support Come with a DGX System That You Have to Assemble Yourself on an HGX Server?
A DGX H100/H200 ships with an Ubuntu server distribution, NVIDIA System Management (NVSM) for health monitoring, Data Center GPU Manager (DCGM), the GPU driver, Docker Engine, the NVIDIA Container Toolkit and NVIDIA’s networking stack (MOFED). NVIDIA describes DGX OS as a customised Ubuntu with platform-specific configurations, diagnostics, monitoring tools and drivers, giving a tested and supported OS for AI workloads.
On an HGX server, everything beyond the baseboard is chosen by the OEM. The DGX Software Stack can be installed on vanilla Ubuntu, and the DGX OS 6 guide requires Ubuntu 22.04 with Linux kernel 5.15 LTS. The system-specific meta-packages in that guide are named per DGX model. One step that is easy to miss on any NVSwitch system: the fabric manager package has to be installed and its service enabled alongside persistence mode and DCGM.
Licensing is the other half, and it depends on the GPU generation:
| Platform | NVIDIA AI Enterprise | Hardware support |
|---|---|---|
| DGX, Hopper generation | Included in the DGX software bundle | NVIDIA |
| DGX, Blackwell generation | Purchased separately | NVIDIA |
| HGX via OEM | Per-GPU paid subscription | OEM and channel partners |
NVIDIA AI Enterprise is licensed per GPU, so an eight-GPU server needs eight licences. It can be bought as a subscription, through cloud marketplaces on a consumption basis, or as a perpetual licence with five years of required support. When comparing a Blackwell DGX quote with an HGX quote, the “software included” difference is smaller than it was for Hopper, because both now need AI Enterprise bought separately.
Supply: One Order Book or Several
HGX ships through several OEMs, so each GPU generation has several independent order books, each with its own allocation, backlog and delivery window. DGX goes through one channel with NVIDIA-controlled allocation, which gives you a known configuration but less room to route around a queue. If your deadline is fixed and you can be flexible about the integrator, that alone can decide the choice.
Which Suits Multi-Tenant or Shared GPU Infrastructure Better, DGX or HGX?
Neither chassis decides this, because the partitioning happens on the GPU itself. Multi-Instance GPU (MIG) lets GPUs from the Ampere architecture onwards be securely partitioned into up to seven separate GPU instances. Each instance gets its own isolated path through the memory system, including L2 cache banks, memory controllers and DRAM address buses, so each user’s workload runs with predictable throughput and latency. For multi-tenant cloud providers, NVIDIA states that MIG stops one client from affecting the work or scheduling of another. MIG works with Docker, Kubernetes and hypervisors including VMware vSphere and Red Hat Virtualization. Since DGX and HGX carry the same GPUs, both get the same partitioning.
NVIDIA’s HGX AI Factory reference architecture is built for multi-user, single-tenant workloads: all users belong to one enterprise, accounting and access control are consolidated, and the design assumes Kubernetes. Hostile multi-tenancy, where tenants are separate customers, is a different matter. We would treat it as a project in its own right on either platform: MIG or vGPU for isolation, plus the network, storage and identity separation that no reference design hands you. Our page on AI infrastructure and production SaaS covers how we work with teams running shared GPU platforms for separate customers.
Where MGX Fits Alongside DGX and HGX
MGX differs from HGX in purpose. NVIDIA positions MGX as a modular reference architecture with multi-generational compatibility, so system builders can reuse designs across hardware generations, while HGX is an NVLink-connected multi-GPU baseboard built for maximum AI and HPC scale. MGX offers over 100 modular combinations, from single-node servers to rack-scale systems, with 1U, 2U and 4U chassis that are air or liquid cooled. It takes NVIDIA Grace, Vera, x86 and other Arm CPUs.
In practice, HGX targets 8-GPU training nodes with the most interconnect bandwidth, while MGX covers inference servers, mixed CPU-GPU nodes and smaller deployments, especially where fewer GPUs or a different CPU architecture are needed. If your workload is mostly single-GPU inference that never uses an NVSwitch fabric, an MGX-based server from your OEM is often the better question to ask than DGX vs HGX.
Can a Workload Tuned on DGX Move to an HGX Server, or to Another Vendor?
Between DGX and HGX, yes, on the GPU side. The GPUs and the NVSwitch baseboard are the same. The DGX Software Stack installs on ordinary Ubuntu, and NVIDIA’s frameworks run in containers through Docker and the NVIDIA Container Toolkit. NVIDIA makes the same portability claim across its range, saying DGX Spark users can move models to DGX Cloud or any accelerated cloud or data centre infrastructure “with virtually no code changes”. That is the vendor’s claim, but it fits the shared CUDA base.
What we would check on the destination server is system-level tuning, not code. NICs, CPUs and storage are the builder’s choice; the HGX B300 build, for one, expects eight ConnectX-8 SuperNICs per baseboard. We would rerun the multi-node communication tests and one representative training or serving job before calling the move done.
Moving to another vendor’s GPUs is a different kind of job. AMD’s HIP is a C++ runtime API and kernel language that runs on both AMD and NVIDIA GPUs. Its syntax is close enough to CUDA that most runtime calls convert by replacing cuda with hip, and the HIPIFY tools automate much of that translation. Most CUDA libraries have a matching HIP library. The manual work is in what the tools cannot convert: inline PTX assembly, CUDA intrinsics, hardcoded dependencies, unsupported functions and code that assumes NVIDIA’s register file size. Memory-type APIs also need explicit mapping. AMD reports porting effort for scientific applications ranging from a few hours to a few weeks, depending mostly on source complexity. For the wider API landscape, our comparison of CUDA, OpenCL and SYCL as GPU compute APIs covers the trade-offs.
Our position is that production portability is an engineering surface in its own right, and the gap between running on one target and performing on another is real work. That work is worth doing when there is a measurable reason: a performance ceiling, a hard constraint on the deployment target, or a lock-in cost you can name. A move off CUDA should be scoped as a porting project with its own validation, work TechnoLynx’s GPU performance engineering team takes on. Our article on cutting inference cost by porting runtime and hardware covers what that involves when the aim is cost.
Putting the Decision in Order
Start with the workload, not the badge. If it needs eight GPUs over NVSwitch, you are choosing between DGX and an OEM HGX server, and the GPUs will behave the same in both. The question left is whether a single vendor, a fixed configuration and NVIDIA’s support tiers are worth more to your team than OEM pricing, a choice of integrators and control over the host. If the workload does not need the fabric, MGX belongs in the comparison. If you might leave NVIDIA within the hardware’s lifetime, price that porting work now rather than at refresh.
FAQ
What OS Does DGX Run?
DGX systems run DGX OS, a customised Ubuntu with NVIDIA’s platform configurations, drivers, diagnostics and monitoring tools. The same DGX Software Stack can also be installed on vanilla Ubuntu 22.04.
How Many TOPS Does the NVIDIA DGX Spark Have?
NVIDIA states that the GB10 Grace Blackwell Superchip in DGX Spark delivers up to 1,000 trillion operations per second of AI compute at FP4 precision, with up to 128 GB of unified memory.