# Benchmarks and your score

> What Legion measures on your host, when it runs, how to ask for a re-run, and how to raise your score.

Source: https://legion.ambient.xyz/docs/providing/benchmarks-and-score

Renters compare hosts by their [Legion score](https://legion.ambient.xyz/docs/renting/legion-score). Part of it comes from benchmarks.

## When benchmarks run

The Legion agent measures your host only while it is idle: no rental is running and none has started for a couple of syncs. A rental starting on the host cancels a benchmark in progress, and the benchmark runs again the next time the host is idle. Nothing is ever measured during a rental, because it would slow the renter's work and skew the numbers.

- **Network and disk** (download and upload speed to Legion, disk read and write, random reads and writes, round trips to major cloud regions): automatically about once a day while the host is idle.
- **GPU** (throughput by precision, memory bandwidth, copies between the host and the GPU and between GPUs): when the host enrolls, after the NVIDIA driver changes, and once a week.

Numbers that aren't plausible for the hardware show **Under review** and score 0 until they're checked.

## Re-run benchmarks

After you change something that affects the numbers, such as retuning the network, swapping a disk or updating the driver, you don't have to wait for the next automatic run. Open the host's page and press **Re-run benchmarks** in the Benchmarks section.

- It asks for the network, disk and GPU benchmarks together.
- You can ask up to 2 times a day for each host, counted over any rolling 24 hours. The button shows how many re-runs are left, and when none is, the time it is available again.
- If the host is serving a rental when you press it, the request is accepted and scheduled. The host shows **Scheduled, waiting for the host to be idle**, and the benchmarks start by themselves once the rental ends. The request stays until it has run, even across several rentals, an agent restart or a Legion update.
- When the benchmarks are running the host shows **Running now**, and when they are done it shows **Last run** with the time.
- A re-run you ask for always runs, even if the automatic run already happened that day.

## Raise your score

The host's page lists tips, each with how many points it can add. Most of the score is stability: keep the host online and let rentals finish cleanly.

## What counts as uptime

Uptime is the share of the last 30 days your host was online, counted only while the host is **at risk**: listed on the market, or serving a rental. Planned maintenance with enough notice is not penalized.

- **Listed and offline counts as downtime.** A host that is on the market but not syncing is one a renter could have rented.
- **A rental keeps the host at risk even if it is unlisted.** A rental that is starting, running, exited, stopping, being deleted or waiting for the host to come back counts. Stopped, failed and deleted rentals don't.
- **Unlisted, with no active rental, and offline is left out.** Those minutes are neither up nor down: they are removed from both sides of the share, so they can't lower your uptime.

To do maintenance without losing uptime, take the host off the market in **Manage**, wait until it has no active rentals, then power it off. List it again when it is back. Or [schedule a maintenance window](https://legion.ambient.xyz/docs/providing/maintenance) and keep the host listed.

### Scheduled maintenance windows

Time inside a window you scheduled never counts against your uptime when you gave enough notice:

- **Interruptible rentals only:** at least 1 hour of notice. The renters are told, and the notice and grace period of a preemption apply when their rentals stop.
- **Any on-demand rental on the host:** at least 72 hours of notice.
- **No rentals on the host when the window starts:** any notice, as long as the window starts in the future. A window can't excuse time that has already passed.
- **Less notice** is allowed, but the window then counts as downtime, like unplanned downtime.
- **At most 72 hours** of scheduled maintenance per host in any 30 days are excused. Minutes beyond that count.
- **Overruns count.** Time after the window's planned end, while the host is still away, is downtime. Press **Done with maintenance** when you finish early.

A window never counts twice with the unlisted-and-idle rule above.

Unlisting after the host has gone offline doesn't give those minutes back: the time it was listed and offline stays downtime, and only the time after you unlisted is left out. Time offline before this rule shipped on 28 October 2026 is still counted as it was.

## What moves a score

- **Up:** staying online around the clock, rentals that finish without failing or losing the host, a current NVIDIA driver, a fast wired network, a fast disk, and a short round trip to a major cloud region.
- **Down:** time offline while the host is listed or has a rental, rentals that fail on the host's side or are interrupted, an older driver, a slow network or disk, and a long round trip.
- **Under review scores 0.** A number that isn't plausible, such as a network claim above what Legion measured or a GPU result too high for its model, shows **Under review** and counts as 0 until it's checked.
- **Missing data is left out, not scored 0.** A part Legion has no data for yet, such as rental outcomes before a host has had a few rentals, is left out, and the other parts weigh more. An agent that can benchmark but hasn't recently scores 0 on its benchmark numbers, so skipping benchmarks never helps.
- **Network speeds count only when Legion measured them.** A speed the host claims is checked against Legion's own transfer, and a claim with no transfer behind it isn't used.
- **Verified or reported doesn't change the points.** It changes the marker renters see beside each number: **Verified by Legion**, **Reported by host**, or **Measured by the Legion agent** for the GPU benchmark.
- **New hosts are marked New** until Legion has a week of their history, because the score can still move.

The weights and thresholds are published by [How the Legion score is computed](https://legion.ambient.xyz/docs/api/offers/get-score-formula).

## Worked examples

Three example hosts, scored by Legion's own score code. The numbers on this page come from that code, so they change when the formula does. The hosts are examples, not real hosts.

### A data-centre host with a long record

Current data-centre GPUs on a fast wired uplink, online for months, with network speeds Legion measured itself.

Legion score: **99**

| Input | Value | Source |
| --- | --- | --- |
| History | 180 days | Verified by Legion |
| Uptime, 30 days | 99.8% | Verified by Legion |
| Rentals, 90 days | 52 | Verified by Legion |
| Failed on the host's side | 0 | Verified by Legion |
| Interrupted | 1 | Verified by Legion |
| NVIDIA driver | 580.95.05 | Reported by host |
| Compute capability | 9.0 | Reported by host |
| Download speed | 2,400 Mbps | Verified by Legion |
| Upload speed | 1,900 Mbps | Verified by Legion |
| Disk read | 6,500 MB/s | Reported by host |
| Best round trip | 3 ms | Reported by host |
| GPU throughput | 702.5 TFLOPS, reference 698 | Measured by the Legion agent |

| Part | Weight | Points |
| --- | ---: | ---: |
| Stability | 40% | 99 |
| Hardware freshness | 20% | 100 |
| Performance | 30% | 100 |
| Latency | 10% | 100 |

| Factor | Part | Scored on | Points | Source |
| --- | --- | --- | ---: | --- |
| Uptime, 30 days | Stability | 99.8% | 98 | Verified by Legion |
| Rentals without host failures | Stability | 0 of 52 rentals failed | 100 | Verified by Legion |
| Rentals without interruptions | Stability | 1 of 52 rentals interrupted | 98 | Verified by Legion |
| Newest CUDA the driver runs | Hardware freshness | CUDA 13.0 (driver 580.95.05) | 100 | Reported by host |
| Compute capability | Hardware freshness | 9.0 | 100 | Reported by host |
| Download speed | Performance | 2400 Mbps | 100 | Verified by Legion |
| Upload speed | Performance | 1900 Mbps | 100 | Verified by Legion |
| Disk read | Performance | 6500 MB/s | 100 | Reported by host |
| GPU throughput | Performance | 702.5 TFLOPS (reference 698.0) | 100 | Measured by the Legion agent |
| Best round trip | Latency | 3 ms | 100 | Reported by host |

What would raise this score:

- **+1 point:** Uptime, 30 days. Keep the host and its agent online around the clock: 30-day uptime is 99.8%. For planned maintenance, unlist the host and let its rentals end first: time offline while unlisted with no active rental does not count.
- **+1 point:** Rentals without interruptions. 1 of 52 recent rentals lost the host while running. Avoid reboots, power and network changes while the host is rented.

### A home host in its first week

A consumer GPU at home, enrolled four days ago. Legion hasn't measured its network yet and it has had too few rentals to judge, so those parts are left out until it has.

Legion score: **87** (new host)

| Input | Value | Source |
| --- | --- | --- |
| History | 4 days | Verified by Legion |
| Uptime, 30 days | 98.5% | Verified by Legion |
| Rentals, 90 days | 2 | Verified by Legion |
| Failed on the host's side | 0 | Verified by Legion |
| Interrupted | 0 | Verified by Legion |
| NVIDIA driver | 570.172.08 | Reported by host |
| Compute capability | 8.9 | Reported by host |
| Download speed | Not measured yet |  |
| Upload speed | Not measured yet |  |
| Disk read | 2,100 MB/s | Reported by host |
| Best round trip | 38 ms | Reported by host |
| GPU throughput | 148 TFLOPS, reference 162 | Measured by the Legion agent |

| Part | Weight | Points |
| --- | ---: | ---: |
| Stability | 40% | 85 |
| Hardware freshness | 20% | 82 |
| Performance | 30% | 91 |
| Latency | 10% | 90 |

| Factor | Part | Scored on | Points | Source |
| --- | --- | --- | ---: | --- |
| Uptime, 30 days | Stability | 98.5% | 85 | Verified by Legion |
| Rentals without host failures | Stability | Not measured yet |  |  |
| Rentals without interruptions | Stability | Not measured yet |  |  |
| Newest CUDA the driver runs | Hardware freshness | CUDA 12.8 (driver 570.172.08) | 80 | Reported by host |
| Compute capability | Hardware freshness | 8.9 | 85 | Reported by host |
| Download speed | Performance | Not measured yet |  |  |
| Upload speed | Performance | Not measured yet |  |  |
| Disk read | Performance | 2100 MB/s | 90 | Reported by host |
| GPU throughput | Performance | 148.0 TFLOPS (reference 162.0) | 91 | Measured by the Legion agent |
| Best round trip | Latency | 38 ms | 90 | Reported by host |

What would raise this score:

- **+6 points:** Uptime, 30 days. Keep the host and its agent online around the clock: 30-day uptime is 98.5%. For planned maintenance, unlist the host and let its rentals end first: time offline while unlisted with no active rental does not count.
- **+2 points:** Newest CUDA the driver runs. Update the NVIDIA driver to 580 or newer (CUDA 13). This host runs CUDA 12.8 (driver 570.172.08). The agent picks up the new driver by itself after the reboot.
- **+1 point:** Disk read. The workspace disk reads 2100 MB/s. An NVMe SSD (3000 MB/s or more) scores full.
- **+1 point:** GPU throughput. The GPUs measured 148.0 TFLOPS (dense FP16/BF16, measured by the Legion agent while the host was idle) against a reference of 162.0 for this model. Check that they run at full power and clocks (nvidia-smi -q -d POWER,CLOCK,PERFORMANCE shows a power cap or thermal throttling), stay cool, and sit in full-width PCIe slots. The agent measures again about weekly, after a driver change, or when an admin asks.
- **+1 point:** Best round trip. The nearest reference region is 38 ms away. Hosts within 20 ms of a major cloud region score full; a better-peered network helps.

### A host with numbers under review

An older driver, some failed rentals, a network claim above what Legion measured and a GPU result that isn't plausible for its model.

Legion score: **53**

| Input | Value | Source |
| --- | --- | --- |
| History | 60 days | Verified by Legion |
| Uptime, 30 days | 96.2% | Verified by Legion |
| Rentals, 90 days | 20 | Verified by Legion |
| Failed on the host's side | 3 | Verified by Legion |
| Interrupted | 2 | Verified by Legion |
| NVIDIA driver | 550.163.01 | Reported by host |
| Compute capability | 8.0 | Reported by host |
| Download speed | Under review | Verified by Legion |
| Upload speed | Under review | Verified by Legion |
| Disk read | 1,800 MB/s | Reported by host |
| Best round trip | 55 ms | Reported by host |
| GPU throughput | Under review | Measured by the Legion agent |

| Part | Weight | Points |
| --- | ---: | ---: |
| Stability | 40% | 72 |
| Hardware freshness | 20% | 56 |
| Performance | 30% | 17 |
| Latency | 10% | 81 |

| Factor | Part | Scored on | Points | Source |
| --- | --- | --- | ---: | --- |
| Uptime, 30 days | Stability | 96.2% | 62 | Verified by Legion |
| Rentals without host failures | Stability | 3 of 20 rentals failed | 85 | Verified by Legion |
| Rentals without interruptions | Stability | 2 of 20 rentals interrupted | 90 | Verified by Legion |
| Newest CUDA the driver runs | Hardware freshness | CUDA 12.4 (driver 550.163.01) | 50 | Reported by host |
| Compute capability | Hardware freshness | 8.0 | 70 | Reported by host |
| Download speed | Performance | Under review | 0 | Verified by Legion |
| Upload speed | Performance | Under review | 0 | Verified by Legion |
| Disk read | Performance | 1800 MB/s | 85 | Reported by host |
| GPU throughput | Performance | Under review | 0 | Measured by the Legion agent |
| Best round trip | Latency | 55 ms | 81 | Reported by host |

What would raise this score:

- **+9 points:** Uptime, 30 days. Keep the host and its agent online around the clock: 30-day uptime is 96.2%. For planned maintenance, unlist the host and let its rentals end first: time offline while unlisted with no active rental does not count.
- **+7 points:** Newest CUDA the driver runs. Update the NVIDIA driver to 580 or newer (CUDA 13). This host runs CUDA 12.4 (driver 550.163.01). The agent picks up the new driver by itself after the reboot.
- **+2 points:** Rentals without host failures. 3 of 20 recent rentals failed on this host. The agent's log (journalctl -u legion-agent) says why; a full disk, a missing NVIDIA container runtime or an old Docker are the usual causes.
- **+2 points:** Best round trip. The nearest reference region is 55 ms away. Hosts within 20 ms of a major cloud region score full; a better-peered network helps.
- **+1 point:** Rentals without interruptions. 2 of 20 recent rentals lost the host while running. Avoid reboots, power and network changes while the host is rented.
- **+1 point:** Disk read. The workspace disk reads 1800 MB/s. An NVMe SSD (3000 MB/s or more) scores full.
