Which version should I choose? UE5.6.1 or UE 4.27

My PC:

Ryzen 5700g, 32gb ram, 512gb, 2tb HDD

Hello there @Thunders_375!

Considering the engine’s system requirements:

Your PC should be able to handle UE5.6.1 with no problems. Nowadays, UE4 is mostly used to access old projects, so unless you are working with a previous project, the newest version of the engine will do nicely.