| name | firecrawl-cost-tuning |
| description | Optimize Firecrawl costs through crawl limits, format selection, caching, and credit monitoring.
Use when analyzing Firecrawl billing, reducing API costs,
or implementing credit budget alerts.
Trigger with phrases like "firecrawl cost", "firecrawl billing",
"reduce firecrawl costs", "firecrawl pricing", "firecrawl credits", "firecrawl budget".
|
| allowed-tools | Read, Grep |
| version | 1.11.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","firecrawl","api","monitoring","cost-optimization"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
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";
const firecrawl = new FirecrawlApp({
apiKey: process.env.FIRECRAWL_API_KEY!,
});
await firecrawl.crawlUrl("https://docs.large-project.org");
await firecrawl.crawlUrl("https://docs.large-project.org", {
limit: 50,
maxDepth: 2,
includePaths: [],
: [, ],
: { : [] },
});