Basically, US drug prices are production + R&D, while Canada’s prices are production.
There’re operating costs, and Canada allows a small percent profit beyond the cost to produce an already-known medicine, but that’s the gist of it.
You’ve got it exactly right! As a Canadian, I am embarrassed that we’re R&D free riders. As a consumer of some costly medicines, I’m thankful that we’re free riders.