The prices you see in articles are usually for utility scale solar, where thousands of panels are purchased in bulk from the manufacturer.

For the lowly homeowner looking to get a few panels, you're buying something that has 4 middlemen's hands on it already.