No the caffeine will not cook out during the baking process. A whole cake has about 484 mg of caffeine which is equal to about 5 cups of coffee. 1 slice of cake (1/10) has about the same caffeine as ½ cup of regular coffee.