DigitalOcean Functions pricing
DigitalOcean · FaaS (GB-second only, no per-request fee) · snapshot captured June 2026
DigitalOcean Functions is priced as faas (gb-second only, no per-request fee). Billed only on GiB-seconds: $0.0000185 per GiB-second ($0.07/GiB-hour) after 90,000 GiB-s (25 GiB-hours) free/month. No per-invocation fee at all. 100 ms minimum per invocation. It scales to zero, so you pay nothing while idle. Egress: Egress shared with the account's bandwidth pool.
Source: DigitalOcean pricing. Data as of June 2026.
DigitalOcean Functions pricing at a glance
| Cost factor | DigitalOcean Functions |
|---|---|
| Pricing model | FaaS (GB-second only, no per-request fee) |
| Per 1M requests | No per-request fee |
| Per GB-second | $0.0000185 / GB-s |
| Free tier | 90,000 GiB-seconds (25 GiB-hours)/month free, no per-invocation charge; then $0.0000185 per GiB-second ($0.07/GiB-hour). 100 ms minimum per invocation. |
| Scale to zero | Yes (no charge when idle) |
| Egress | Egress shared with the account's bandwidth pool. |
| Regions | DigitalOcean regions (NYC, SFO, AMS, FRA, etc.). |
Source: DigitalOcean pricing page. Data as of June 2026.
Source: DigitalOcean pricing. Snapshot June 2026 — verify on the vendor's pricing page. Serverless pricing changes frequently.
Worked example
A small API doing 1,000,000 requests/month, each running ~200 ms at 256 MB of memory (≈50,000 GB-seconds/month):
On DigitalOcean Functions this works out to about $0/month of compute after the free tier — the whole workload fits inside the free allowance. Egress and any platform minimum are extra (egress shared with the account's bandwidth pool.).
Computed from the committed June 2026 snapshot rates. See the calculator to change the assumptions, and methodology for the formula.
Cost pros & cons
Where DigitalOcean Functions saves money
- No per-request fee — pay only for GB-seconds
- Simple, predictable pricing
- Good fit alongside DigitalOcean App Platform / Droplets
Watch-outs
- No request-based free allowance count (only GB-seconds)
- Fewer regions and integrations than hyperscalers
- 100 ms minimum billing per invocation
DigitalOcean Functions vs similar platforms
How DigitalOcean Functions compares with related serverless platforms on the headline rates:
| Platform | Model | Per 1M req | Per GB-s | Egress |
|---|---|---|---|---|
| DigitalOcean Functions (this platform) | FaaS (GB-second only, no per-request fee) | No per-request fee | $0.0000185 / GB-s | varies |
| AWS Lambda | FaaS (request + GB-second) | $0.20 / 1M | $0.0000167 / GB-s | $0.09/GB |
| Cloudflare Workers | Edge FaaS (request + CPU-ms) | $0.30 / 1M | n/a | Free |
| Google Cloud Run | Serverless containers (vCPU-s + GiB-s + request) | $0.40 / 1M | $0.0000025 / GB-s | varies |
| Google Cloud Functions | FaaS (now on Cloud Run model) | $0.40 / 1M | $0.0000025 / GB-s | varies |
| Azure Functions | FaaS (Consumption / Flex Consumption) | $0.20 / 1M | $0.000016 / GB-s | varies |
Frequently asked questions
How much does DigitalOcean Functions cost?
Billed only on GiB-seconds: $0.0000185 per GiB-second ($0.07/GiB-hour) after 90,000 GiB-s (25 GiB-hours) free/month. No per-invocation fee at all. 100 ms minimum per invocation. Snapshot June 2026 — verify on the vendor's pricing page.
Does DigitalOcean Functions have a free tier?
Yes — and it renews every month, not just for the first year. 90,000 GiB-seconds (25 GiB-hours)/month free, no per-invocation charge; then $0.0000185 per GiB-second ($0.07/GiB-hour). 100 ms minimum per invocation.
Does DigitalOcean Functions scale to zero?
Yes — DigitalOcean Functions scales to zero, so you pay nothing while it is idle (you are billed only for actual usage). 90,000 GiB-seconds (25 GiB-hours) of compute per month free; no per-invocation charge.
What does DigitalOcean Functions charge for egress?
Egress shared with the account's bandwidth pool. Egress is one of the most overlooked serverless costs, so model your outbound data when comparing platforms.
Keep exploring
Source & accuracy
Figures are a dated snapshot from DigitalOcean's pricing page (snapshot captured June 2026). The worked example is a transparent calculation over those inputs (see methodology). Serverless pricing is volatile and varies by region, memory tier and discounts — verify current prices on the vendor's page before relying on them. This is an informational comparison, not a quote.
Last updated: 2026-06-21