Government controls generic drug prices in the U.S. through rebates, Medicare caps, and safety-net programs - not direct price setting. Learn how Medicare Part D, Medicaid, and the 340B program affect what you pay at the pharmacy.