DigitalOcean Functions
On-demand serverless functions with a flat always-free monthly compute allowance and no idle costs.
- Card required
- Yes
DigitalOcean Functions scores 4.7/10 for free value in Functions. The main constraint: 90,000 GiB-seconds (25 GiB-hours) of compute free every month per account/team, shared across all functions including App Platform function components.
Free value score
4.7 / 10Show the math
Key metrics
What you get
90,000 GiB-seconds (25 GiB-hours) free compute per month, pooled across the whole account/team
True pay-as-you-go beyond the free tier at ~$0.0000185/GiB-s with no reserved instances or idle charges
Free allowance applies regardless of deploy method (console, CLI/doctl, or App Platform components)
No cold-start sleep tier or always-on instance fees, functions run fully on-demand
Gotchas
- 90,000 GiB-seconds/month free compute
Free tier is 90,000 GiB-seconds (25 GiB-hours) of compute per account/team per month; beyond it, usage is billed at ~$0.0000185/GiB-s. The number of free invocations is derived (e.g. ~3.6M at 256 MiB / 100ms), so high-memory or long-running functions exhaust it faster.
- Allowance resets monthly, no rollover
The 90,000 GiB-seconds free allowance is not prorated and does not roll over to the next month; unused compute is lost.
- Payment method required
A DigitalOcean account with a credit card or other payment method on file is required; a temporary ~$1 pre-authorization may be placed when adding a card.
- Runtime billed in 100ms increments
Minimum billed runtime per invocation is 100ms; actual runtime is rounded up to the nearest 100ms.
- Memory capped at 1 GB per function
Per-function memory is limited to 128 MB – 1 GB, defaulting to 256 MB. Cannot be raised beyond 1 GB.
- 15-minute max execution timeout
Maximum timeout per invocation is 15 minutes, including initialization and execution.
- 600 invocations/minute per namespace
Each namespace is limited to up to 600 invocations per minute and up to 120 concurrent functions.
- Up to 10 namespaces per account
You may have up to 10 namespaces, and up to 200 namespace access keys per team/account (including revoked keys).
- 1 MB payload / 48 MB build size limits
Max input parameter size is 1 MB, max result response size is 1 MB, max built-function size is 48 MB, and remote build time is capped at 2 minutes.
- 3-day log retention, no PG connection pools
Logs are capped at 256 KB per invocation with up to 3 days retention; activation records (async only) are kept 72 hours. PostgreSQL connection pools are not supported, multi-file functions can't be edited in the control panel, and scheduled triggers are in limited private preview (max 3, not on App Platform).
Sources
-
"90,000 GiB-seconds of compute free per month per account"
https://www.digitalocean.com/pricing/functions -
"The monthly free allowance includes 90,000 GiB-seconds for the account/team. These are not prorated, do not roll over, and can be used on any apps under the same team."
https://www.digitalocean.com/pricing/functions -
"Starting August 1, functions deployed via the developer console and CLI will also count towards your monthly free allowance of 90,000 GiB-seconds for your account/team. This means the same pricing will apply to functions regardless of how they are deployed."
https://www.digitalocean.com/pricing/functions -
"Namespaces have the following limits: Up to 120 concurrent functions. Up to 600 invocations per minute. ... You may have up to 10 namespaces."
https://docs.digitalocean.com/products/functions/details/limits/