If you are starting your journey with macOS and you have a limited budget, then Mac mini is the best choice. If you need a higher-end computer with a dedicated graphics card, 4K display and you have enough money to spend on a computer, you can think about iMac. iMac is usually suitable for high resource-hungry applications, multimedia editing and processing. So, buying the correct model is mostly depends on your requirement and budget.