When you see "12-speed" or "9-speed" on a component, it refers to how many cogs are on the cassette. Drivetrains can range from 8-speed all the way up to 12-speed and sometimes even 13-speed. 12-speed drivetrains are currently the most popular when it comes to components.