they connect you with local dealers who are supposed to offer a pre-negotiated discount. Depending on the model, you can sometimes negotiate a better deal yourself. In my case, the Costco deal worked out to be about the same as I had been negotiating with another dealer, but came with a few extras like a 50% discount on accessories.
I have no idea how well the Costco thing is working with the current market, though.