Azure Functions: which hosting plan?

Verdict: New serverless apps go on Flex Consumption. The legacy Consumption plan is Windows-only with a hard 10-minute cap. Every other plan can run unbounded; Dedicated needs Always On for it. Premium exists for prewarmed workers and Hybrid Connections.

CriterionFlex ConsumptionConsumption (legacy)PremiumDedicated (App Service plan)
OSLinux onlyWindows only (Linux retired)Windows or LinuxWhatever the plan runs
TimeoutUnbounded maximumHard 10-minute maximumUnbounded maximumUnbounded - with functionTimeout -1 and Always On
ScaleEvent-driven to 1,000 instances per appServerless scalePrewarmed workersPlan instance count
VNet integrationYesNoYesYes
Cold startOptional always-ready instancesCold starts applyPrewarmedAlways On keeps host warm
Apps per planOneUp to 100Up to 100Plan capacity

Rules

Traps