What to plan for with each
With Shopify: app costs and app overlap add up as features are added. and product and collection URLs use fixed /products and /collections paths.
With Magento: self-hosted installs must match a tested stack of PHP, database, search engine and web server versions. and upgrades and extension compatibility need planned development time.