Minecraft wiki entry for Enchanting, associated text: Although the player must have at least the level requirement to get an enchantment, the number of levels that the player is charged is the same as the lapis lazuli requirement. For example, if the third enchantment listed is a level 30-50 enchantment, the player must have at least 30 levels, but pay only 3 levels and 3 lapis lazuli.