It depends. If you have carpentry experience, the necessary tools, materials and permits, it would be cheaper to DIY.
In contrast, if you lack experience building a solid structure like an outdoor deck – the expenses can quickly rack up, and can be dangerous if done incorrectly. DIY without sufficient experience can lead to expensive liabilities down the road. For a hassle-free build, it’s best to work with deck specialists.