Unless you’re simply looking for a blinking rear light for the occasional commute, a rechargeable bike light is superior to a battery-powered option. Rechargeable lights might cost more initially but after just a couple of battery charges, the cost will balance out.
The Sierra Club notes that rechargeable options are more eco-friendly, as they avoid constantly disposing of used batteries.