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. Dedicated needs Always On for an unbounded timeout. 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
TimeoutPlan defaultHard 10-minute maximumExtendedUnbounded - but only with Always On enabled
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