Cloudflare's developer platform runs code (Workers), stores objects with zero egress fees (R2), hosts sites (Pages) and offers a key-value store (KV) and SQL database (D1) — all on a generous free tier. Here's what each piece costs and how to get your API token.
| Product | Free tier | Paid | Best for |
|---|---|---|---|
| Workers free tier | 100k req/day | $5/mo + 10M req | Edge functions, APIs |
| R2 storage zero egress | 10 GB | $0.015/GB-mo | Files, backups, media |
| Pages | unlimited sites | free static | Front-ends, JAMstack |
| KV (key-value) | 100k reads/day | $0.50/M reads | Config, sessions, cache |
| D1 (SQL) | 5 GB | $0.75/M rows read | Small relational data |
→ Moving lots of data out of S3? Compare it with R2's zero egress on the cloud egress cost calculator, or model your whole stack on the API stack calculator.
Yes, and it's one of the most generous in the business. Workers gives 100,000 requests a day free forever, R2 includes 10 GB storage with no egress charge, Pages hosts unlimited static sites, and KV and D1 both have free daily quotas. Many small projects never leave the free tier. You only pay when you cross into production volume, and even then Workers' paid plan is a flat $5/month.
1. Sign in at dash.cloudflare.com and create an account (a domain is optional for Workers).
2. Open My Profile → API Tokens → Create Token.
3. Pick a template (e.g. "Edit Cloudflare Workers") or set scoped permissions, then create and copy the token once.
4. Use it as a Bearer token, or install Wrangler (the CLI) which handles auth for deploying Workers.
Quick API test (list your account's Workers):
Workers CPU time beyond the included allowance is billed separately on heavy compute, and Durable Objects, Queues and Workers AI are priced on top. R2 is cheap on egress but charges per-operation (Class A/B requests), so millions of tiny reads add up. Read the per-product pricing page before assuming "free tier" covers a production workload.
For object storage with zero/low egress, R2 competes with Backblaze B2 and Wasabi; for edge functions, Vercel and Netlify cover similar ground with a different pricing model. If your bottleneck is data transfer out of a big-three cloud, R2 is usually the cheapest landing spot.
Yes — 100,000 requests/day free. The paid plan is $5/month bundling 10M requests, then per-million overage.
dash.cloudflare.com → My Profile → API Tokens → Create Token. Scope it, copy once, use as a Bearer token or via Wrangler.
R2 charges no egress fees. Storage is similar to S3 (~$0.015/GB-mo), but for read-heavy or download-heavy workloads R2 avoids S3's biggest cost.
No — Workers run on a free workers.dev subdomain. A custom domain is optional and adds routing flexibility.
Not affiliated with Cloudflare. Prices are reference estimates — always verify on the official pricing page.