Methodology

How a run works, what counts as a valid page, how each price is derived, and how to reproduce every number.

Protocol

One runner, one window, the same 50 URLs in the same order for every vendor. Run layer2-2026-12 finished on 2026-11-29 (UTC) on harness v3.2.0. Requests are sequential per vendor, so every latency is a single-request latency rather than concurrent throughput.

Each vendor uses one documented JS-rendering and anti-bot configuration per tier — zero per-domain CSS selectors or custom Playwright scripts. When a vendor documents or defaults to multi-day caching, we run both the default and a forced live control, as with Firecrawl's maxAge: 0.

Two baskets

Basket What it holds URLs
A · Tier 1 Public pages: developer documentation, standards, JS-rendered SPAs, infinite scroll, XHR-loaded tables, and one redirect. Published verbatim in config/urls_public_a.json so anyone can replay them. 15
B · Tier 2 Private commercial pages behind Cloudflare (12), DataDome (8), Akamai (8), or Standard JS (7). Published strictly as WAF family + 8-character SHA-256 hash only. 35

What counts as a valid page

A response is valid only if the extracted main content holds at least 80 words of prose and passes three deterministic checks: it carries no WAF mitigation headers (cf-mitigated, x-datadome, PerimeterX), exposes no challenge markers in the head/title, and is not cookie-wall boilerplate (text_ratio < 0.005). Status codes do not decide validity: an HTTP 200 containing "Loading..." or a Turnstile page is a failure.

A silent failure is an HTTP 2xx response that fails validation. The silent failure rate is silent failures divided by all 2xx responses for that vendor and tier: the share of "successes" naive status-code retry logic never retries.

Cost metrics

nominal $/1k = entry-paid-plan price per credit × credits used per request × 1,000
effective $/1k = total cost ÷ valid pages × 1,000 (= nominal $/1k ÷ valid rate)
hidden tax = effective $/1k ÷ nominal $/1k

Worked example, ScrapingBee on Tier 1: 5 credits per JS render prices out at $0.980 per 1,000 requests. Only 53.3% of pages were valid (even re-testing public XHR targets with wait_browser=networkidle2 recovered 0 of 2), so each 1,000 valid pages cost $1.84. The hidden tax is $1.84 ÷ $0.980 = 1.88×.

Cost sources

Every price carries a provenance mark for its cost_source, matching the enum in the published dataset.

Mark cost_source Meaning
◆ api_header Vendor billing header or response usage block. For Firecrawl Tier 2 live it was also reconciled via GET /v2/team/credit-usage: 935 → 901 credits, 34 billed requests, 1 unbilled failure.
● measured_usage Billed tokens, compute units, or completed requests measured per run.
○ estimated_pricing Published price list, or the self-hosted VPS + residential proxy cost model. Labelled as an estimate everywhere it appears.

The live credit-ledger audit covered Firecrawl specifically. For the other six vendors, cost figures come from each vendor's per-response billing header, metered usage, or published self-hosted cost model.

Crawl4AI is the main estimate: $2.34 per 1,000 requests ($2.51 per 1,000 valid pages) comes from our configurable self-hosted model ($24/mo VPS amortized over 300k sustained pages/mo plus $4/GB residential proxy bandwidth with 3× browser asset overhead).

Fairness guardrails

  • Vendors don't pay for placement and can't edit scores.
  • We send a 48-hour pre-publication technical check so vendor engineering teams can flag misconfigurations; every flag and our response is logged publicly in the harness repository.
  • Affiliate links never change order or scores. Tables sort deterministically by effective cost, and incomplete runs ([INCOMPLETE n/total]) are disqualified in code from winner selection.
  • Failures are published with reason codes. Public Tier 1 failures include a one-line curl command to replay them.

What a run does not show

  • Throughput under high concurrency or sustained rate-limit bursting.
  • Paid-tier enterprise proxy pools where free/trial accounts hit KYC or plan gates.
  • Multi-month WAF drift — anti-bot rules update weekly, which Drift Alerts track.
  • Fine-grained table/layout formatting fidelity beyond main-prose extraction validity.

Reproduce the run

terminal METHODOLOGY.md ↗
git clone https://github.com/SirMacieq/agent-stack-benchmarks.git && cd agent-stack-benchmarks
python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt

# Offline dry-run validation on public Basket A (0 credits)
python harnesses/bench_layer2_scraping.py --dry-run --urls config/urls_public_a.json

# Firecrawl live WAF control pass (maxAge: 0)
python harnesses/bench_layer2_scraping.py --only-vendors firecrawl_live --debug-headers

# Replay public Tier 1 failures (Basket A URLs only, never Tier 2 targets)
bash repro/layer2-2026-12/curl_repro.sh

curl_repro.sh contains public Tier 1 (Basket A) URLs only. Basket B stays private so commercial targets cannot be allowlisted; its sanitized logs are published with waf_category:hash8 identifiers in /data/layer2-2026-12-runs.csv.

Changelog

Date Harness Change
2026-11-29 v3.2.0 Layer 2 initial live dataset (layer2-2026-12). Added paired Firecrawl maxAge: 0 live WAF pass and /v2/team/credit-usage ledger reconciliation (935 → 901).