Ubiquiti’s line of Edgerouters begins at $59 so on their own, an Edgerouter is cheaper. However, it should be noted that the Edgerouter is a full-featured router with most of the same features as a Dream Machine but without any extra bells and whistles like SD-WAN support or high availability capabilities. The Dream Machine lineup performs a wider array of tasks, so it may ultimately be more affordable.