Cloudflare cost alerts for rising spend.
CostHex converts Cloudflare usage into estimated dollars per hour at list prices. Get alerts by email, Slack, Discord or Telegram when a resource exceeds your hourly threshold. Free accounts are checked hourly.
Running Cloudflare Workers? Start free One account, checked hourly, no card.
Illustrative example: api-worker, estimated $/hour
$0123456789,012345678901234567890123456789.01234567890123456789
38× its usual rate
Bills that made the news
Loops, unexpected traffic and leaked keys can run up usage charges. These sourced accounts explain what happened and what controls could help.
| Year | Platform | What happened | Bill |
|---|---|---|---|
| 2024 | Netlify | DDoS on one 3.44 MB mp3, about 190 TB in four days | $104,500 |
| 2024 | Vercel | Viral growth hit an API on Vercel Functions, no spend limit | $96,280 |
| 2026 | Google Cloud | Stolen Gemini API key used for Gemini 3 Pro image and text calls | $82,314 |
| 2020 | Firebase / Google Cloud | Self-calling Cloud Run scraper made 116 billion Firestore reads | $72,000 |
| 2024 | AWS | Unauthorized PUTs to a private S3 bucket | $1,300 |
How it works
Watch
Connect Cloudflare with read-only access. CostHex estimates hourly spend for Workers, Durable Objects, D1, KV, R2, Queues, Workers AI, Images, Browser Rendering and Containers. It also estimates your current billing-period total.
Set an alert threshold
Resources in an account share one default hourly threshold and are checked separately. Optional anomaly detection compares spend with a 7-day baseline after at least 24 hours of data. Alerts repeat every 30 minutes until someone taps “I’m on it”.
Point at the fix
Alerts include resource links and handling suggestions. CostHex uses read-only access and cannot stop spending for you. End-to-end alert latency has not been measured.
Platforms
Supported now
Cloudflare only, including Workers and the products listed above.
Waitlist
AWS and Firebase / Google Cloud. These integrations are not available.
Also on the waitlist
OpenAI, Anthropic, Gemini, Vercel, Netlify and Supabase. These integrations are not available.
Pricing
| Feature | Free | Solo | Pro |
|---|---|---|---|
| Price | $0 | $9 a month | $19 a month |
| Connected accounts | 1 | 3 | 5 |
| Checks | Hourly | Every minute | Every minute |
| Alerts | Email, Slack, Discord, Telegram | Email, Slack, Discord, Telegram | Email, Slack, Discord, Telegram |
| Detection | Hourly threshold; optional anomaly detection | Hourly threshold; optional anomaly detection | Hourly threshold; optional anomaly detection |
Free is available now. Paid upgrades and founding-member payments are not open. Solo and Pro show planned prices and account allowances. Team is not available. SMS, phone calls and one-click fixes are not available.
Founding member
$99 is the planned first-year Pro offer (regular price $190). Payments are not open. CostHex currently supports Cloudflare only.
Founding-member payments are not open. Join the waitlist for updates.
Questions
- Does CostHex need write access?
- No. CostHex monitors Cloudflare with read-only access. It cannot pause resources or make changes in your account.
- Can CostHex cap my Cloudflare bill?
- No. CostHex alerts you when a resource exceeds an hourly spend threshold. You decide what to change. Resources in the same account share one default threshold and are checked separately.
- How fast will I hear about a spike?
- Free checks one account hourly. Solo and Pro are configured for minute-by-minute checks, but paid upgrades are not open. Cloudflare reporting delays also affect detection. End-to-end alert latency has not been measured.
- How does anomaly detection work?
- You must enable it first. It compares spend with a 7-day baseline and needs at least 24 hours of data before it can detect unusual spend.
- Where do my credentials live?
- Your Cloudflare token is stored encrypted. CostHex uses it to read usage for monitoring.