[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7RQYT1WMXVTSNN7JVR3JH":3,"skill-same:01M6F7RQYT1WMXVTSNN7JVR3JH":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6F7RQYT1WMXVTSNN7JVR3JH","brightdata-cost-tuning",null,"Optimize Bright Data costs through tier selection, sampling, and usage monitoring.\nUse when analyzing Bright Data billing, reducing API costs,\nor implementing usage monitoring and budget alerts.\nTrigger with phrases like \"brightdata cost\", \"brightdata billing\",\n\"reduce brightdata costs\", \"brightdata pricing\", \"brightdata expensive\", \"brightdata budget\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbrightdata-cost-tuning\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"brightdata cost tuning","tuning","brightdata","cost","sampling","billing","trigger","io","alerts","optimize","selection","pricing","scraping","read","api","Budget","data","analyzing","monitoring","code","2026-11-10 10:12:30",false,"---\nname: brightdata-cost-tuning\ndescription: |\n  Optimize Bright Data costs through tier selection, sampling, and usage monitoring.\n  Use when analyzing Bright Data billing, reducing API costs,\n  or implementing usage monitoring and budget alerts.\n  Trigger with phrases like \"brightdata cost\", \"brightdata billing\",\n  \"reduce brightdata costs\", \"brightdata pricing\", \"brightdata expensive\", \"brightdata budget\".\nallowed-tools: Read, Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, scraping, data, brightdata]\ncompatible-with: claude-code\n---\n\n# Bright Data Cost Tuning\n\n## Overview\n\nOptimize Bright Data costs through product selection, caching, and usage monitoring. Bright Data charges per request (Web Unlocker, SERP API), per GB (Residential Proxy), or per page (Datasets). Choosing the right product and avoiding redundant requests is the primary cost lever.\n\n## Prerequisites\n\n- Access to Bright Data billing dashboard\n- Understanding of current scraping volumes\n- Usage monitoring configured (optional)\n\n## Pricing Model\n\n| Product | Pricing | Typical Cost | Best For |\n|---------|---------|-------------|----------|\n| Residential Proxy | Per GB transferred | $8-15\u002FGB | High-volume, simple pages |\n| Web Unlocker | Per successful request | $1-3\u002F1000 req | Anti-bot protected sites |\n| Scraping Browser | Per browser session | $5-10\u002F1000 sessions | JS-heavy SPAs |\n| SERP API | Per search | $2-5\u002F1000 searches | Search engine results |\n| Datasets (pre-built) | Per record | $0.001-0.01\u002Frecord | Bulk data (Amazon, LinkedIn) |\n| Web Scraper API | Per page | Varies by dataset | Custom async scraping |\n\n## Instructions\n\n### Step 1: Product Selection Cost Matrix\n\n```typescript\nfunction estimateMonthlyCost(config: {\n  product: 'residential' | 'web_unlocker' | 'scraping_browser' | 'serp_api';\n  requestsPerMonth: number;\n  avgPageSizeKB?: number;\n}) {\n  switch (config.product) {\n    case 'residential':\n      const gbTransferred = (config.requestsPerMonth * (config.avgPageSizeKB || 200)) \u002F 1_000_000;\n      return { cost: gbTransferred * 10, unit: 'GB', quantity: gbTransferred };\n    case 'web_unlocker':\n      return { cost: config.requestsPerMonth * 0.002, unit: 'requests', quantity: config.requestsPerMonth };\n    case 'scraping_browser':\n      return { cost: config.requestsPerMonth * 0.008, unit: 'sessions', quantity: config.requestsPerMonth };\n    case 'serp_api':\n      return { cost: config.requestsPerMonth * 0.003, unit: 'searches', quantity: config.requestsPerMonth };\n  }\n}\n\n\u002F\u002F Example: 50,000 product pages\u002Fmonth\nconsole.log(estimateMonthlyCost({ product: 'web_unlocker', requestsPerMonth: 50000 }));\n\u002F\u002F { cost: 100, unit: 'requests', quantity: 50000 }\nconsole.log(estimateMonthlyCost({ product: 'residential', requestsPerMonth: 50000, avgPageSizeKB: 300 }));\n\u002F\u002F { cost: 150, unit: 'GB', quantity: 15 }\n```\n\n### Step 2: Reduce Costs with Caching\n\n```typescript\n\u002F\u002F Response caching is the single biggest cost saver\n\u002F\u002F Cache policy by data freshness requirements\nconst CACHE_TTLS = {\n  product_price: 3600000,     \u002F\u002F 1 hour — prices change frequently\n  product_details: 86400000,  \u002F\u002F 24 hours — descriptions rarely change\n  search_results: 1800000,    \u002F\u002F 30 minutes — SERPs change often\n  static_page: 604800000,     \u002F\u002F 7 days — about\u002Fcontact pages\n};\n\n\u002F\u002F Track cache savings\nlet cacheSavings = 0;\nfunction trackCacheHit(product: string) {\n  const costPerRequest = { web_unlocker: 0.002, scraping_browser: 0.008, serp_api: 0.003 };\n  cacheSavings += costPerRequest[product] || 0.002;\n  console.log(`Cache savings this session: $${cacheSavings.toFixed(4)}`);\n}\n```\n\n### Step 3: Use Bulk APIs for Volume Jobs\n\n```typescript\n\u002F\u002F Individual requests: 50,000 requests * $0.002 = $100\n\u002F\u002F Web Scraper API: 1 trigger with 50,000 URLs = typically cheaper (volume discounts)\n\nasync function bulkScrapeForCost(urls: string[]) {\n  \u002F\u002F Batch into single trigger — one API call, lower cost\n  const response = await fetch(\n    `https:\u002F\u002Fapi.brightdata.com\u002Fdatasets\u002Fv3\u002Ftrigger?dataset_id=${DATASET_ID}&format=json`,\n    {\n      method: 'POST',\n      headers: {\n        'Authorization': `Bearer ${process.env.BRIGHTDATA_API_TOKEN}`,\n        'Content-Type': 'application\u002Fjson',\n      },\n      body: JSON.stringify(urls.map(url => ({ url }))),\n    }\n  );\n  return response.json();\n}\n```\n\n### Step 4: Usage Monitoring\n\n```typescript\nclass BrightDataUsageTracker {\n  private dailyRequests = 0;\n  private dailyCost = 0;\n  private readonly budgetAlert: number;\n\n  constructor(dailyBudgetUSD: number) {\n    this.budgetAlert = dailyBudgetUSD * 0.8;\n  }\n\n  track(product: string) {\n    this.dailyRequests++;\n    const costs = { web_unlocker: 0.002, scraping_browser: 0.008, serp_api: 0.003, residential: 0.0001 };\n    this.dailyCost += costs[product] || 0.002;\n\n    if (this.dailyCost > this.budgetAlert) {\n      console.warn(`BUDGET ALERT: Daily cost $${this.dailyCost.toFixed(2)} exceeds 80% of budget`);\n    }\n  }\n\n  report() {\n    return {\n      requests: this.dailyRequests,\n      estimatedCost: `$${this.dailyCost.toFixed(2)}`,\n      projectedMonthly: `$${(this.dailyCost * 30).toFixed(2)}`,\n    };\n  }\n}\n```\n\n### Step 5: Cost Reduction Checklist\n\n- [ ] Cache responses to avoid re-scraping same URLs\n- [ ] Use Residential Proxy for simple pages (cheaper per request)\n- [ ] Use Web Scraper API for 100+ URL bulk jobs\n- [ ] Use Datasets API for common targets (Amazon, LinkedIn) — pre-built scrapers\n- [ ] Set budget alerts in Bright Data CP > Billing\n- [ ] Monitor daily usage with tracker class above\n- [ ] Avoid Scraping Browser for pages that don't need JavaScript\n\n## Output\n\n- Product selection matching cost requirements\n- Response caching reducing redundant requests\n- Budget monitoring and alerting\n- Projected monthly cost estimates\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Unexpected charges | Using expensive product for simple pages | Switch to Residential Proxy |\n| Budget exceeded | No monitoring | Implement usage tracker |\n| Overpaying for data | Scraping what Datasets API provides | Check pre-built datasets first |\n| High per-request cost | No caching | Add response cache (biggest lever) |\n\n## Resources\n\n- [Bright Data Pricing](https:\u002F\u002Fbrightdata.com\u002Fpricing)\n- [Billing Dashboard](https:\u002F\u002Fbrightdata.com\u002Fcp\u002Fbilling)\n- [Pre-built Datasets](https:\u002F\u002Fbrightdata.com\u002Fproducts\u002Fdatasets)\n\n## Next Steps\n\nFor architecture patterns, see `brightdata-reference-architecture`.\n\n","# Bright Data Cost Tuning\n\n## Overview\n\nOptimize Bright Data costs through product selection, caching, and usage monitoring. Bright Data charges per request (Web Unlocker, SERP API), per GB (Residential Proxy), or per page (Datasets). Choosing the right product and avoiding redundant requests is the primary cost lever.\n\n## Prerequisites\n\n- Access to Bright Data billing dashboard\n- Understanding of current scraping volumes\n- Usage monitoring configured (optional)\n\n## Pricing Model\n\n| Product | Pricing | Typical Cost | Best For |\n|---------|---------|-------------|----------|\n| Residential Proxy | Per GB transferred | $8-15\u002FGB | High-volume, simple pages |\n| Web Unlocker | Per successful request | $1-3\u002F1000 req | Anti-bot protected sites |\n| Scraping Browser | Per browser session | $5-10\u002F1000 sessions | JS-heavy SPAs |\n| SERP API | Per search | $2-5\u002F1000 searches | Search engine results |\n| Datasets (pre-built) | Per record | $0.001-0.01\u002Frecord | Bulk data (Amazon, LinkedIn) |\n| Web Scraper API | Per page | Varies by dataset | Custom async scraping |\n\n## Instructions\n\n### Step 1: Product Selection Cost Matrix\n\n```typescript\nfunction estimateMonthlyCost(config: {\n  product: 'residential' | 'web_unlocker' | 'scraping_browser' | 'serp_api';\n  requestsPerMonth: number;\n  avgPageSizeKB?: number;\n}) {\n  switch (config.product) {\n    case 'residential':\n      const gbTransferred = (config.requestsPerMonth * (config.avgPageSizeKB || 200)) \u002F 1_000_000;\n      return { cost: gbTransferred * 10, unit: 'GB', quantity: gbTransferred };\n    case 'web_unlocker':\n      return { cost: config.requestsPerMonth * 0.002, unit: 'requests', quantity: config.requestsPerMonth };\n    case 'scraping_browser':\n      return { cost: config.requestsPerMonth * 0.008, unit: 'sessions', quantity: config.requestsPerMonth };\n    case 'serp_api':\n      return { cost: config.requestsPerMonth * 0.003, unit: 'searches', quantity: config.requestsPerMonth };\n  }\n}\n\n\u002F\u002F Example: 50,000 product pages\u002Fmonth\nconsole.log(estimateMonthlyCost({ product: 'web_unlocker', requestsPerMonth: 50000 }));\n\u002F\u002F { cost: 100, unit: 'requests', quantity: 50000 }\nconsole.log(estimateMonthlyCost({ product: 'residential', requestsPerMonth: 50000, avgPageSizeKB: 300 }));\n\u002F\u002F { cost: 150, unit: 'GB', quantity: 15 }\n```\n\n### Step 2: Reduce Costs with Caching\n\n```typescript\n\u002F\u002F Response caching is the single biggest cost saver\n\u002F\u002F Cache policy by data freshness requirements\nconst CACHE_TTLS = {\n  product_price: 3600000,     \u002F\u002F 1 hour — prices change frequently\n  product_details: 86400000,  \u002F\u002F 24 hours — descriptions rarely change\n  search_results: 1800000,    \u002F\u002F 30 minutes — SERPs change often\n  static_page: 604800000,     \u002F\u002F 7 days — about\u002Fcontact pages\n};\n\n\u002F\u002F Track cache savings\nlet cacheSavings = 0;\nfunction trackCacheHit(product: string) {\n  const costPerRequest = { web_unlocker: 0.002, scraping_browser: 0.008, serp_api: 0.003 };\n  cacheSavings += costPerRequest[product] || 0.002;\n  console.log(`Cache savings this session: $${cacheSavings.toFixed(4)}`);\n}\n```\n\n### Step 3: Use Bulk APIs for Volume Jobs\n\n```typescript\n\u002F\u002F Individual requests: 50,000 requests * $0.002 = $100\n\u002F\u002F Web Scraper API: 1 trigger with 50,000 URLs = typically cheaper (volume discounts)\n\nasync function bulkScrapeForCost(urls: string[]) {\n  \u002F\u002F Batch into single trigger — one API call, lower cost\n  const response = await fetch(\n    `https:\u002F\u002Fapi.brightdata.com\u002Fdatasets\u002Fv3\u002Ftrigger?dataset_id=${DATASET_ID}&format=json`,\n    {\n      method: 'POST',\n      headers: {\n        'Authorization': `Bearer ${process.env.BRIGHTDATA_API_TOKEN}`,\n        'Content-Type': 'application\u002Fjson',\n      },\n      body: JSON.stringify(urls.map(url => ({ url }))),\n    }\n  );\n  return response.json();\n}\n```\n\n### Step 4: Usage Monitoring\n\n```typescript\nclass BrightDataUsageTracker {\n  private dailyRequests = 0;\n  private dailyCost = 0;\n  private readonly budgetAlert: number;\n\n  constructor(dailyBudgetUSD: number) {\n    this.budgetAlert = dailyBudgetUSD * 0.8;\n  }\n\n  track(product: string) {\n    this.dailyRequests++;\n    const costs = { web_unlocker: 0.002, scraping_browser: 0.008, serp_api: 0.003, residential: 0.0001 };\n    this.dailyCost += costs[product] || 0.002;\n\n    if (this.dailyCost > this.budgetAlert) {\n      console.warn(`BUDGET ALERT: Daily cost $${this.dailyCost.toFixed(2)} exceeds 80% of budget`);\n    }\n  }\n\n  report() {\n    return {\n      requests: this.dailyRequests,\n      estimatedCost: `$${this.dailyCost.toFixed(2)}`,\n      projectedMonthly: `$${(this.dailyCost * 30).toFixed(2)}`,\n    };\n  }\n}\n```\n\n### Step 5: Cost Reduction Checklist\n\n- [ ] Cache responses to avoid re-scraping same URLs\n- [ ] Use Residential Proxy for simple pages (cheaper per request)\n- [ ] Use Web Scraper API for 100+ URL bulk jobs\n- [ ] Use Datasets API for common targets (Amazon, LinkedIn) — pre-built scrapers\n- [ ] Set budget alerts in Bright Data CP > Billing\n- [ ] Monitor daily usage with tracker class above\n- [ ] Avoid Scraping Browser for pages that don't need JavaScript\n\n## Output\n\n- Product selection matching cost requirements\n- Response caching reducing redundant requests\n- Budget monitoring and alerting\n- Projected monthly cost estimates\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Unexpected charges | Using expensive product for simple pages | Switch to Residential Proxy |\n| Budget exceeded | No monitoring | Implement usage tracker |\n| Overpaying for data | Scraping what Datasets API provides | Check pre-built datasets first |\n| High per-request cost | No caching | Add response cache (biggest lever) |\n\n## Resources\n\n- [Bright Data Pricing](https:\u002F\u002Fbrightdata.com\u002Fpricing)\n- [Billing Dashboard](https:\u002F\u002Fbrightdata.com\u002Fcp\u002Fbilling)\n- [Pre-built Datasets](https:\u002F\u002Fbrightdata.com\u002Fproducts\u002Fdatasets)\n\n## Next Steps\n\nFor architecture patterns, see `brightdata-reference-architecture`.\n\n",{"name":5,"tags":44,"author":46,"license":15,"version":47,"description":48,"allowed-tools":49,"compatible-with":50},[45,31,35,21],"saas","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Optimize Bright Data costs through tier selection, sampling, and usage monitoring.\nUse when analyzing Bright Data billing, reducing API costs,\nor implementing usage monitoring and budget alerts.\nTrigger with phrases like \"brightdata cost\", \"brightdata billing\",\n\"reduce brightdata costs\", \"brightdata pricing\", \"brightdata expensive\", \"brightdata budget\".\n","Read, Grep","claude-code","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbrightdata-cost-tuning",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill brightdata-cost-tuning",{"tool":66,"command":67},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill brightdata-cost-tuning",{"tool":69,"command":70},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill brightdata-cost-tuning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbrightdata-cost-tuning\u002FSKILL.md",true,[],[75,84,93,102,108,114],{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[81,82,83],"model","model hierarchy","model hierarchy skill",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[90,91,92],"MCP","zoom","zoom mcp",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[99,100,101,91],"sdk","zoom apps sdk","apps",{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[104],{"skillNo":109,"name":110,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[110],{"skillNo":115,"name":116,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[116]]