DEV Community

Wei Bin
Wei Bin

Posted on

I audited my extraction API bill and found the multiplier — so I built one without it

I run small RAG pipelines for my own tools, and for a long time the web-extraction line on my bill never quite matched the "1 credit per page" headline I thought I had signed up for.

So I sat down and audited it. Two things were quietly multiplying the cost:

1. The format multiplier. One credit per page buys you Markdown. Ask for structured output and the same page suddenly costs around 5–9 credits. Nothing about the page changed — only the shape of the output.

2. Failed pages still bill. A dead link, a timeout, a page that returns nothing usable — still a credit. On a crawl of any real size, failures are not edge cases; they're a percentage of every run.

Using the public pricing docs of the tool I was comparing against (Firecrawl, checked November 2026): entry tier $19/month for 5,000 credits, Markdown at 1 credit/page, structured output pushing a page to roughly $0.019–$0.034. I should be clear: I don't hold an account there and didn't run their API — this is their published math, not a benchmark.

The rules I wanted instead

I built Page2MD with the billing rules printed on the box:

  • 1 page = 1 credit, in any output format. No structured-output surcharge.
  • A failed page = 0 credits. If the fetch fails, you pay nothing.
  • Every response carries its own receipt. The X-RapidAPI-Billing header (Pages=N) tells you exactly what that call cost, so you can audit it yourself instead of trusting a dashboard.

Pricing: free tier is 1,000 pages/month. Pro is $9/month for 5,000 pages — $0.0018 per page — with overage at $0.005/page.

What a real run looks like

Converting the Wikipedia "Markdown" page:

  • HTTP 200
  • 45,011 characters of clean Markdown — headings, links and lists preserved, boilerplate stripped
  • X-RapidAPI-Billing: Pages=1

And a dead link returns Pages=0. No charge.

Why so cheap?

Honestly: it's a focused tool. It does one thing — public web page in, clean Markdown out — and it's built for people feeding LLM and RAG pipelines who count per-page costs. If you need a full crawling platform with every extraction mode, the bigger tools earn their price. If you mostly need Markdown at scale, the multiplier is hard to justify.

Disclosure: Page2MD is my own product (NewKwLab), sold on RapidAPI. The free tier is here if you want to check the billing header yourself: https://rapidapi.com/binbin7418/api/page2md-url-to-clean-markdown-api?utm_source=devto&utm_medium=referral&utm_campaign=20261127-page2md-launch

If your extraction bill has a multiplier story of its own, I'd like to hear it in the comments.

Top comments (0)