What is the difference in caffeine pills and drinking caffiene?

Is consuming caffeine in pill form different than consuming a caffeine drink? As far as milligrams go?

I can drink tons of caffeine but the caffeine pills always made me really sick

Well one is more concentrated