Azure Functions Pricing

Scalable, event-driven compute for the cloud.

Flexible Pricing Tiers

Choose the plan that best suits your needs, with generous free tiers and pay-as-you-go options.

Consumption Plan

$0.00 / GB-second
  • Pay only for what you use
  • Automatic scaling
  • Ideal for event-driven workloads
  • Free grant included monthly
Learn More

Premium Plan

$0.00 / hour (dedicated instances)
  • Pre-warmed instances for low latency
  • Longer running executions
  • VNet connectivity
  • Enhanced performance
Learn More

Dedicated (App Service) Plan

Starts at $25.00 / month
  • Fixed monthly cost
  • Runs on existing App Service plans
  • Predictable performance
  • Best for predictable workloads
Learn More

Consumption Plan Details

The Consumption plan offers a serverless experience where you don't pay for idle compute. You are billed based on the number of executions and the resources consumed (memory and execution time).

Key Features & Pricing:

  • Free Grant: 1 million free executions and 400,000 GB-seconds per month per Azure subscription.
  • Execution Price: $0.000016 per million executions.
  • Compute Price: $0.000016 per GB-second.
  • Max Memory: 1.5 GB.
  • Max Timeout: 10 minutes (default), configurable up to 10 minutes.

Premium Plan Details

The Premium plan provides more advanced features, including pre-warmed instances to eliminate cold starts and longer execution durations, while still offering elastic scaling.

Key Features & Pricing:

  • Instance Pricing: Based on compute instances allocated (e.g., EP1, EP2, EP3 tiers).
  • Pre-warmed Instances: Reduces latency by keeping functions ready.
  • Longer Execution: Up to 60 minutes by default, configurable.
  • VNet Integration: Securely connect to your virtual networks.
  • Generous Free Grant: The Consumption plan free grant still applies for executions that don't use pre-warmed instances.

Dedicated (App Service) Plan Details

Azure Functions can also run on a Dedicated (App Service) plan, providing predictable costs and dedicated resources. This is ideal when you already have an App Service plan or need consistent performance without serverless scaling variability.

Key Features & Pricing:

  • App Service Plan Tiers: Billed based on the chosen App Service Plan tier (e.g., Basic, Standard, Premium).
  • Predictable Cost: Fixed monthly cost regardless of usage.
  • No Cold Starts: Instances are always running.
  • Resource Dedication: Resources are not shared with other customers.

Additional Considerations

Other Factors:

  • Outbound Data Transfer: Standard Azure networking charges apply.
  • Azure Storage: Functions require an Azure Storage account, which has its own associated costs.
  • Hybrid Connections & VNet Integration: May incur additional networking costs.
  • Regional Pricing: Prices may vary slightly by Azure region.