FunctionPriceBook

Azure Functions pricing

Microsoft Azure · FaaS (Consumption / Flex Consumption) · snapshot captured June 2026

Azure Functions is priced as faas (consumption / flex consumption). Classic Consumption: $0.20 per 1M executions + $0.000016/GB-s (1M + 400k GB-s free). Flex Consumption: $0.40 per 1M executions + $0.000026/GB-s (250k + 100k GB-s free) and adds always-ready instances priced separately. It scales to zero, so you pay nothing while idle. Egress: First 100 GB/month outbound free, then standard Azure bandwidth rates.

Source: Microsoft Azure pricing. Data as of June 2026.

Azure Functions pricing at a glance

Cost factorAzure Functions
Pricing modelFaaS (Consumption / Flex Consumption)
Per 1M requests$0.20 / 1M
Per GB-second$0.000016 / GB-s
Free tierConsumption plan free grant: 1,000,000 executions + 400,000 GB-s/month. Flex Consumption free grant: 250,000 executions + 100,000 GB-s/month, then $0.000026/GB-s + $0.40/1M executions.
Scale to zeroYes (no charge when idle)
EgressFirst 100 GB/month outbound free, then standard Azure bandwidth rates.
Regions60+ Azure regions worldwide.

Source: Microsoft Azure pricing page. Data as of June 2026.

Source: Microsoft Azure 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 Azure 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 (first 100 gb/month outbound free, then standard azure bandwidth rates.).

Computed from the committed June 2026 snapshot rates. See the calculator to change the assumptions, and methodology for the formula.

Cost pros & cons

Where Azure Functions saves money

  • Deep Azure + Microsoft 365 / Entra integration
  • Two free grants (Consumption and Flex Consumption)
  • Flex Consumption adds always-ready instances and faster scaling

Watch-outs

  • Two different consumption models (classic vs Flex) with different rates and free grants
  • Always-ready instances on Flex have no free grant and bill separately
  • Egress beyond 100 GB billed separately

Azure Functions vs similar platforms

How Azure Functions compares with related serverless platforms on the headline rates:

Azure Functions and peer platforms. snapshot captured June 2026 — verify each on the vendor's pricing page.
PlatformModelPer 1M reqPer GB-sEgress
Azure Functions (this platform)FaaS (Consumption / Flex Consumption)$0.20 / 1M$0.000016 / GB-svaries
AWS LambdaFaaS (request + GB-second)$0.20 / 1M$0.0000167 / GB-s$0.09/GB
Scaleway Serverless FunctionsFaaS + containers (EU, request + GB-s)$0.17 / 1M$0.0000055 / GB-svaries
Cloudflare WorkersEdge FaaS (request + CPU-ms)$0.30 / 1Mn/aFree
Google Cloud RunServerless containers (vCPU-s + GiB-s + request)$0.40 / 1M$0.0000025 / GB-svaries
Google Cloud FunctionsFaaS (now on Cloud Run model)$0.40 / 1M$0.0000025 / GB-svaries

Frequently asked questions

How much does Azure Functions cost?

Classic Consumption: $0.20 per 1M executions + $0.000016/GB-s (1M + 400k GB-s free). Flex Consumption: $0.40 per 1M executions + $0.000026/GB-s (250k + 100k GB-s free) and adds always-ready instances priced separately. Snapshot June 2026 — verify on the vendor's pricing page.

Does Azure Functions have a free tier?

Yes — and it renews every month, not just for the first year. Consumption plan free grant: 1,000,000 executions + 400,000 GB-s/month. Flex Consumption free grant: 250,000 executions + 100,000 GB-s/month, then $0.000026/GB-s + $0.40/1M executions.

Does Azure Functions scale to zero?

Yes — Azure Functions scales to zero, so you pay nothing while it is idle (you are billed only for actual usage). Consumption plan: 1M executions + 400,000 GB-s/month free. Flex Consumption: 250,000 executions + 100,000 GB-s/month free.

What does Azure Functions charge for egress?

First 100 GB/month outbound free, then standard Azure bandwidth rates. 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 Microsoft Azure'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