Well, there is the lovely new 27" 5K Studio Display that Apple announced last week...Your iMac will probably outlast its ability to use whatever OS is current. BTW, neither the Mac Mini nor the Mac Studio comes with keyboard/mouse. So, if you want one of them to go with the 27" Studio Display, you'll have to buy the keyboard/mouse separately. There is a bit of uncertainty that older keyboards will work with Apple Silicon. See this Apple page (https://www.apple.com/us/search/Keyboards?src=globalnav) for specs. Part of my issue is that both my wife and I like the old plastic keyboard that we continue to use since our first Mac. (A phone call to Apple, with two different sales reps, gave conflicting opinions about keyboard compatibility issues.)
I'm hoping my 2018 27" iMac lasts a good long time...
two different sales reps, gave conflicting opinionsObviously, you need to call a third rep. "Two out of three can't be rong!" :p Advice Rule # 73: Always get an odd number of replies.