How to Benchmark a GPU Cloud Before You Commit
Never sign a large commitment off a spec sheet. The numbers a provider publishes are peak figures measured under ideal conditions, and they tell you almost nothing about what your job will see at three in the morning when the cluster is busy and a switch is congested. A short proof of concept (POC) cuts through the marketing. You rent a small slice of the fleet for a day or two, run something close to your real workload, and measure what actually comes out. That measurement is the only number worth negotiating around.
Decide what good means before you start
A benchmark with no target is just a number you stare at. Define the workload first. Training and inference stress the hardware in different ways, so pick the one you are actually buying for. A training POC pounds the interconnect during gradient exchange. An inference POC cares about latency and steady tokens per second under load.
Then pick the single metric that matters and write down a pass or fail bar in advance. For training, model FLOPS utilization (MFU) tells you what fraction of the theoretical peak your run sustains, and it is brutally honest. For inference, tokens per second at your target batch size and latency is the figure to chase. For either, cost per token rolls performance and price into one comparable number. Decide the bar before you see results, otherwise you will rationalize whatever you get.
What to measure
Run a focused set of tests rather than one giant job. Each one isolates a different way a cloud can disappoint you.
- Single-GPU throughput. Establish a clean baseline on one accelerator so you know the chip itself is healthy and clocked correctly.
- Multi-GPU scaling efficiency and all-reduce bandwidth. Measure how close you get to linear speedup as you add GPUs, and time the gradient exchange across nodes.
- Storage read throughput. Saturate the data loader and confirm the filesystem can feed the GPUs without starving them mid-step.
- Real availability and preemption rates. Track how often instances vanish or get reclaimed over the test window, not the figure on the status page.
- Cold-start and provisioning times. Measure how long it takes to go from a request to a running, ready node, since slow spin-up taxes every restart.
Size the test right
The test has to be small enough to stay cheap and big enough to expose the fabric. A single-node run hides every problem that lives in the network, so use at least two nodes to force traffic across the interconnect where the real surprises hide. A two-node all-reduce will reveal an oversubscribed or poorly tuned fabric that a single box never touches.
Run long enough to hit the rough edges. A ten-minute job looks perfect because it finishes before anything goes wrong. Let it run for hours so you have a real chance of catching a node failure, a throttling event, or a noisy neighbor moving in. Those events are the whole point of the exercise, so give them time to happen.
The gotchas
Several failure modes will not show up unless you go looking. Noisy neighbors on an oversubscribed fabric share your bandwidth and drag down scaling efficiency exactly when the cluster is busiest. Silent throttling clocks the GPUs down under thermal or power pressure without any error in the logs, so watch the achieved clocks directly. Some providers quietly hand you inconsistent instance types within a single pool, which scrambles your results. Egress charges can surprise you when you pull checkpoints or results out of the cloud, so price that path before you load it up. And expect your MFU to land well below the theoretical peak, often in the 35 to 50 percent range for large training runs even on good hardware. A number near peak usually means the test was too short or measured wrong.
Read the results against price
Compare on the unit you actually buy, not the one the provider quotes. The GPU-hour is a vanity metric. Normalize everything to a cost per useful unit instead, such as cost per token for inference or cost per MFU-hour for training. When you do this, a pricier instance that sustains higher utilization frequently beats a cheaper one that wastes cycles waiting on the network or the filesystem. The cheap GPU-hour that delivers half the work is the expensive option once you divide by output.
A two-day POC costs a rounding error against an annual commitment, and it is the only honest preview you will get of how a cloud behaves under your own code. Measure the thing you care about, give the test enough size and time to break something, and let the cost per useful unit decide. Sign once you have a number you trust, not a number from a brochure.
Compare providers for your workload
Live pricing, hardware specs, and availability across 30 GPU clouds, neoclouds, and bare-metal providers.
Open the Directory