# GPU benchmarks

Some GPU pages and the plan lists show **measured performance**: figures we measured ourselves on rented servers. This page explains how.

## What we measure

Every GPU class is tested with the same small suite. It uses synthetic data and random weights, so nothing is downloaded and the tests are identical everywhere.

| Test | Setting |
|---|---|
| FP16 matrix multiply | 8192 × 8192, FP16 |
| FP32 matrix multiply | 4096 × 4096, FP32 (TF32 off) |
| ResNet-50 inference | 64 × 3 × 224 × 224, FP16 |
| Transformer forward pass | 8 × 512 tokens, 12 layers, d = 768, FP16 |
| VRAM copy bandwidth | 1 GiB, FP32 |

## How we run it

For each GPU class we start one server with a single GPU of that class, run the suite once (about five minutes), save the result and delete the server. We repeat this on a separate launch, so a figure usually comes from two different servers. The settings are fixed: the same script, fixed random seeds, TF32 off, one GPU. The driver and CUDA versions are recorded with every result.

## What you see

The GPU page shows the **median** over the runs, how many runs stand behind it and when the last one was measured. The plan list and the pricing page can rank GPUs by a measured test. The same figures are available from the API (`GET /api/v1/benchmarks`, with each run's value in `samples`) and from the command line (`apidly benchmarks`).

## Value per dollar

Value per dollar is the measured median divided by our hourly price. It is calculated when the page loads, so it follows our current price.

## Benchmark your own server

Run the same suite on a server of yours to see whether it performs like others of its class. From your computer, with the server running:

```bash
apidly servers benchmark ins_abc
```

The command runs the script over your own SSH (it needs `python3` and PyTorch with CUDA on the server), takes about four minutes and leaves nothing behind. The result is saved with the server and shown on its **Overview** tab next to our median, with each test as a percentage of it. `apidly servers benchmarks ins_abc` lists earlier runs; the API has `GET` and `POST /api/v1/servers/{id}/benchmarks`. Your runs are seen only by your team and never change a published figure. The server is billed as usual while the test runs.

## Results vary

A server of the same GPU class can be faster or slower than the figure. The host's processor, driver, power limit, cooling and other work on the machine all matter, and the servers come from independent hosting providers. Treat a figure as a guide for comparing classes, not as a guarantee. These tests are not your workload: try your own job before you commit to a GPU.

## Measured figures and the Apidly performance index

The **Apidly performance index** shown on some plans is a different, relative figure (one RTX 3090 = 100) from benchmark runs of the machines behind a plan. We did not measure it. Measured figures are always labelled as measured.

## Not measured yet

We measure the classes we can afford to test, so some GPUs show **Not measured yet**. We never estimate or fill a gap: a figure appears only after we have run the suite ourselves. We also record disk and network checks during a run, but we do not publish them.
