Paint and/or white interior can add $3,000 to the cost. FSD can add $8K to the cost. OP did not give specifics so it’s hard to know how far off the Carmax estimate is. I do know that Carmax is generally not familiar with Teslas and does not know how to appropriately value the different AP/EAP/FSD variations out there.