In theory, the lighter the roast, the more caffeine. This variance is ever so slight, though—caffeine is only minimally affected by “cooking” it out through the roasting process. What contributes more to the caffeine levels is the bean itself. Robusta varieties contain almost 3% more caffeine than Arabica varieties.