Skip to content
freetier.wiki

Type at least 2 letters.

Enter to open · Esc to close

Azure Functions

Azure Functions needs a card and includes 250,000 On Demand executions and 100,000 GB-s a month on Flex Consumption, the recommended plan for new apps, with extra usage billed automatically.

Azure Functions runs small pieces of code when an event happens, such as an HTTP call, a timer, or a queue message. It is for developers who want Azure to scale the code without managing servers.

By AzureComputeChecked ✓ 23 Nov 2026

Changed in Oct 2026: Microsoft now marks the Consumption plan as legacy and recommends Flex Consumption, whose free grant is smaller (250,000 executions and 100,000 GB-s per month).

Is it a fit?

Good fit

Use it to run event-driven code such as HTTP handlers, timers, and queue workers on Azure without managing servers.

  • event-driven workloads
  • microservices
  • prototyping
  • scalable APIs

Not a fit

Avoid it for steady, always-on workloads where per-execution billing costs more, for custom operating system setups, or if you cannot use a paid Azure subscription.

  • steady always-on workloads
  • custom operating system needs
  • no paid Azure subscription

You write functions in a language such as C#, Java, Node.js, PowerShell, or Python. You build and test them on your computer with Azure Functions Core Tools or Visual Studio Code, then deploy them to a function app. It suits developers who want triggers for HTTP calls, timers, or queues without running servers.

What the free plan gives you

Free grants apply per subscription, shared across all function apps in it, each month. The legacy Consumption plan includes 1 million requests and 400,000 GB-s of resource use. The Flex Consumption plan, which Microsoft now recommends for new serverless apps, includes 250,000 On Demand executions and 100,000 On Demand GB-s.

A GB-s is one second of running with 1 GB of memory. Flex bills the memory allocated to the instance while it executes functions. Legacy Consumption instead uses observed memory rounded up to 128 MB, with a 100 ms minimum execution duration. Flex Consumption lets you choose instance memory of 512 MB, 2,048 MB, or 4,096 MB. The free grants apply only to paid, consumption subscriptions. The Premium plan is billed per second, and the pricing page lists no free grant for it.

When you hit a limit

The pricing page does not describe a hard stop. After the free grant, Azure bills extra executions by count and memory by GB-seconds. That is the pay-as-you-go model, so a busy app costs money instead of stopping.

Flex Consumption has an optional Always Ready setting. It keeps instances available and bills baseline memory, execution time, and executions outside the On Demand grant, including idle memory. Leave it off if you want to pay only when functions run.

Gotchas

  • Every function app gets a storage account by default. The free grant does not cover it, and standard storage and network rates apply. The Consumption plan is now legacy. The docs say new serverless apps should use Flex Consumption, which has a smaller free grant. Legacy Consumption has a 5-minute default and 10-minute maximum function timeout. Flex defaults to 30 minutes with a configurable unbounded timeout, but an HTTP response still has a 230-second limit.
  • Free grants apply only to paid consumption subscriptions, so check your subscription type before you count on them.
  • The hosting page labels Linux Consumption retired in its table while its notice gives September 30, 2028 as the retirement date; Windows Consumption is not covered by that notice. The older Linux v3 runtime stopped running after September 30, 2026.

Alternatives in this atlas

  • AWS Lambda: when you want a larger monthly request allowance on AWS.
  • Cloudflare Workers: when you want a free plan that does not need a credit card.
  • Azure Container Apps: when you want to run whole containers on Azure instead of single functions.

Questions people ask

Is Azure Functions free?

Partly. The legacy Consumption plan includes 1 million requests and 400,000 GB-s each month per subscription. The Flex Consumption plan includes 250,000 On Demand executions and 100,000 On Demand GB-s.

Does Azure Functions need a credit card?

Azure sign-up asks for a phone number and a credit or debit card (not prepaid) to verify your identity. It may place a temporary one-dollar hold, and it does not charge you unless you move to pay-as-you-go. The free grants apply to paid, consumption subscriptions only, so you need a pay-as-you-go subscription to get them.

What happens when I go over the Azure Functions free grant?

Azure bills the extra executions and GB-s. The pricing page shows no hard cap that stops your app.

How to get started

  1. Create an Azure account with an active subscription and install Azure CLI, your language SDK, and Azure Functions Core Tools (or the Azure Functions extension in Visual Studio Code).
  2. Run func init with a worker runtime such as node, python, or dotnet-isolated to create a local project.
  3. Run func new with the HTTP trigger template, then func start to test the function locally.
  4. Sign in with az login, create a resource group and a storage account, then follow the linked quickstart to configure a managed identity and storage permissions and create a Flex Consumption app with az functionapp create and --flexconsumption-location. Match its runtime version to your local project.
  5. Deploy with func azure functionapp publish and your app name, then call the function URL with its function-level access key when required.

Other free compute options

Same category, safest first.

Cloudflare · Compute
100,000 requests/day · 10ms CPU time/request · Up to 100 Workers per account
Billing risk: None
No card
1,000,000 Function Invocations/month included · 4 CPU-hrs Fluid Active CPU/month included · 360 GB-hrs Fluid Provisioned Memory/month included
Billing risk: None
No card
Cloudflare · Compute
100,000 requests per day, shared with Workers requests · 3,000 steps per day · 1 GB-month of storage
Billing risk: None
No card
Trigger.dev · Compute
$5 compute credits per month · 20 concurrent runs · Unlimited tasks
Billing risk: None
No card