What eNate said
But be aware that the 2014 and 2015 i3 Samsung battery packs do have a reputation for diminishing range. My 2015, a lease return with only 9K miles on when I bought it, gave me the full 71 'new' mile range for two years. Range then suddenly dropped to 55 -60 in good weather, and into the 40's in colder weather.
There is an 8 year warranty on the battery pack - guaranteed not to fall below 70% of 'new' range. If you think your range is below the 70% you have to pay the Dealer a few hundred $$ to test the battery for warranty replacement (waived if the test shows it fails) - though several people have reported that the testing process, which requires the car's operational software be updated to the latest version first, updates the battery management software - which in-turn seems to increase the car's battery range enough to bring it just above the 70% threshold.
If your commute/daily drive is well under even the car's diminished range, and you can charge the car overnight (or at work) each day, range may not even be an issue.
For me - if I was buying today, a 2016 would be the oldest I'd be interested in because of battery life, and if budget allowed, I'd be looking for a 2018 or above, as with AT&T killing the 3G network at the end of Feb, 2014 - 2017ish i3s will lose all telecom connectivity.