Scraping & Web‑Data TCO Calculator
Prices come from the measured effective cost per 1,000 valid Markdown pages in run layer2-2026-12, not from list prices. Silent failures are already inside every rate: a 200 with an unusable body costs you a retry.
- Tier 1 rate
- Public and JS pages. Jina Reader $0.730 or Firecrawl $0.830 per 1k valid.
- Tier 2 rate
- Firecrawl $0.855 live or $0.854 cached, plus failed pages retried on the fallback at its rate.
- Jina above 100k/mo
- The keyless endpoint is 20 RPM. Past ~100k Tier 1 pages a month we assume a paid key.
Fetches every page now. Median 5,064 ms, 94.3% valid on WAF targets.
- Tier 1 · 300,000 pages × $0.730
- $219
- Tier 2 · 200,000 pages × $0.962 · 5.7% → Bright Data
- $192
300,000 Tier 1 pages/mo is past what the keyless 20 RPM endpoint handles reliably, so this stack assumes a paid Jina API key. Prefer no key? Route Tier 1 to Firecrawl ($0.830/1k).
Rates are measured effective $/1k from run layer2-2026-12, silent failures included.
Head-to-head at your volume
Two vendors carrying all of the traffic above. The choice is kept in the address (?a=&b=), so a comparison link opens with the same pair, volume and mode.
Firecrawl costs $474 less per month (−53.0%), $5,690 a year, at 500,000 pages and 40% WAF.
All 7 vendors at your volume
The same traffic through each vendor alone, at its measured effective rate. Updates with the controls above.
| Vendor | Tier 1 est. | Tier 2 est. | Combined monthly | Effective $/1k | Notes |
|---|---|---|---|---|---|
Hybrid routing stack Jina Reader · paid API key + Firecrawl + Bright Data | $219 | $192 | $412 | $0.823 | Recommended route from this run |
FirecrawlCheapest single vendor Free · 1k credits | $249 | $171 | $420 | $0.840 | Tier 2 priced live, maxAge: 0AB |
Free tier · 5k cr + $2 | $519 | $375 | $894 | $1.79 | KYC needed for restricted targets · Tier 2 p95 53.6 sAB |
Trial · 1k credits | $551 | $1,203 | $1,754 | $3.51 | Peak Tier 1 hidden tax 1.88×AB |
Free tier · 5k cr/mo | $414 | $1,577 | $1,991 | $3.98 | REQS001 on sandbox domains · Tier 2 p95 43.6 sAB |
Keyless · 20 RPM | $219 | Tier 1 only | — | — | Tier 1 only · needs a paid API key above ~100k pages/moAB |
Self-hosted · VPS + proxy est. | $753 | Tier 1 only | — | — | Tier 1 only · self-hosted est. (VPS + proxy)AB |
Free · $5 credit/mo | $2,088 | HTTP 402 — Free tier blocked | — | — | Tier 2: HTTP 402 — Free tier blockedAB |
Single-vendor rows put all 500,000 pages through one API at its measured effective rate. Rows without a Tier 2 price show — when WAF share is above 0%.
Hybrid routing snippet
Open router code for the stack above. It mirrors your Firecrawl mode and Tier 1 / Tier 2 choices, and treats a 200 with fewer than 80 words as a failure, the same rule as the benchmark.
# Hybrid scraping router · Tier 1 → Jina Reader → Firecrawl · Tier 2 → Firecrawl v2 (maxAge: 0) → Bright Data
# Generated by agentmark.tech/calculator · run layer2-2026-12 · MIT
import os
import re
import httpx
MIN_WORDS = 80 # same validity rule as the benchmark
def is_valid(md: str) -> bool:
words = len(re.findall(r"[A-Za-z]{2,}", md or ""))
return words >= MIN_WORDS and not re.search(r"Just a moment|Loading\.\.\.", md[:400])
def jina(url: str) -> str:
headers = {"X-Return-Format": "markdown"}
if key := os.environ.get("JINA_API_KEY"): # keyless endpoint = 20 RPM
headers["Authorization"] = f"Bearer {key}"
r = httpx.get(f"https://r.jina.ai/{url}", headers=headers, timeout=30)
r.raise_for_status()
return r.text
def firecrawl(url: str) -> str:
r = httpx.post(
"https://api.firecrawl.dev/v2/scrape",
headers={"Authorization": f"Bearer {os.environ['FIRECRAWL_API_KEY']}"},
json={"url": url, "formats": ["markdown"], "maxAge": 0}, # live fetch, no 48h cache
timeout=60,
)
r.raise_for_status()
return r.json().get("data", {}).get("markdown", "")
def brightdata(url: str) -> str:
r = httpx.post(
"https://api.brightdata.com/request",
headers={"Authorization": f"Bearer {os.environ['BRIGHTDATA_API_KEY']}"},
json={"zone": os.environ.get("BRIGHTDATA_ZONE", "web_unlocker1"), "url": url,
"format": "raw", "data_format": "markdown"},
timeout=60, # p95 was 53.6 s on WAF targets
)
r.raise_for_status()
return r.text
ROUTES = {1: [jina, firecrawl], 2: [firecrawl, brightdata]}
def scrape(url: str, waf: bool) -> str:
"""Try providers in order. A 200 with an unusable body counts as a failure."""
errors = []
for fetch in ROUTES[2 if waf else 1]:
try:
md = fetch(url)
if is_valid(md):
return md
errors.append(f"{fetch.__name__}: silent failure")
except httpx.HTTPError as e:
errors.append(f"{fetch.__name__}: {e}")
raise RuntimeError("; ".join(errors))
Drift Alerts
Instant multi-vendor fallback router (GitHub Gist) + monthly WAF & pricing drift alerts.
Alerts go out when a WAF update starts breaking an API we track or a vendor changes credit pricing. Nothing else.
- Fallback router, Python + TypeScript
- instant, on signup
- WAF drift: an API starts failing
- when it happens
- Credit and pricing changes
- monthly digest
Private benchmark on your own targets
For teams scraping more than 1M pages a month. We run this harness against your domains and WAF mix and hand back a routing report: which API per domain, at what effective cost, with raw logs.
- Fixed fee
- Starts at $2,500
- Turnaround
- 5 business days
- Scope
- Up to 500 target URLs
- You get
- Routing report + raw logs