MX devices have two types of licensing, Enterprise or Advanced security.
MS Switches on require a dashboard license
Licensing comes in 1, 3 or 5 year options. Sometimes Meraki do have specials where they will give you an extra year for free and it usually works out cheaper if you be a longer license as well.