These days I always get a quote for my trade in at carmax first. They will straight up buy cars without also selling to you. They offer less than market value of course, but it gives a firm price that you can make the dealers beat, or else you can tell them to forget the trade in and just sell it to carmax instead.