firecrawl-cost-tuning
Installation
SKILL.md
Firecrawl Cost Tuning
Overview
Firecrawl charges credits per operation: 1 credit per scrape, 1 per crawled page, 1 per map call, and variable credits for extract (LLM usage). An unbounded crawl on a large site can consume thousands of credits in minutes. This skill covers concrete techniques to reduce credit consumption by 50-80%.
Credit Cost Table
| Operation | Credits | Notes |
|---|---|---|
scrapeUrl |
1 | Per page, any format |
crawlUrl |
1 per page | Each discovered page costs 1 credit |
mapUrl |
1 | Regardless of URLs returned |
batchScrapeUrls |
1 per URL | Same as individual scrape |
extract |
5+ | LLM processing adds cost |
Instructions
Step 1: Always Set Crawl Limits
import FirecrawlApp from "@mendable/firecrawl-js";