Carmax uses market-based pricing, taking into account factors such as the vehicle's condition, demand, and comparable sales in the area.