The Tesla 2021 USA vin decoder can be found here:There's a VIN decoder. LFP is "F" for battery type.
Tesla vehicle VIN number Decoder
The VIN number is the chassis number of a Tesla and uniquely identifies a vehicle worldwide. Among other things, the vehicle serial number is also part of the Vtesladriver.net
https://vpic.nhtsa.dot.gov/mid/home/displayfile/6d69b71a-c68b-4902-9ee6-99132b1a1f7c
Battery type is not disclosed in the VIN, at least in the U.S.