Vials regenerate the highest amount of HP/AP over time.
Pills regenerate the a bit lower amount of HP/AP immediately after use
Meds regenerate a lower amount os HP/AP then pills when thrown at the ground and then being picked up

Your pills will regenerate immediately and the vials will take some time <<< pick between these what suits your playstyle.
The meds are a waste of coins if they do not get some kind of boost