firecrawl-cost-tuning

Featured

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".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ```typescript import FirecrawlApp from "@mendable/firecrawl-js"; const firecrawl = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY!, }); // BAD: no limit — could crawl 100K pages await firecrawl.crawlUrl("https://docs.large-project.org"); // Cost: potentially 100,000+ credits // GOOD: bounded crawl await firecrawl.crawlUrl("https://docs.large-project.org", { limit: 50, // max 50 pages maxDepth: 2, // only 2 levels deep includePaths: ["/api/*"], // only API docs excludePaths: ["/blog/*", "/changelog/*"], scrapeOptions: { formats: ["markdown"] }, }); // Cost: max 50 credits ``` ### Step 2: Use Scrape for Known URLs Instead of Crawl ```typescript // If you know which pages you need, don't crawl — sc...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

firecrawl-performance-tuning

Optimize Firecrawl scraping performance with caching, batch scraping, and format selection. Use when experiencing slow scrapes, optimizing credit usage per page, or building high-throughput scraping pipelines. Trigger with phrases like "firecrawl performance", "optimize firecrawl", "firecrawl latency", "firecrawl caching", "firecrawl slow", "firecrawl batch".

2,266 Updated today
jeremylongshore
AI & Automation Featured

firecrawl-rate-limits

Implement Firecrawl rate limiting, backoff, and request queuing patterns. Use when handling 429 errors, implementing retry logic, or optimizing API request throughput for Firecrawl. Trigger with phrases like "firecrawl rate limit", "firecrawl throttling", "firecrawl 429", "firecrawl retry", "firecrawl backoff".

2,266 Updated today
jeremylongshore
AI & Automation Featured

firecrawl-enterprise-rbac

Configure Firecrawl team access control with per-key credit limits and domain restrictions. Use when managing multiple API keys per team, implementing credit budgets per consumer, or controlling which domains each team can scrape. Trigger with phrases like "firecrawl RBAC", "firecrawl teams", "firecrawl enterprise", "firecrawl access control", "firecrawl permissions".

2,266 Updated today
jeremylongshore
AI & Automation Featured

firecrawl-observability

Monitor Firecrawl scraping pipelines with metrics, credit tracking, and quality alerts. Use when implementing monitoring for Firecrawl operations, setting up dashboards, or configuring alerting for scrape failures and credit consumption. Trigger with phrases like "firecrawl monitoring", "firecrawl metrics", "firecrawl observability", "monitor firecrawl", "firecrawl alerts".

2,266 Updated today
jeremylongshore
AI & Automation Featured

firecrawl-reliability-patterns

Implement Firecrawl reliability patterns: circuit breakers, crawl fallbacks, and content validation. Use when building fault-tolerant scraping pipelines, implementing crawl-to-scrape fallback, or adding content quality gates to Firecrawl integrations. Trigger with phrases like "firecrawl reliability", "firecrawl circuit breaker", "firecrawl fallback", "firecrawl resilience", "firecrawl fault tolerant".

2,266 Updated today
jeremylongshore