Do you need/want to run:
- Games that aren't likely going to be updated with Universal Binary 2 versions
- Other apps that won't perform adequately in Rosetta 2
- x86-64 versions of Windows and/or Linux via Boot Camp
- x86-64 virtual machines (and x86-64 versions of macOS, Windows, and/or Linux therein)
?
If so, go with the 10th Generation Intel model.
If not, go with the M1 model.
You can configure an M1 13" MacBook Pro with up to 16GB of RAM (and I recommend doing so); they otherwise come standard with 8GB.
You can configure a 10th Generation Intel 13" MacBook Pro with up to 32GB of RAM (and, given that you can't upgrade it later, you may want to at least consider doing so); they otherwise come standard with 8GB. Go with the 2.3GHz i7 if you plan on doing less casual workflows; though the 2.0GHz Core i5 should be sufficient as there's not much different between them.
Be sure to buy at least one storage size larger than you think you'll need as you can't upgrade it after the fact.
And there's your June 2021 13" MacBook Pro buyers guide.