Short answer
Cloudflare Workers, AWS Lambda, and Deno Deploy are the best serverless platforms for a small deployment. Workers has a free daily quota and a $5 paid plan. Lambda includes 1 million requests a month on the free tier. Deno Deploy Free is $0 with 1 million requests a month.
Last verified against the sources listed below.
Key takeaways
- Cloudflare Workers Free includes 100,000 requests a day. Paid starts at $5 a month.
- AWS Lambda's free tier includes 1 million requests and 400,000 GB-seconds a month.
- Deno Deploy Free is $0 a month with 1 million requests. Pro is $20.
- Azure Functions Consumption includes 1 million executions and 400,000 GB-s free each month.
- Firebase Cloud Functions on Blaze are no-cost up to 2 million invocations a month.
The best serverless platforms for a small deployment charge for requests and runtime, then scale back when the function is idle. A tiny API or image task should not start with a server you rent all month.
Prices below come from official pricing pages opened in December 2026. If you want a full app host instead of a function, see PaaS software for web applications.
The broader idea sits under cloud computing. A function is still compute you do not keep running yourself.
Quick comparison
Starting price is the lowest paid plan, or $0 when the page prints a free allowance.
| Tool | Best for | Starting price | Free plan or trial | Standout feature |
|---|---|---|---|---|
| Cloudflare Workers | Edge functions | $5/month paid minimum | Free, 100,000 requests/day | No duration charge |
| AWS Lambda | Event-driven functions | Free tier, then $0.20 per million requests | 1 million requests and 400,000 GB-seconds/month | Memory from 128 MB to 10,240 MB |
| Deno Deploy | Small web apps on Deno | Free $0, Pro $20/month | Free, 1 million requests | 10 hours active CPU on Free |
| Azure Functions | Microsoft event triggers | Free grant on Consumption | 1 million executions and 400,000 GB-s/month | Flex and Consumption plans |
| Google Cloud Run | Request-based containers | Free tier, then $0.40 per million requests | 2 million requests/month on request-based billing | CPU and RAM free amounts |
| Firebase Cloud Functions | Functions next to Firebase data | Blaze, no-cost up to 2 million invocations | Not on Spark | $0.40 per million after the allowance |
Cloudflare Workers
Cloudflare Workers runs JavaScript-compatible functions on Cloudflare’s edge.
The pricing page says users start on Free, which also covers limited Workers KV and Hyperdrive. Paid adds a higher included allotment.
Best for: a small API that should answer close to the visitor.
- 100,000 requests a day on Free
- 10 milliseconds of CPU per invocation on Free
- Paid includes 10 million requests a month
- No charge for duration on the standard model
Pricing: as of December 2026, Paid has a minimum of $5 USD a month. Extra requests are $0.30 per million. Extra CPU is $0.02 per million CPU milliseconds after 30 million included.
The page says there is no extra charge for egress.
Pros
- The $5 minimum is a printed subscription, not a quote
- Free is available without jumping to a sales form
Cons
- Free CPU time is 10 milliseconds per invocation
- A spending limit can stop every Worker on the account
AWS Lambda
AWS Lambda is Amazon’s serverless compute service, billed for what you use.
The pricing page says Event Functions are priced per request and per GB-second. You pick memory from 128 MB to 10,240 MB.
Best for: jobs triggered by other AWS events, such as a file landing in storage.
- Free tier of 1 million requests a month
- 400,000 GB-seconds a month in that free tier
- $0.20 per million requests after the free tier
- Separate pricing for provisioned concurrency and managed instances
Pricing: as of December 2026, the free tier includes 1 million requests and 400,000 GB-seconds a month. Request price after that is $0.20 per million. The page also shows duration examples, including $0.0000166667 per GB-second in one on-demand example.
Pros
- The monthly free request count is large for a small deploy
- You can set memory in 1 MB steps
Cons
- The bill mixes requests and duration, so a slow function costs more
- The free tier does not apply to provisioned concurrency
Deno Deploy
Deno Deploy hosts Deno apps with a free plan and three paid names.
The pricing page says Free is for personal use and smaller projects. Pro adds team features. Pricing covers Deno Deploy and Deno Subhosting.
Best for: a small TypeScript or JavaScript app with a printed request cap.
- 1 million requests a month on Free
- 20 GiB egress and 10 hours of active CPU on Free
- 10 apps and 5 custom domains on Free
- KV included, with 1 GiB on Free
Pricing: as of December 2026, Free is $0 a month. Pro is $20 a month with 5 million requests, then $2 per million. Builder is $200 a month.
Enterprise is custom.
Pros
- Free and Pro prices are printed as monthly fees
- Idle time is not billed as active CPU, per the page
Cons
- Free log retention is 1 day
- Email support starts on Pro, not Free
Azure Functions
Azure Functions is Microsoft’s event-driven function service.
The pricing page describes Consumption, Flex Consumption, and Premium. A storage account is created with each app and is not part of the free grant.
Best for: a small function that should sit next to other Azure services.
- Consumption free grant of 1 million executions a month
- 400,000 GB-s free a month on Consumption
- Flex Consumption free grant of 250,000 executions and 100,000 GB-s
- Premium billed on cores and memory, with at least one instance
Pricing: as of December 2026, the Consumption plan includes those free grants per subscription on pay-as-you-go. The fetched price table showed placeholders instead of a public unit rate, so this guide does not invent an overage price. Premium and savings-plan rates were also placeholders.
Pros
- The free execution count is printed, not hidden behind a demo form
- Flex Consumption can run with no minimum instance count
Cons
- Storage is billed outside the free grant
- Unit prices did not render as numbers on the public table
Google Cloud Run
Google Cloud Run is the service documented at the Cloud Functions pricing URL.
The pricing page titles itself Cloud Run and bills CPU, memory, and requests. Request-based and instance-based modes are listed separately. Figures below are the us-central1 request-based table.
Best for: a small container that should scale to zero between requests.
- 2 million requests free a month on request-based billing
- 180,000 vCPU-seconds and 360,000 GiB-seconds free in that mode
- Requests after the free tier at $0.40 per million
- Instance-based billing with its own CPU and RAM free tier
Pricing: as of December 2026, request-based billing lists $0.40 per million requests after 2 million free. Active CPU in that table is $0.000024 per vCPU-second. The page says the free tier resets every month and is shared across projects on the billing account.
Pros
- A request price is printed, not only a calculator
- The free request count is 2 million a month
Cons
- Region and billing mode change the table
- CPU and memory are billed in addition to requests
Firebase Cloud Functions
Firebase Cloud Functions run in a Firebase project and are billed on the Blaze plan.
The pricing page marks invocations as not applicable on Spark. Blaze is pay as you go and can include $300 in free credit if you are eligible.
Best for: a function that reads Firebase data in the same project.
- No-cost up to 2 million invocations a month on Blaze
- No-cost up to 400,000 GB-seconds a month
- No-cost up to 200,000 CPU-seconds a month
- Outbound networking no-cost up to 5 GB a month
Pricing: as of December 2026, Blaze charges $0.40 per million invocations after 2 million. Spark does not include Cloud Functions. Other Firebase products, such as Analytics, stay no-cost on Spark.
Pros
- The invocation allowance is larger than Lambda’s free request count
- The overage rate is printed as $0.40 per million
Cons
- Spark cannot run these functions
- A billing account is required before the no-cost allowance applies
If a function stores or returns an image, shrink the file first. The image compressor cuts a PNG or JPG before it sits in storage.
Hosting the site around the function is a separate choice, covered in what web hosting is.
How to choose a serverless platform
Match the trigger and the free allowance before you compare brand names.
- Where the code runs. Workers is an edge runtime. Lambda, Azure Functions, Cloud Run, and Firebase run in a cloud region you pick.
- Free shape. Lambda and Azure print monthly grants. Workers Free is a daily request cap. Deno Deploy Free is a monthly plan at $0.
- What else you already use. Firebase functions belong next to Firebase data. Lambda belongs next to other AWS events. Azure Functions belongs next to Azure.
- CPU limits. Workers Free stops at 10 milliseconds of CPU per call. Deno bills active CPU and lets idle time sit outside that meter.
- Minimum spend. Workers Paid is $5. Deno Pro is $20. Lambda, Cloud Run, and Azure Consumption can stay at $0 inside the grant.
- Hidden extras. Azure storage and Cloud Run CPU are billed beside the request. Read those lines before you call a function free.
How we picked these tools
This list was built by reading official docs, pricing pages, and product pages in December 2026.
The set is function and edge runtimes with a public free allowance or a printed minimum fee. General app hosts are left to the PaaS guide. Order follows how a small deploy starts, from an edge function to a cloud event, not an ad ranking.
Frequently asked questions
Is AWS Lambda free to start?
AWS says Lambda Event Functions include a free tier of 1 million requests and 400,000 GB-seconds a month. After that, the pricing page lists $0.20 per million requests, plus duration based on memory. The page does not describe that free tier as a 12-month trial in the overview, so this guide only repeats the monthly allowance it prints. Duration still depends on the memory you assign.
What does the Cloudflare Workers paid plan cost?
Cloudflare's Workers pricing page says the Free plan is the default, with 100,000 requests a day and 10 milliseconds of CPU time per invocation. The Paid plan has a minimum charge of $5 USD a month and includes 10 million requests, then $0.30 per additional million. Duration is not charged. CPU time above the included 30 million milliseconds is $0.02 per million.
Does Firebase include Cloud Functions on the free plan?
Firebase's pricing table marks Cloud Functions as not applicable on the no-cost Spark plan. On the pay-as-you-go Blaze plan, invocations are no-cost up to 2 million a month, then $0.40 per million. GB-seconds are no-cost up to 400,000 a month. You need Blaze before those no-cost function allowances apply. Spark still covers other Firebase products.
Are Vercel and Netlify in this list?
This guide stays with function and edge runtimes. A separate guide covers general app platforms, including Vercel and Netlify. Deno Deploy, Workers, Lambda, Azure Functions, Cloud Run, and Firebase Cloud Functions are the products whose pricing pages were opened for this list. That split keeps a small function deploy from being judged like a full app host.
Does Google still price Cloud Functions separately?
The URL cloud.google.com/functions/pricing opened as a Cloud Run pricing page in December 2026. That page lists request-based billing with 2 million requests free a month, then $0.40 per million, using us-central1 active pricing. CPU and memory have their own free amounts on the same table. This guide treats Cloud Run as the Google price for that style of deploy.
Sources
- Cloudflare Workers pricing · Cloudflare, 2026
- AWS Lambda pricing · Amazon Web Services, 2026
- Deno Deploy pricing · Deno, 2026
- Azure Functions pricing · Microsoft, 2026
- Cloud Run pricing · Google Cloud, 2026
- Firebase pricing · Google, 2026