Use case, price read 2026-12-01 11:44:53 UTC
Scraping on the cheapest cloud
Scraping fits a 4 vCPU machine (8 GB+ RAM). The cheapest 4 vCPU machine (8 GB+ RAM) on the CloudSwap board right now is $0.046/h on Vast.ai (South Korea, KR), read 2026-12-01 11:44:53 UTC. A 2-hour job costs about $0.09 there, plus start-up time.
The job shape
Fetch and parse public pages in batches. A crawl job takes a list of URLs, fetches them politely and writes the parsed records out. It needs a few CPUs and a lot of waiting, so a small machine fits.
Spec: 4 vCPU, 8 GB memory, 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 -s https://cloudswap.ai/api/quote \
-H 'content-type: application/json' \
-d '{"vcpus":4,"mem_gb":8,"hours":2,"spot_ok":true}'Use cloudswap to quote a 4 vCPU, 8 GB 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.
{
"vcpus": 4,
"mem_gb": 8,
"hours": 2,
"spot_ok": true,
"command": "pip install -q httpx selectolax && python -c \"import urllib.request as u; exec(u.urlopen('https://example.com/your_crawler.py').read())\"",
"image": "python:3.12-slim",
"max_hours": 3.0,
"label": "scraping"
}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.
Can I pick where the requests come from?
Yes, roughly. Set "regions" to "us", "eu" or "asia" to keep the machine in that part of the world.
What are the rules?
Follow each site's robots.txt and terms, and keep request rates low.
Make it cheap and safe
- Write records out in chunks, so a stop loses one chunk.
- Keep request rates low and respect robots.txt.
- Pick regions near the sites you fetch with the regions field.
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