I'll be honest. I did a year on an 8Gb M1 Mini and it was absolutely fine.
I was writing Go, LaTeX, doing all usual Apple apps stuff, using MS Office, remote admin etc. Used Safari as the native browser. Was using Apple Photos for personal photo management (about 75 gig)
The only time I hit problems was when I put Adobe near it with Lightroom and Slack.