See exactly how much you can save by moving from a serverless / edge function service provider to your own self-hosted infrastructure
This tool is built by a technical founder with self-hosting/anti-vendor lock-in philosophy and 10+ years of experience in crafting performant systems, and possessing deep expertise in building large-scale software systems.
10+ years deep software engineering & production systems architected from scratch.
Gotedo’s Node.js API Backend: 300+ PostgreSQL tables, 600+ API endpoints, 10k+ tests.
Gotedo Impress: Native desktop software for high-performance media & presentation.
Gotedo Accounts System: Robust OAuth / OIDC server implementation & security.
Product Documentation System: Unlimited & full localisations of articles and categories.
Billing & Subscription Management: Automated pricing tables, invoicing, & recurring billing.
Media Processing Service: Scalable image, video, and audio handling for the platform.
100% self-hosting philosophy: Eliminated vendor lock-in & saved thousands yearly.
How to Use the Serverless-to-Self-Hosting Cost Calculator
Select your current serverless platform (AWS Lambda, Vercel, etc) and enter your monthly usage metrics.
Choose your target self-hosted provider (e.g., Hetzner, Netcup).
See real monthly savings + auto-recommended server size based on your load.
1. Current Serverless Stack
/// Service settings
Inbound requests to your Worker (static assets are free and unlimited).
Total CPU milliseconds used across all requests. Cloudflare bills based on aggregate CPU time (no charge for wall-clock duration beyond CPU).
/// Worker Logs
20 million included on Paid plan (+ $0.60 per additional million).
/// Workers Trace Events Logpush
10 million included on Paid plan (+ $0.05 per additional million).
/// Workers KV
10 million included (+ $0.50 per additional million).
1 million included (+ $5.00 per additional million).
1 million included (+ $5.00 per additional million).
1 million included (+ $5.00 per additional million).
1 GB included (+ $0.50 per additional GB-month).
/// Hyperdrive
Unlimited on Paid plan (no additional charge).
/// Queues
1 million included (+ $0.40 per additional million). Each message typically incurs 3 operations (write/read/delete).
/// D1
First 25 billion included (+ $0.001 per additional million rows).
First 50 million included (+ $1.00 per additional million rows).
First 5 GB included (+ $0.75 per additional GB-month).
/// Durable Objects
1 million included (+ $0.15 per additional million).
400,000 GB-s included (+ $12.50 per additional million GB-s).
First 5 GB included (+ $0.20 per additional GB-month).
2. Target Destination
/// Resource Allocation
3. Results
SYSTEM DISCLAIMER AND LEGAL NOTES
- This calculator provides estimates only based on publicly available pricing as of May 2026.
- Actual costs can vary based on usage patterns, region, taxes, data transfer, support plans, and other factors.
- We do not guarantee the accuracy of any calculation. This tool is for informational purposes only and does not constitute financial, legal, or professional advice.
- Ndianabasi Udonkang and ndianabasi.com assume no liability for any decisions, losses, or damages resulting from the use of this calculator.
- Always verify current pricing directly with each provider before making decisions. We have dutifully provided links to all providers whose pricing are calculated with this tool.
/// Official Pricing References
Ready to turn these savings into reality?
CALCULATOR INDEX: MIGRATION PATHWAYS
- >>AWS Lambda to Self-Hosting Cost Savings Calculator and Recommendation Engine
- >>Google Cloud Run to Self-Hosting Cost Savings Calculator and Recommendation Engine
- >>Microsoft Azure Functions to Self-Hosting Cost Savings Calculator and Recommendation Engine
- >>Cloudflare Workers to Self-Hosting Cost Savings Calculator and Recommendation Engine
- >>Vercel (Serverless / Edge Functions) to Self-Hosting Cost Savings Calculator and Recommendation Engine
- >>Supabase to Self-Hosting Cost Savings Calculator and Recommendation Engine
- >>Railway to Self-Hosting Cost Savings Calculator and Recommendation Engine
- >>Render to Self-Hosting Cost Savings Calculator and Recommendation Engine
- >>Fly.io to Self-Hosting Cost Savings Calculator and Recommendation Engine