Cpu i7 vs i9: pro and cons

GROMACS version: 2022
GROMACS modification: Yes/No
Hi there, yet another question about intel cpu. I am going to buy a WS to use under my desk. I have a Nvidia RTX 4090 and I have doubt about intel cpu between i7-14700K and i9-14900K.
Any comment of users having one of those intel cpu? I have found various bench and they seem very similar to me, just 24 cores vs 20 cores (i9 vs i7).
Thanks in advance
Best

get 24 core, (since you have money for that and no plan to add another GPU, get the best for the price)