Cloudflare App Cost Calculator

Model picker, sticky P&L, click any breakdown row to expand. Live, client-side. Prices verified 2026-08-30, models 2026-08-30.

Users Region
Profile

Scale and API traffic

100,000
10,000
days
ms
%
ms

MCP traffic

One user question fans out into many MCP requests. Protocol handshakes, agentic tool calls, and retries. Turn this on to derive the true request volume from the human unit (questions) instead of guessing a flat number.

Database (D1)

KB

Caching and queuing

30%
Cache hit cuts LLM, proxy, and DB load by the same share. Biggest cost control.
GB

Files, storage and retention (R2)

GB
days
days
1

External research and scraping

Both still need an external residential proxy. Cloudflare IPs get blocked by anti-bot.
2
GB
/GB
min
/mo
hrs

LLM and AI

50
70%
40%

Vector, email, security

Browser, Images, Realtime

Push notifications and pop-ups

%

Pricing and revenue

$10
%
%
%
%
$
Modeling 100,000 users
Total cost / mo
$0
Net revenue / mo
$0
Profit / mo
$0
Margin
0%
Cost per user $0Annual profit $0
CF infra $0Scraping $0LLM $0

Pricing recommendation

Current price
$0
Break-even floor
$0
For target margin
$0
Recommended
$0

Profitability advisor

Cost breakdown (click a row)

Operations and time

Research jobs / mo
0
Proxy data / mo
0
Compute hours / mo
0
Stored data total
0
Push sends / mo
0

Unit economics (VC view)

ARPU net / mo
$0
Contribution / user
$0
LTV
$0
LTV to CAC
0x
CAC payback
0 mo
Avg lifetime
0 mo

Industry benchmarks

MetricHealthyGreatYours
Gross margin60%+75%+-
LTV to CAC3x+5x+-
CAC paybackunder 12 mounder 6 mo-
Monthly churnunder 5%under 2%-
Free to paid1 to 5% freemium25 to 60% trialfunnel
Rule of 40growth plus margin 40+-add growth

AI products run 50 to 60% gross margin unless caching and cheap model routing pull it to 60 to 75%.

Warnings

Save and compare scenarios

The four cost meters

MeterServiceCost level
API trafficWorkers + D1 + Durable Objectsvery cheap
File storageR2small, accumulates
EmailSES or Cloudflare Emailvery cheap
LLM / AIClaude or other via AI Gatewaythe dominant cost

Locked decisions

LayerDecision
CacheCloudflare KV + Cache API, Redis only for rate limit and locks
QueueCloudflare Queues
Scraping computeHetzner steady, CF Containers bursty, proxy external
RegionEU residency, Cloudflare core flat globally
Retentionhot 30 days, cold to one year, then archive
DatabaseD1 sharded, Postgres + Hyperdrive past about 100M users
EmailSES for bulk, Cloudflare inbound
LLMAI Gateway cache and route, the dominant cost

The request flow

StepWhat happensService
1Request arrivesWorkers
2Check cache firstKV / Cache API
3Hit, return instantlynone downstream
4Miss, enqueue heavy work, return fastCloudflare Queues
5Worker processes the jobWorker / Container / Hetzner
6Scrape via proxy, call LLMproxy + Claude
7Cache the resultKV / R2

D1 limits and sharding

LimitValue (Paid)
Max database size10 GB, shard above this
Databases per account50,000
Max storage per account1 TB, move to Postgres + Hyperdrive past this

New Cloudflare services (2026)

ServicePriceFree / included
Browser Rendering (Browser Run)$0.09 per browser-hour10 hr/mo Paid, 10 concurrent
Cloudflare Images$5 / 100k stored, $1 / 100k delivered, $0.50 / 1k transforms5,000 transforms/mo
Realtime (SFU + TURN)$0.05 per GB egress1,000 GB/mo, TURN free with SFU
Durable Objects SQLite storagerows read $0.001/M, written $1/M, storage $0.20/GB-mo25B reads, 50M writes, 5 GB
Containers disk$0.00000007 per GB-second200 GB-hr
AI Gatewaycore free, no per-call fee. Unified Billing adds 5% on pass-through model tokens1M logs/mo Paid
R2 SQL$2.50 per TB scanned (billing pending)10 GB/mo scanned Paid
Pipelinestransforms $0.04/GB, sink from $0.03/GB (billing pending)ingress free
Hyperdrivefree, included in Workers Paidunlimited queries

Verified live 2026-08-30 against Cloudflare official pricing pages. Items marked billing pending have announced prices but metering is not yet enabled.

Launch readiness

Everything across business, technical, architecture and compliance. Tick each as you handle it, it saves in your browser. Click a row to read what it is, why it matters, and how to do it on this stack.

The metering layer, build this first

This is the bridge from the cost model to a real invoice. Every number in the calculator assumes it exists.

PieceRole
Durable Object per customerholds the live usage counter, one per tenant
On each API or AI callincrement the counter, check it against the plan cap
At the capblock, or allow metered overage per the plan
Periodicallyflush usage to D1 and to Stripe for billing
Dashboardreads D1 for the customer usage and the cost to serve them

Recommended build sequence

1
Scaffold
Workers, D1, R2, KV, Queues, AI Gateway, Better Auth, customer API keys. The skeleton runs on a branch with a PR.
2
Metering and quotas
The Durable Object per tenant, the plan limits, block at the cap. Usage is counted and capped.
3
Routing and billing
Cheap path versus AI path, cache first, Stripe metered billing with overage. Revenue flows.
4
Research and observability
The scraping engine on Hetzner with residential proxy, Sentry plus per tenant cost attribution.
5
Compliance, DX, launch
GDPR documents and the scraping legality call, API docs and an SDK, then ship and push the one GTM channel.

Mark what is relevant to your product

Tick the capabilities you offer. The recommendation below anchors to what comparable products charge for that exact set, and still clears your cost floor.

RelevantCapabilityMarket entryMedianPremiumComparable products
API access$39$99$299API marketplaces, generic API sellers
AI / LLM features$29$99$499Credit AI tools, per action $0.05 to $0.10
Web scraping / data$49$149$749Firecrawl $16 to $749, Apify $29 to $199, ScrapingBee $49
Enrichment / sales intel$149$495$800Clay $149 to $800, about $0.035 per credit
File storage / CMS$19$49$149Storage and CMS SaaS tiers
Vector / RAG search$0$29$99Usually bundled, light add-on
EU residency / compliance$0$0$0Enterprise premium, not a standalone line

Market anchored price recommendation

Your cost floor
$0
Market entry
$0
Market median
$0
Suggested base
$0

What the 2026 market says

ModelHybrid base plus metered credits is the default for AI native products. Pure flat pricing is dying.
MarginsAI compresses SaaS gross margins from 80 to 90 percent down to 50 to 60 percent. Target 60 to 75 percent with caching and cheap model routing.
CreditsCredit based pricing is becoming standard. One credit maps to an API call or an AI action.
Outcome pricingCharging per completed job, not per access, unlocks 5 to 10x more revenue. Consider it for the AI path.
SignalGitHub Copilot moved to usage based billing in June 2026. Heavy AI users must be metered.

Sources. Firecrawl, Apify and ScrapingBee pricing pages, Clay pricing 2026, OpenView usage based pricing data, Monetizely AI first SaaS economics 2026. Verified 2026-06-13, re check before a production decision.