Please don’t get less than 16.
I have now had two (work and personal) - my work m1 air was specced with 8GB, and had major memory pressure and issues with an external monitor. My personal 14” MBP has 16GB - same workload, same monitor, never skipped a beat.
Ended up sending the air back and swapping for one of the old dev ex MBP (intel based).