Teslas have used a variety of Li-ion batteries. Model S/X started with 18650's (for reference, a P85 contains 7104 cells.) Model 3/Y uses mostly 2170's, but they are transitioning to 4680's. Tesla's apparently have very advanced battery management software and technology (thermal management)...