Example

Generates fixed-length completions for 256 prompts with vLLM and reports tokens per second.

jobs1 of 6

Paste your job spec or pick the Batch LLM inference sample

$
GB
More options model Qwen/Qwen2.5-0.5B-Instruct, fp16, verifier set

Workload

inference may use spot

Verifier

Picked A10 PCIe 24 GB on Modal: the benchmark winner at $ 0.0313575 per 1M tokens. One full run: measured on A10 (runs ea26f12c, 460bb782).

Cost on A10 PCIe 24 GB$ 0.035198/runmeasured on A10 (runs ea26f12c, 460bb782)
Modal rate$ 1.1016/GPU-hr

Candidates

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

  1. Modal · T4 PCIe 16 GB$ 0.032946 /job lowest cost
  2. Modal · A10 PCIe 24 GB$ 0.035198 /job selected
  3. Modal · L4 PCIe 24 GB$ 0.049655 /job
  4. Modal · L40S PCIe 48 GB$ 0.089781 /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 · T4 PCIe 16 GB$ 0.019531 /job stale lowest cost
  2. RunPod · L4 PCIe 24 GB$ 0.027338 /job
  3. Baseten · T4 PCIe 16 GB$ 0.035223 /job stale
  4. Baseten · T4 PCIe 16 GB$ 0.035223 /job stale
  5. Lambda · A10 PCIe 24 GB$ 0.041218 /job stale
  • Lowest cost
  • Other offers

Source: Google Cloud, RunPod, Baseten, Lambda, VESSL AI · rate × runtime · 2026/11/24 · 35 of 35 on-demand offers have a job cost · 5 of 35 shown

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. A10 PCIe 24 GB$ 0.0313575 per 1M tokens (steady state, excluding 161 s startup)measured on A10 (runs 5488240d, 2883ee47)$ 1.1016/GPU-hr
2. L4 PCIe 24 GB$ 0.033526 per 1M tokens (steady state, excluding 168 s startup)measured on L4 (runs e855c43a, 8cb22b7c, 0fee0e0a, 37c98735)$ 0.7992/GPU-hr
3. L40S PCIe 48 GB$ 0.03691 per 1M tokens (steady state, excluding 167 s startup)measured on L40S (runs de239800, 9a80543a)$ 1.9512/GPU-hr
  1. GPUA10 PCIe 24 GB on Modal
  2. StatusSucceeded
  3. Duration1 m 47 s · measured
  4. Cost$ 0.032698 · measured
  5. Exit code0
  6. Verificationpassed
  7. Outputsresults.jsonl, metrics.json
  8. ExecutionModal job run 460bb7829e794f8a9cffa6837d3d4bd5, finished 2026-10-14, verified

Log tail

last lines from the sandbox
(MainProcess pid=2) INFO 10-14 07:32:26 [core_client.py:767] [shutdown] MPClient: cleaning up background resources
(MainProcess pid=2) INFO 10-14 07:32:26 [core_client.py:769] [shutdown] MPClient: complete

Verification

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

Measurement

Duration1 m 47 s measured
Cost on A10 PCIe 24 GB$ 0.032698 /run measured
Cost per unit$ 0.026195 per 1M tokens (steady state, excluding 98 s startup) measured

Use sample