Example

Renders 64 images at 512px in one step with SD-Turbo and reports images per second.

jobs1 of 6

Paste your job spec or pick the Image generation sample

$
GB
More options model stabilityai/sd-turbo, fp16, verifier set

Workload

inference may use spot

Verifier

Picked T4 PCIe 16 GB on Modal: the benchmark winner at $ 0.015444 per 1M tokens. One full run: measured on T4 (runs 99b5cbe2, 676327f5).

Cost on T4 PCIe 16 GB$ 0.014284/runmeasured on T4 (runs 99b5cbe2, 676327f5)
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.014284 /job selected lowest cost
  2. Modal · L4 PCIe 24 GB$ 0.017889 /job
  3. Modal · A10 PCIe 24 GB$ 0.018887 /job
  4. Modal · L40S PCIe 48 GB$ 0.037313 /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.015045 /job stale lowest cost
  2. Google Cloud · L4 PCIe 24 GB$ 0.023441 /job stale
  • Lowest cost
  • Other offers

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

All 65 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. L4 PCIe 24 GB$ 0.0149025 per 1M tokens (steady state, excluding 74 s startup)measured on L4 (runs d38e32d5, 0b98d86a, fbc84b2d, f5044d77)$ 0.7992/GPU-hr
2. T4 PCIe 16 GB$ 0.015444 per 1M tokens (steady state, excluding 65 s startup)measured on T4 (runs 2f4eba65, 1b3c8bb2, 06429a37, c71054a7)$ 0.5904/GPU-hr
3. A10 PCIe 24 GB$ 0.0156225 per 1M tokens (steady state, excluding 60 s startup)measured on A10 (runs ad128a01, 86622a49)$ 1.1016/GPU-hr
  1. GPUT4 PCIe 16 GB on Modal
  2. StatusSucceeded
  3. Duration1 m 27 s · measured
  4. Cost$ 0.014229 · measured
  5. Exit code0
  6. Verificationpassed
  7. Outputsmetrics.json, images/063.png, images/062.png, images/061.png and 61 more
  8. ExecutionModal job run 676327f5ba534c06909aaa91ee5e6c4a, finished 2026-10-14, verified

Log tail

last lines from the sandbox
GPU_ROUTER_METRIC {"tokens": 267072, "images": 64, "t": 70.358}
{"images": 64, "images_per_s": 2.725, "steps": 1, "resolution": 512, "initial_pending": 64, "final_pending": 0}

Verification

passed · verifier v1 · run 676327f5 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 64Passed

Measurement

Duration1 m 27 s measured
Cost on T4 PCIe 16 GB$ 0.014229 /run measured
Cost per unit$ 0.014425 per 1M tokens (steady state, excluding 63 s startup) measured

Use sample