Engineering | Cost analysis

What it costs to train our dog-sound model on cloud GPUs.

Before renting GPUs to train PetSpeak's bark interpreter, we ran the numbers. Here is the honest breakdown: what one training run actually costs, and why the biggest GPU is the wrong buy for a model this size. Grounded in a measured throughput benchmark of our real pipeline and live RunPod pricing (July 2026).

The bottom line

A full training run costs about a third of a dollar

$0.33

Per run on a right-sized GPU (A40 / RTX 3090)

~35 min

Wall-clock per run, billed per-second

~$7

To run 20 tuning experiments

One end-to-end run downloads ~15,000 real dog barks, auto-labels them with an AudioSet-pretrained teacher model, trains our classifier, and exports the deployable model for web and iOS. Here is where that money goes.

Cost per run

Right-sizing beats horsepower

RunPod on-demand rates observed July 2026, priced against a conservative 0.75-hour bill. The bars are relative cost — the analysis is visible at a glance.

RTX 4000 Ada20 GB · $0.26/hr
$0.20
L424 GB · $0.39/hr
$0.29
A4048 GB · $0.44/hr
$0.33
RTX 309024 GB · $0.46/hr
$0.35
RTX 409024 GB · $0.69/hr
$0.52
L40S48 GB · $0.99/hr
$0.74
A100 PCIe80 GB · $1.39/hr
$1.04
H100 SXM80 GB · $2.99/hr
$2.24
B200180 GB · $5.89/hr
$4.42

Best value mid-tier 24–48 GB cards. Overkill flagship GPUs cost 6–18× more for zero benefit on a model this small — a $0.44/hr A40 finishes in the same wall-clock as a $2.99/hr H100, or a $5.89/hr B200.

Where the time goes

One run on a mid-tier GPU

Download 15k clips (network-bound)~5–15 min
AudioSet auto-labeling (40–100 clips/sec)~3–6 min
Train MobileNetV3 (40 epochs)~10–20 min
Export ONNX + Core ML ~1–2 min
Total wall-clock (billed)~30–45 min

Measured: our AudioSet teacher labels barks at 0.80 clips/sec on a laptop CPU — about 5.2 hours for 15,000 clips. That five-hour gap is the entire case for renting a GPU: the labeling model is a transformer, and transformer batch inference is exactly what GPUs accelerate, dropping labeling to a few minutes.

The takeaway

We can train for the price of a coffee

The instinct is to reach for the biggest GPU. For a model this size, the data says the opposite: a $0.44/hr card matches the flagship on wall-clock and wins decisively on cost per run. Right-sizing — not raw horsepower — is the analysis. Cheap runs are why we iterate on the model instead of rationing GPU time.

Method: CPU throughput measured in-repo; GPU runtimes estimated from that baseline plus standard transformer-inference speedups, against a conservative 0.75-hour bill. Prices are RunPod on-demand rates observed July 2026 (runpod.io/pricing); Community Cloud and spot instances run cheaper still. A ~5 GB storage volume is ≈ $0.25/month, negligible per run. Re-check current rates before quoting.