Recent U.S. trends show that this happens because insurers negotiate prices and require billing through benefits, which locks you into a system that isn’t always the cheapest.
Ask your doctor or pharmacist for "good faith estimates," consider using discount programs like GoodRx, or request a formulary exception for a cheaper alternative. That way, you can legitimately pay cash where it’s cheaper, without insurance pushback.