Use case, price read 2026-12-01 11:44:53 UTC
Run batch inference and fine-tunes on the cheapest GPU that fits
One API finds the cheapest fit for each GPU job across AWS spot, RunPod, Vast.ai and more. 63-72% under AWS on-demand on our runs. Prepaid credits. The cheapest 1x A100 GPU in a datacenter on the CloudSwap board right now is $1.54/h on Shadeform (Hyperstack) (CA, Montreal), read 2026-12-01 11:44:53 UTC.
Fine-tune a 7B model on 1x A100 40GB for 6 hours
Price per hour x hours| Option | Per hour | Hours | Cost | Source |
|---|---|---|---|---|
| AWS p4d.24xlarge (8x A100 40GB), on-demand, per-GPU share | $2.74/h | 6 | $16.47 | AWS list price, read 2026-11-30, instances.vantage.sh |
| AWS p4d.24xlarge (8x A100 40GB), on-demand, whole machine | $21.96/h | 6 | $131.75 | AWS list price, read 2026-11-30, instances.vantage.sh |
| AWS p4d.24xlarge (8x A100 40GB), spot, per-GPU share | $1.88/h | 6 | $11.29 | AWS list price, read 2026-11-30, instances.vantage.sh, moves hourly |
| CloudSwap, 1x A100 PCIe 40GB on Vast.ai | $0.704/h | 6 | $4.22 | CloudSwap price measured 2026-12-01 x 6 hours |
| CloudSwap, cheapest 1x A100 GPU on the board today (Vast.ai) | $0.448/h | 6 | $2.69 | CloudSwap 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).
Batch inference on 1x H100 for 10 hours
Price per hour x hours| Option | Per hour | Hours | Cost | Source |
|---|---|---|---|---|
| AWS p5.48xlarge (8x H100 SXM), on-demand, per-GPU share | $6.88/h | 10 | $68.80 | AWS list price, read 2026-11-30, instances.vantage.sh |
| AWS p5.48xlarge (8x H100 SXM), spot, per-GPU share | $3.76/h | 10 | $37.59 | AWS list price, read 2026-11-30, instances.vantage.sh, moves hourly |
| CloudSwap, 1x H100 PCIe 80GB on Shadeform (Latitude) | $2.19/h | 10 | $21.90 | CloudSwap price measured 2026-12-01 x 10 hours |
| CloudSwap, cheapest 1x H100 GPU on the board today (RunPod) | $2.19/h | 10 | $21.89 | CloudSwap price on the board today, read 2026-12-01 11:44:53 UTC. Nearest board shape, community host |
Our measured H100 run was an H100 PCIe. AWS p5 machines have H100 SXM, a faster part. Plus about 3.5 minutes of start-up per job, measured 2026-12-01 (median of 4 runs).
How to read the examples
AWS sells A100 and H100 only in 8-GPU machines (AWS). A 1-GPU job pays for the whole machine unless you pack 8 jobs on it. The per-GPU share is 1/8 of the machine price.
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
Run a model over a backlog of inputs, or fine-tune an open model on your data. Each batch or training part reads its inputs, writes its outputs or checkpoints out and keeps nothing on the machine, so it can run again if a machine stops.
Spec: 16 vCPU, 64 GB memory, 1x A100, about 4 hours, datacenter hosts only. Without the datacenter rule the lowest is $0.448/h on Vast.ai (community host).
Price it
The quote ranks every offer for this exact spec by cost per run. Quotes are free today and need no key.
curl -s https://cloudswap.ai/api/quote \
-H 'content-type: application/json' \
-d '{"vcpus":16,"mem_gb":64,"gpu_type":"A100","gpu_count":1,"hours":4,"trust":"datacenter"}'Use cloudswap to quote a 16 vCPU, 64 GB, 1x A100 job that runs 4 hours. Datacenter hosts only.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.
{
"vcpus": 16,
"mem_gb": 64,
"gpu_type": "A100",
"gpu_count": 1,
"hours": 4,
"trust": "datacenter",
"command": "git clone --depth 1 https://github.com/you/your-repo app && cd app && pip install -q -r requirements.txt && python train.py --resume-from-last",
"image": "pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime",
"max_hours": 4,
"label": "batch-inference"
}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.jsonRunning 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.
Is my data safe on community GPUs?
Set "trust": "datacenter" and the quote and the job use datacenter hosts only. Each attempt runs on a newly launched machine, and CloudSwap destroys that machine when the attempt ends. CloudSwap has no SOC 2 report today.
Spot jobs get killed. What happens?
If a launch fails, a spot machine is taken back or a job sends no result, the scheduler tries the next offer, never one that costs more than 2x the first. The job starts again from the beginning, so save checkpoints to your own storage and resume from them.
Do you have SOC 2?
No. CloudSwap has no SOC 2 report today.
How long can a job run?
Up to 4 hours per job. Split longer training into resumable parts.
Make it cheap and safe
- Split the backlog into batches that finish in under 4 hours, the job time limit.
- Checkpoint training at least every 30 minutes to your own storage.
- Leave trust out to see the lowest price, including community hosts.
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.
claude mcp add --transport http cloudswap https://cloudswap.ai/mcp