gpu-router

The cheapest way to run your GPU job across every cloud.

We compare GPU types and cloud providers using measured workload performance to find the lowest cost to finish your job.

Hourly price lies. A $0.5904/h T4 can cost more per token than a $1.1016/h A10 that’s 2.7× faster. gpu-router runs short capped benchmarks of your job and picks the lowest verified cost per unit of work.

ExampleData

Sample LoRA, measured: T4 $0.3540985 per 1k steps vs L4 $0.38341 vs A10 $0.9009545

Describe the job: a container image, a command and a budget. Benchmark it on 2 or 3 candidate GPUs. Run it on the cheapest per unit of work, in your own Modal account, which bills you directly.

Embeds 100,352 AG News headlines with BGE-small and reports texts per second.

jobs1 of 6

Paste your job spec or pick the Text embeddings sample

$
GB
More options model BAAI/bge-small-en-v1.5, fp16, verifier set

Workload

inference may use spot

Verifier

Picked T4 PCIe 16 GB on Modal: the benchmark winner at $ 0.000752 per 1M tokens. One full run: measured on T4 (runs b28e8903, 3d2bf512).

Cost on T4 PCIe 16 GB$ 0.013038/runmeasured on T4 (runs b28e8903, 3d2bf512)
Modal rate$ 0.5904/GPU-hr

Candidates

Measured cost of one run on each compatible GPU, lower is better

  1. Modal · T4 PCIe 16 GB$ 0.013038 /job selected lowest cost
  2. Modal · L4 PCIe 24 GB$ 0.017126 /job
  3. Modal · A10 PCIe 24 GB$ 0.018884 /job
  4. Modal · L40S PCIe 48 GB$ 0.032266 /job
  • Lowest cost
  • Other offers

Source: Modal · rate × runtime · 2026/11/24 · 4 of 4 candidates have a job cost

Job cost from measured runs

Cost of one run in one tier, lower is better

  1. Google Cloud · L4 PCIe 24 GB$ 0.014403 /job stale lowest cost
  2. Google Cloud · L4 PCIe 24 GB$ 0.022441 /job stale
  • Lowest cost
  • Other offers

Source: Google Cloud · rate × runtime · 2026/11/24 · 2 of 2 serverless offers have a job cost

All 64 offers

Vast.ai live prices: unreachable

Benchmark

Run the same fixed work, seed, and image on 2 or 3 candidate GPUs, repeated, then rank them by median cost per unit of work.

Capped at 3 probes

GPUCost per unitBasisRate
1. T4 PCIe 16 GB$ 0.000752 per 1M tokens (steady state, excluding 56 s startup)measured on T4 (runs 89997703, dd7ac814, 2cf7cadd, 18ee23bf)$ 0.5904/GPU-hr
2. A10 PCIe 24 GB$ 0.000792 per 1M tokens (steady state, excluding 89 s startup)measured on A10 (runs 59b3fb03, 5daf19ba)$ 1.1016/GPU-hr
3. L4 PCIe 24 GB$ 0.0008185 per 1M tokens (steady state, excluding 65 s startup)measured on L4 (runs b2e390b7, a20e7850, 3aa5f1c3, 77a30b00)$ 0.7992/GPU-hr
  1. GPUT4 PCIe 16 GB on Modal
  2. StatusSucceeded
  3. Duration1 m 17 s · measured
  4. Cost$ 0.012669 · measured
  5. Exit code0
  6. Verificationpassed
  7. Outputsmetrics.json, embeddings.npy
  8. ExecutionModal job run 3d2bf512770a44988062c299a39af457, finished 2026-10-14, verified

Log tail

last lines from the sandbox
GPU_ROUTER_METRIC {"tokens": 6422626, "texts": 100352, "t": 69.32}
{"texts": 100352, "texts_per_s": 3488.49, "tokens": 6422626, "dim": 384, "initial_pending": 98, "final_pending": 0}

Verification

passed · verifier v1 · run 3d2bf512 measured
  1. expected output filesall 1 expected files are presentPassed
  2. metrics filemetrics.json parsed as a JSON object with 6 keysPassed
  3. metric must decreasefinal_pending 0 decreased from initial_pending 98Passed

Measurement

Duration1 m 17 s measured
Cost on T4 PCIe 16 GB$ 0.012669 /run measured
Cost per unit$ 0.000735 per 1M tokens (steady state, excluding 48 s startup) measured

Use sample