Interestingly couple years ago a BMW dealer offered me $2500 more for trade in of my 2014 5 series than what Carmax offered. Since then I always try to double check what other dealers offer
Either way, the process was painless enough that I don't think it can hurt getting an additional valuation.