DigitalOcean Functions is a serverless computing solution that runs on-demand, enabling you to focus on your code, scale instantly with confidence, and save costs by eliminating the need to maintain servers.
Develop and launch modern apps quickly without provisioning or managing servers. Build or extend your apps easily without learning new frameworks or languages.
Invoke functions (snippets of code) in response to web events. You'll only be charged when your resources are active, saving you money.
Scale up or down instantly and automatically based on demand without the need for pre-provisioned resources.
Easily add functions as components of your app or website and deploy to production using App Platform.
Build apps that require long-running servers and on-demand functions, with an integrated experience andworkflow. Easily extend existing applications with new serverless functionalities.
If you're building an app that needs a database, you can easily add a managed database in the app creation process. Connections between the apps and databases are secure with features such as trusted sources.
Develop functions locally using your favorite editors and IDEs, ship quickly to the cloud, and live-preview your functions before committing your code to GitHub or GitLab and deploying your app in production.
Out-of-the-box support for many popular runtimes, including Node.js, Python, Go and PHP. Automatic patches and updates to ensure the execution environment is stable and secure.
Quickly build APIs and add them to your website or app without learning a new language or framework
Every account includes a generous free tier for you to experiment and run small applications. After that, you only pay for the exact compute time you use—billed to the millisecond. No reserved instances, no idle costs.
Need more information?
View all pricing90,000
GiB-seconds of compute per month per account
$0.0000185
per GiB-seconds for additional memory and runtime
100ms
minimum runtime per function invocation

DigitalOcean Functions is a great blend of flexibility and ease of use that allows my team to keep all projects under one provider. It enables us to quickly add serverless APIs to our website resulting in increased team productivity and faster time to market.

Jonathan Hsu
Director of Customer Success at Zerion Software
We have been running on Nimbella’s serverless platform for a few years. We are excited that we can now use DigitalOcean Functions with the same developer simplicity and productivity we have come to expect. The addition of a native database, automatic builds, static sites, and our own domains integrated with DigitalOcean’s App Platform is letting us concentrate even more on adding value to our customers and growing our business.

Robin Azzam
CEO Caputron
Learn how you can use App Platform to add functions as components of your apps. See how you can use the functions developer console and CLI to quickly build, test and deploy functions.
DigitalOcean Functions is a serverless platform that allows you to run code in response to events without managing the underlying server infrastructure. You simply write your code and deploy it, and DigitalOcean handles the scaling, security, and maintenance of the environment. This lets you focus on your business logic.
AI Native Businesses can use DigitalOcean Functions to serve lightweight machine learning models for inference. A function can be triggered by an API call, and it can load a pre-trained model to make a quick prediction. This is a cost-effective way to deploy and serve models that don't require heavy compute resources.
Functions supports several popular runtimes, including Node.js, Python, Go, and PHP, giving developers the flexibility to work with their preferred language.
Functions seamlessly integrates with the App Platform for automatic deployments and can securely connect to Managed Databases, allowing you to build and enhance applications with a unified developer experience.
Yes, you can develop functions locally using your favorite editors and IDEs and test them with the Functions developer console before deploying to production.
Common use cases for Functions include processing forms, handling data from webhooks, and building simple API endpoints. You can also use them to create scheduled tasks for running maintenance scripts or sending notifications.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.