A little more complicated because in some settings drugs are covered by Medicare part B but generally not if administered yourself at home. Then yes it’s part D and the most out of pocket in Part D from 2025 going forward is $2K.
Also, they do negotiate for a very few drugs and the number is climbing. This was part of the IRA. However only drugs that are FDA approved for your issues are covered.
Before the IRA the government was not allowed to negotiate any drug prices by law which was/is crazy.