Build vs buy
Build vs buy a web scraper: the real cost, line by line.
Build when the job is narrow and stable: a few sites, plain HTML, no blocks, low volume. Then the free, open-source Crawl4AI library on one small server is often the cheapest answer. Buy when pages need a real browser, sites block plain requests, or many sites must run every day: then proxy traffic, browser time and engineer hours cost more than an API.
1What does "build" mean for a web scraper?
Fetching one page is easy. A crawler that runs every day needs more parts: a browser pool for pages that need JavaScript, proxies for sites that block datacenter addresses, retries and fallbacks, a queue, storage, and someone who fixes it when a site changes. We maintain both the open-source Crawl4AI library and Crawl4AI Cloud, so here is what each one leaves to your team.
| Part | Self-hosted library | Crawl4AI Cloud |
|---|---|---|
| The engine (fetch, browser, Markdown) | included, Apache-2.0 | the same engine |
| Proxies | you buy and rotate them | included |
| Real browsers at scale | you run them | included |
| Handling sites that block requests | your team | ours |
| Failed calls | your cost | free |
| Regions | where you host | EU, Singapore, US |
| Support | GitHub and Discord | email, reply in 4 business hours to 2 business days by plan |
2What are the cost inputs of a self-hosted crawler?
These are public prices and public numbers. Each one links to its source and says when we read it. Put your own numbers in the calculator below when you have them.
| Input | Public number | Source, read 10 November 2026 |
|---|---|---|
| Residential proxy traffic | $8 per GB pay as you go; $7, $6 and $5 per GB on the $499, $999 and $1,999 monthly plans | Bright Data pricing (the page also shows a 50% coupon for 3 months) |
| Residential proxy traffic | $7.35 per GB for 1 GB, $5.51 per GB for 10 GB, pay as you go; $1.84 per GB from 10 TB | IPRoyal pricing |
| Hosted browser time | $0.12 per browser hour after 100 hours ($20 plan); $0.10 after 500 hours ($99 plan) | Browserbase pricing |
| Servers | shared vCPU from €6.49 a month; dedicated vCPU from €43.49 a month, without VAT | Hetzner Cloud |
| Page weight (what a browser downloads) | median inner page 1,866 KB; median home page 2,710 KB (July 2025) | HTTP Archive Web Almanac 2025 |
| Engineer pay | US software developer median $135,980 a year (May 2025), about $65 an hour before overhead | US Bureau of Labor Statistics |
| Blocked requests | at a 30% block rate, each good page takes 1 / 0.7 = 1.43 tries | arithmetic |
Our side, from GET /v1/prices on the same day: a page already in our archive $0.05, a plain page $0.10, a real browser page $0.50 and a hard site $2.00 per 1,000 pages. A failed page is free. Plans: Free with 1,000 credits a month, Starter $10 with 10,000, Builder $99 with 125,000, Scale $499 with 750,000. Extra credits on a plan cost $1.00, $0.79 and $0.67 per 1,000 credits. One credit is $0.001 at list price.
3What would my crawl cost each way?
Change any number. The self-hosted side adds browser time, residential proxy traffic for the hard pages, servers and engineer time. The Crawl4AI side counts credits by the effort each page needed and picks the cheapest plan.
The formula. Hard tries = pages × hard share / (1 − block rate). Browser hours = (pages × browser share + hard tries) × seconds per page / 3,600. Proxy GB = hard tries × MB per page / 1,000. Self-hosted = browser hours × $ per hour + proxy GB × $ per GB + servers + engineer hours × rate. Crawl4AI credits = plain pages × 0.1 + browser pages × 0.5 + hard pages × 2; a failed page is 0.
The defaults are an example, not a measurement. Plain pages on your own servers cost only server time, so they sit in the servers line. The browser hours use a hosted browser price; your own servers can be cheaper per hour, so put your number in.
4A worked example: one million pages a month
This is the calculator's default case. It is an example mix, not a measurement of any customer: 1,000,000 pages a month, 80% plain, 15% need a browser, 5% are hard sites that block 30% of tries.
| Line | Self-hosted | Crawl4AI Cloud |
|---|---|---|
| Browser time | 615 h × $0.10 = $61.51 | included |
| Residential traffic | 71,429 tries × 1.87 MB = 133.6 GB × $5.51 = $735.98 | included |
| Servers | $50 (example) | included |
| Engineer time | 20 h × $65 = $1,300 (example) | none for the crawling |
| Credits | - | 800,000 × 0.1 + 150,000 × 0.5 + 50,000 × 2 = 255,000 |
| A month | $2,147.49 | $201.70 on Builder: $99 + 130,000 extra credits × $0.79 per 1,000 |
The largest line on the self-hosted side is engineer time, then residential traffic. Take both away: with no hard sites and no engineer time, the same million pages cost about $92 self-hosted (browser time $41.67 and servers $50) against $126.65 on Builder (160,000 credits). That is the case where building wins.
A small case: a 10,000-page docs site, all plain pages, fetched once a month, is 1,000 credits. That fits the free plan. It also runs well on the library on one small server.
6Can I build part of it and buy the rest?
Yes. Many teams run the library for the easy sites and send only the hard pages to the Cloud. The output is the same Markdown from the same engine, so the rest of the pipeline does not change. You pay the Cloud only for the pages that needed it, and nothing for the ones that failed.
7What about a dedicated fleet or our own network?
On Enterprise we run the same engine as a dedicated fleet, inside your network, or as a finished data pipeline. A dedicated fleet is quoted on your volume, billed yearly. If you already pay another provider, bring your invoice: we compare cost per 1,000 pages and the success rate on your hardest URLs in a one-week pilot.
8Questions
Is Crawl4AI Cloud the same engine as the open-source library?
Yes. Crawl4AI Cloud runs the open-source Crawl4AI engine, written by the same team. Nothing is forked. The Cloud adds the browsers, the proxies, the handling of sites that block requests, and the three regions.
Can I move back to self-hosting later?
Yes. The library is Apache-2.0 and stays open source. It produces the same Markdown, so the rest of your pipeline does not change.
How much proxy traffic does one page use?
A browser that loads every file of a page downloads the whole page weight. The HTTP Archive Web Almanac 2025 gives a median of 1,866 KB for an inner page and 2,710 KB for a home page. A plain fetch of the HTML alone is much smaller.
Do I pay for pages that fail on Crawl4AI Cloud?
No. A blocked page, a login wall, a site that does not answer and our own errors are not charged. In a job, URLs that never got an answer are refunded at the end.
When should I build it myself?
When the job is narrow and stable: a few sites, plain HTML, no blocks, low volume, and nobody loses money when it stops for a day. Then the free library on one small server is often the cheapest answer.
Next: RAG and knowledge for LLMs · market intelligence · pricing · credits docs