Getting started with serverless is free on most platforms. How long it remains free depends on the number of times a function is executed, and also the services employed. Serverless.com, for example, provides 100,000 free transactions (read: code executions). Similarly, AWS also provides free tiers, with varying thresholds depending on the products or services you choose.