Which of these monitors should I get?

I’m between these two models: 27’ Samsung S27A70 and 27’ Gigabyte G27qc, mainly for TouchDesigner and editing.

Tho I tend to render in 4K, I’m not exactly sure if I should prioritize 1440p at 165hz and 1ms over 4K at 60hz and 5ms.[Since I tend to work heavily on audioreactivity.]

What do you think?