Some countries cap the price so the companies make up for it via the price They charge in free market countries.
They could put an end to that practice in a hurry by counties such as the United States simply allowing re-importation of the same drugs. There is no reason that we should be subsidizing the rest of the world, particular countries such as Canada which are more wealthy than ours.
So basically, the US consumer is, thanks to lobbying efforts by the pharmaceutical industry, subsidizing cheap drugs for the rest of the world.
No one in Canada or Mexico prevents US citizens from purchasing drugs from their pharmacies, it is the good ol’ FDA. With that being the case I would hardly call our market “free”.