Use case, price read 2026-12-01 11:44:53 UTC

Run image, video and transcription queues on the cheapest GPU

Quote Stable Diffusion, video generation and Whisper batch jobs by API. CloudSwap finds the cheapest fitting GPU across clouds. Prepaid credits. The cheapest 1x L40S GPU on the CloudSwap board right now is $0.632/h on Vast.ai (Israel, IL), read 2026-12-01 11:44:53 UTC.

8 hours of image or transcription work on 1x L40S

Price per hour x hours
OptionPer hourHoursCostSource
AWS g6e.xlarge (1x L40S), on-demand$1.86/h8$14.89AWS list price, read 2026-11-30, instances.vantage.sh
CloudSwap, 1x L40S 48GB on Shadeform (Massed Compute)$1.08/h8$8.62CloudSwap price measured 2026-12-01 x 8 hours
CloudSwap, 1x RTX 4090 24GB on Vast.ai$0.310/h8$2.48CloudSwap price measured 2026-12-01 x 8 hours. community host; image pull took about 15 minutes on this host
CloudSwap, cheapest 1x L40S GPU on the board today (Vast.ai)$0.632/h8$5.06CloudSwap price on the board today, read 2026-12-01 11:44:53 UTC. Nearest board shape, community host

Plus about 3.5 minutes of start-up per job, measured 2026-12-01 (median of 4 runs).

How to read the examples

On our own 16 vCPU benchmark of 2026-11-30, the offers CloudSwap picked cost 63% to 72% less per run than AWS on-demand direct (the runs).

The job shape

Work through a queue of image generations, video clips or audio files to transcribe. Each item or batch is a stateless job: pull the inputs, run the model, upload the results.

Spec: 8 vCPU, 32 GB memory, 1x L40S, about 2 hours, spot allowed.

Price it

The quote ranks every offer for this exact spec by cost per run. Quotes are free today and need no key.

curl
curl -s https://cloudswap.ai/api/quote \
  -H 'content-type: application/json' \
  -d '{"vcpus":8,"mem_gb":32,"gpu_type":"L40S","gpu_count":1,"hours":2,"spot_ok":true}'
Or ask your agent (MCP)
Use cloudswap to quote a 8 vCPU, 32 GB, 1x L40S job that runs 2 hours. Spot is OK.

Run it

When running jobs opens, save the job as job.json and send it with your API key. CloudSwap runs it on the cheapest fitting machine on Vast.ai, RunPod or Shadeform, paid from prepaid credits.

job.json
{
  "vcpus": 8,
  "mem_gb": 32,
  "gpu_type": "L40S",
  "gpu_count": 1,
  "hours": 2,
  "spot_ok": true,
  "command": "git clone --depth 1 https://github.com/you/your-pipeline app && cd app && pip install -q -r requirements.txt && python worker.py --batch $BATCH",
  "image": "pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime",
  "max_hours": 3.0,
  "label": "ai-media-pipelines"
}
curl
export CLOUDSWAP_API_KEY=cs_live_...
curl -s https://cloudswap.ai/api/jobs \
  -H "Authorization: Bearer $CLOUDSWAP_API_KEY" \
  -H 'content-type: application/json' \
  -d @job.json
Not open yet

Running jobs is not open to everyone yet. Until it opens, this call answers jobs_closed. You can buy credits when running jobs opens to everyone. Quotes are free today.

Our data has faces and voices. Can it stay in Europe?

Set "regions": ["eu"] and only offers in Europe are used. Add "trust": "datacenter" for datacenter hosts only. This is routing, not a compliance certificate.

How long is the cold start?

Median start-up we measured on GPU machines: 210 seconds, machine boot plus image pull (2026-12-01, 4 runs). Start-up time is billed and counted in each quote's cost per run. On 2026-11-30 our 16 vCPU runs billed 10 to 153 seconds beyond the job itself, by provider.

Is an RTX 4090 enough?

If the model fits in 24 GB of GPU memory, often yes. Quote both: the quote ranks by cost per run.

Make it cheap and safe

  • Send one job per batch of items, sized to finish well inside 4 hours.
  • Upload results as each item finishes, so a stop loses one item.
  • Pass the batch number as an env value, so a failed batch can be sent again alone.

Related

Price your exact job

Add CloudSwap to your agent. It sends the job spec and gets the cheapest fit, ranked by cost per run. Quotes are free today and need no sign-up.

Get an API keyRead the docs

Claude Code
claude mcp add --transport http cloudswap https://cloudswap.ai/mcp