Example

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 · T4 PCIe 16 GB$ 0.004616 /job stale lowest cost
  2. Google Cloud · L4 PCIe 24 GB$ 0.005919 /job stale
  3. Google Cloud · L4 PCIe 24 GB$ 0.00799 /job stale
  4. Google Cloud · L4 PCIe 24 GB$ 0.008012 /job stale
  5. Google Cloud · L4 PCIe 24 GB$ 0.008633 /job stale
  • Lowest cost
  • Other offers

Source: Google Cloud · rate × runtime · 2026/11/24 · 24 of 24 spot offers have a job cost · 5 of 24 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. 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