I bought a NEW Leaf for $16K (after tax credit) in 2017 when they were liquidating the 1st generation models. It has 30 kWh of battery and a range of about 120 miles.
Right now, you can buy a USED Leaf under $5K, but it probably has a worn out battery with 60-70 miles of range usable: