AI • Science • Technology • Future

Side Projects

The Real Cost of Structured Extraction

Image from the original article
Featured image: original publisher image. Via original publisher.

A common pricing claim in web scraping APIs is ‘1 credit per page.’ This sounds simple. But it often hides a deeper cost structure. Source: dev.to.

The Illusion of a Simple Rate

Many vendors advertise a rate like ‘1 credit per page.’ At first glance, this seems like a clear, predictable cost.

However, the actual cost depends on what data you extract. A basic scrape to Markdown uses one credit. A structured output — such as JSON or metadata — adds four more credits per page. Enhanced features like link extraction or content categorization can push the total to up to nine credits per page.

These multipliers are not hidden. They are explicitly stated in the vendor’s own documentation. But they are rarely emphasized in pricing summaries or promotional materials.

For example, Firecrawl, a widely used web scraping API, states in its public billing documentation that a basic scrape to Markdown costs one credit per page. When the same request is made with structured output, the cost increases to five credits per page. With additional features, it can reach as much as nine credits per page. This means that for every page scraped with structured data, the effective cost is not one credit — it is five to nine times the baseline.

Real-World Pricing Breakdown

Firecrawl offers a Hobby plan at $19 per month for 5,000 credits.

However, when structured output is requested, the cost rises. At five credits per page, the effective rate becomes $0.019 per page. With enhanced options, it reaches $0.034 per page.

That is five to nine times the rate you would calculate by simply dividing $19 by 5,000.

Page2MD, a tool developed by the NewKwLab team, offers a Pro plan at $9 per month for 5,000 pages. Since it charges one credit per page regardless of output format and includes no surcharge for structured data, the effective cost per page is $0.0018 — significantly lower than Firecrawl’s rate for structured output.

Comparing Vendors: Firecrawl vs. Page2MD

When evaluating tools, the NewKwLab team focused on actual billing rules rather than headline prices.

  • Base unit: Firecrawl charges 1 credit per page for Markdown. Page2MD charges 1 credit per page for any format.
  • Structured output: Firecrawl adds 4 credits for JSON output. Page2MD offers no such surcharge.
  • Failed requests: Firecrawl charges for 403 or 404 errors. Page2MD does not charge for failed requests.
  • Unused quota: Both plans expire monthly. No credits roll over.
  • Effective cost: For structured data, Firecrawl’s rate is $0.019–$0.034 per page. Page2MD’s Pro plan costs $0.0018 per page.

The most critical metric for any pipeline is the effective cost per page — not the headline rate. This is the figure that determines real budgeting accuracy.

A Real-World Test

The team conducted a live test on Page2MD using the Wikipedia page on Markdown.

Image from the original article
original publisher image. Via original publisher. · Source

The response returned 45,011 characters of clean Markdown. The response header clearly showed ‘Pages=1’ — one page, one credit.

For the same page, Firecrawl’s documented rates indicate a 5-credit cost for structured output — a rate of $0.019 to $0.034 per page.

During a separate test, a deliberately non-existent Wikipedia page was requested. Page2MD returned an error with ‘Pages=0’ — no charge. In contrast, Firecrawl charges for any failed request, regardless of error type.

This distinction becomes critical at scale.

What This Means for Teams

Before selecting a tool, teams should convert credits to pages based on their actual use case.

  • If your workflow only requires plain Markdown, the headline rate is accurate and reliable.
  • If you are extracting structured JSON — the typical use case in LLM pipelines — divide your credit allowance by five to nine, not by one.
  • Ask whether failed requests are billed. At scale, 5–10% of URLs typically fail. That cost adds up quickly and is often overlooked.
  • Ask whether unused credits roll over. Spiky workloads — such as backfilling or batch processing — can waste credits due to monthly expiration.

Pricing that can be stated in one clear sentence — such as ‘one page costs one credit, failures are free’ — is easier for finance teams to verify against actual invoices. Multiplier tables, while detailed, are often difficult to translate into real-world budgeting.

Firecrawl remains a strong option for raw scraping power — particularly when dealing with hostile sites or high-volume crawling. However, for teams building LLM pipelines that convert web pages into structured data, the multiplier math is the decisive factor.

For more on how to read vendor documentation before buying, see our guide on reading provider docs before buying.

For a real-time example of structured extraction, visit Wikipedia’s Markdown page.

Learn more about Page2MD at RapidAPI.

Final Recommendation

Don’t rely on headline pricing alone. Always examine the full billing rules. The real cost of structured extraction is not in the number of credits — it’s in how many pages you actually get per credit.

For teams building LLM pipelines, structured data extraction is not a simple one-to-one conversion. It requires a nuanced understanding of cost multipliers, failure handling, and credit expiration. Without this, budgets can be misaligned with actual usage, leading to unexpected overruns or underutilized capacity.

Sources & further reading

Featured image: original publisher image. Via original publisher. Image source