This isn't really a question of "which CPU is faster this month." Both AMD's AM5 and Intel's LGA1700 platforms have solid chips at every price point right now. The real question is what happens in two or three years when you want to upgrade.

AM5: the longer runway

AMD has committed to keeping the AM5 socket around for several CPU generations, the same way AM4 stuck around from 2017 well into 2023. If you buy an AM5 motherboard now, there's a reasonable chance you can drop in a considerably faster CPU in a couple of years without touching the motherboard, RAM, or cooler.

The trade-off: AM5 boards and DDR5 memory both currently cost a bit more up front than the equivalent Intel setup.

LGA1700: mature, but likely near the end of the road

Intel's LGA1700 platform has been through several CPU generations already and is generally understood to be winding down in favour of a new socket going forward. That doesn't make the CPUs themselves bad, an i5-14600K or i7-14700K is a genuinely strong chip today, but it does mean your next CPU upgrade will likely require a new motherboard too.

So which do you actually pick?

If you plan to keep this PC for 4+ years and upgrade the CPU partway through without a full rebuild, AM5 is the safer long-term bet.

If you're building once and expect to replace the whole PC (not just upgrade it) in a few years anyway, or you've found a particularly good deal on an LGA1700 board and CPU bundle, there's nothing wrong with going Intel. You won't notice a meaningful difference in day-to-day use between a well-matched build on either platform.

One thing to actually check before you buy

Whichever way you go, make sure the specific motherboard you're looking at officially supports the CPU you want, ideally with a BIOS that doesn't need updating first. Newer CPUs on older board revisions sometimes need a BIOS flash before they'll even boot, which is an awkward problem to have when you don't have a working CPU yet to do the flashing with. Check the motherboard manufacturer's CPU support list, not just the socket name.