Buying Guide

The Best CPUs for Machine Learning

Four processors compared, from the Core Ultra 5 245KF to the Ryzen 9 9950X3D, with the trade-offs of each named.

By The PC Journal editorial team

11 min read4 products evaluated

For machine learning the GPU does the training, but the CPU feeds data, runs preprocessing and handles smaller models. Every pick has 12 or more cores on a current AM5 or LGA1851 platform, ordered by thread count.

Our comparison rests on published figures for L3 cache, max boost and cores / threads; where a maker leaves a figure out, we say so, and no figure here comes from our own testing.

Quick Picks

Our 4 recommendations at a glance. Tap a pick for the full verdict.

  1. Also Consider

    AMD Ryzen 9 9950X

    AMD's recommendation of a liquid cooler.

    Best for: Buyers who want AMD's recommendation of a liquid cooler.

    Our take Check price for AMD Ryzen 9 9950X (opens in a new tab)

  2. Largest Game Cache

    AMD Ryzen 9 9950X3D

    The largest L3 cache here (128MB).

    Best for: Players chasing 1% lows in simulation and esports titles.

    Our take Check price for AMD Ryzen 9 9950X3D (opens in a new tab)

  3. Highest Core Count

    Intel Core Ultra 7 265KF

    The highest core count here (20 cores).

    Best for: Buyers who put core count first.

    Our take Check price for Intel Core Ultra 7 265KF (opens in a new tab)

  4. Lowest Price Here

    Intel Core Ultra 5 245KF

    Undercutting the Core Ultra 7 265KF on price when we checked.

    Best for: Buyers who would rather put the savings elsewhere in the build.

    Our take Check price for Intel Core Ultra 5 245KF (opens in a new tab)

Our Picks

AMD Ryzen 9 9950X

Also Consider1 of 4

AMD Ryzen 9 9950X on Amazon (opens in a new tab)

The Ryzen 9 9950X gives 16 cores and 32 threads without the X3D premium.

Best for

Buyers who want AMD's recommendation of a liquid cooler.

Skip if

Skip it if this is a deal-breaker for you: 170W rating calls for a large air cooler or a 280mm-plus AIO.

Why we like it

It is the better buy when CPU encoding and editing matter more than the last few frames per second. Its 64MB L3 cache ranks second of 4 here, behind the Ryzen 9 9950X3D (128MB) and ahead of the Core Ultra 5 245KF (24MB). It matches the Ryzen 9 9950X3D on boost clock (5.7GHz).

On rated power it ties with the Ryzen 9 9950X3D at 170W. Like the Ryzen 9 9950X3D, it has an AM5 socket, while the Core Ultra 7 265KF uses an LGA1851 socket. It also comes with AMD's recommendation of a liquid cooler.

It needs an AM5 board (A620, B650, B850, X670 or X870 series) and DDR5 memory; a 600-series board may need a BIOS update first, so check the maker's CPU support list for the minimum version. Budget for a dual-tower air cooler or a 240mm-plus AIO, since none is included.

Key dimensions & specs

  • L3 cache: 64MB
  • Max boost: 5.7GHz
  • Cores / threads: 16 cores
  • Rated power: 170W
  • Threads: 32
  • Socket: AM5
  • Memory: DDR5
  • Cooler in box: No
  • Integrated graphics: Yes

Pros

  • 64MB of L3 cache
  • 5.7GHz maximum boost
  • 16 cores for encoding and background work
  • Integrated graphics for display output without a graphics card

Cons

  • 170W rating calls for a large air cooler or a 280mm-plus AIO
  • No cooler in the box
  • Costs more than the Core Ultra 5 245KF at the time of writing
AMD Ryzen 9 9950X3D

Largest Game Cache2 of 4

AMD Ryzen 9 9950X3D on Amazon (opens in a new tab)

The Ryzen 9 9950X3D adds a second eight-core die to the X3D formula, giving 16 cores for work while keeping 3D V-Cache for games.

Best for

Players chasing 1% lows in simulation and esports titles.

Skip if

Choose another pick if you can't accept this: 170W rating calls for a large air cooler or a 280mm-plus AIO.

Why we like it

It suits a single machine that must game and render. On L3 cache it leads this guide at 128MB, ahead of the Ryzen 9 9950X (64MB). It matches the Ryzen 9 9950X on boost clock (5.7GHz).

On rated power it ties with the Ryzen 9 9950X at 170W. Like the Ryzen 9 9950X, it has an AM5 socket, while the Core Ultra 7 265KF uses an LGA1851 socket. It also comes with a design aimed at both games and content creation.

It needs an AM5 board (A620, B650, B850, X670 or X870 series) and DDR5 memory; a 600-series board may need a BIOS update first, so check the maker's CPU support list for the minimum version. At our last price check it topped the group, with the Ryzen 9 9950X the nearest cheaper option. Rated power is its weakest area, and the Core Ultra 7 265KF covers it better at 125W.

Key dimensions & specs

  • L3 cache: 128MB
  • Max boost: 5.7GHz
  • Cores / threads: 16 cores
  • Rated power: 170W
  • Threads: 32
  • Socket: AM5
  • Memory: DDR5
  • Cooler in box: No
  • Integrated graphics: Yes

Pros

  • 128MB of L3 cache from 3D V-Cache
  • 5.7GHz maximum boost
  • 16 cores for encoding and background work
  • Integrated graphics for display output without a graphics card

Cons

  • 170W rating calls for a large air cooler or a 280mm-plus AIO
  • No cooler in the box
  • Rated power trails the Core Ultra 7 265KF (125W)
Intel Core Ultra 7 265KF

Highest Core Count3 of 4

Intel Core Ultra 7 265KF on Amazon (opens in a new tab)

The Core Ultra 7 265KF is the 265K without integrated graphics.

Best for

Buyers who put core count first.

Skip if

Look at the others if this bothers you: no cooler in the box.

Why we like it

It costs less and needs a graphics card for any display output. On L3 cache it sits mid-pack at 30MB: the Ryzen 9 9950X3D offers 128MB, and the Core Ultra 5 245KF comes in at 24MB. On boost clock it sits mid-pack at 5.5GHz: the Ryzen 9 9950X offers 5.7GHz, and the Core Ultra 5 245KF comes in at 5.2GHz.

Nothing else here matches its 20 cores core count; the Ryzen 9 9950X comes closest at 16 cores. It matches the Core Ultra 5 245KF on rated power (125W). It also comes with 8 performance and 12 efficient cores and an unlocked multiplier.

On price it sat second of 4, between the cheaper Core Ultra 5 245KF and the pricier Ryzen 9 9950X, at the time of writing. The main gap: no integrated graphics, unlike the Ryzen 9 9950X. If that matters, the Ryzen 9 9950X has it.

Key dimensions & specs

  • L3 cache: 30MB
  • Max boost: 5.5GHz
  • Cores / threads: 20 cores
  • Rated power: 125W
  • Threads: 20
  • Socket: LGA1851
  • Memory: DDR5
  • Cooler in box: No
  • Integrated graphics: No

Pros

  • 5.5GHz maximum boost
  • 20 cores for encoding and background work
  • 8 performance and 12 efficient cores
  • Unlocked multiplier

Cons

  • No cooler in the box
  • No integrated graphics, so a graphics card is required
  • Costs more than the Core Ultra 5 245KF at the time of writing
Intel Core Ultra 5 245KF

Lowest Price Here4 of 4

Intel Core Ultra 5 245KF on Amazon (opens in a new tab)

The Core Ultra 5 245KF is the entry to LGA1851, with 14 cores and no integrated graphics.

Best for

Buyers who would rather put the savings elsewhere in the build.

Skip if

Choose another pick if you can't accept this: no cooler in the box.

Why we like it

It needs a graphics card to show a picture, which every gaming build has anyway. On L3 cache it trails the group at 24MB, while the Ryzen 9 9950X3D offers 128MB. On boost clock it trails the group at 5.2GHz, while the Ryzen 9 9950X offers 5.7GHz.

Its 14 cores core count is the lowest in this group; the Core Ultra 7 265KF leads at 20 cores. It matches the Core Ultra 7 265KF on rated power (125W). It shares an LGA1851 socket with the Core Ultra 7 265KF; the Ryzen 9 9950X3D goes with an AM5 socket.

You also get 6 performance and 8 efficient cores, Intel 800-series chipset support and PCIe 5.0 support. It needs an LGA1851 board (Intel 800-series chipset) and DDR5 memory; LGA1700 boards and coolers without an LGA1851 mounting kit will not fit. It was the cheapest of the group when we checked; the Core Ultra 7 265KF was the next step up.

Key dimensions & specs

  • L3 cache: 24MB
  • Max boost: 5.2GHz
  • Cores / threads: 14 cores
  • Rated power: 125W
  • Threads: 14
  • Socket: LGA1851
  • Memory: DDR5
  • Cooler in box: No
  • Integrated graphics: No

Pros

  • 14 cores for encoding and background work
  • 6 performance and 8 efficient cores
  • Intel 800-series chipset support
  • PCIe 5.0 support

Cons

  • No cooler in the box
  • No integrated graphics, so a graphics card is required
  • L3 cache trails the Ryzen 9 9950X3D (128MB)

How We Chose

Each pick was assessed across 4 criteria weighted for real-world use.

Upgrade path
We considered how long each socket is likely to receive new CPUs.
Power and cooling
We recorded each chip's rated power and what cooler class it needs.
Game-relevant specs
We compared L3 cache, boost clocks and core counts from AMD's and Intel's product pages.
Platform cost
We noted socket, memory type and whether a cooler is included, since they change the real price.

What to Look for in a CPUs for Machine Learning

Key buying criteria so you get the right fit the first time.

  1. Where these picks differ: L3 cache

    Among these picks, L3 cache runs from 24MB on the Core Ultra 5 245KF to 128MB on the Ryzen 9 9950X3D. Settle how much you need before comparing prices, since paying for more rarely helps if your use never reaches it.

  2. Match the CPU to your graphics card and monitor

    At 1440p and 4K the graphics card sets most frame rates, so a mid-range CPU is often enough. At 1080p with a high-refresh monitor, the CPU matters much more.

    Spend on the part that limits your games, not on the bigger number.

  3. The socket decides your upgrade path

    The socket fixes which motherboards and future CPUs you can use. AM5 has had several CPU generations; AM4 has no newer chips coming.

    If you plan to upgrade later, a current platform is worth a small premium.

  4. Cores matter for streaming and creation

    Six and eight cores cover gaming. Streaming with CPU encoding, video editing and compiling benefit from twelve or sixteen.

    If you encode on the graphics card instead, core count matters less.

  5. Integrated graphics are a useful backup

    Chips with integrated graphics can drive a display without a graphics card, which helps when troubleshooting or between upgrades. Intel's F and KF models and most AM4 Ryzen chips have none.

How to Choose a CPUs for Machine Learning

By priority

PriorityConsiderWhy
Buyers who want AMD's recommendation of a liquid coolerRyzen 9 9950XAMD's recommendation of a liquid cooler
Players chasing 1% lows in simulation and esports titlesRyzen 9 9950X3DThe largest L3 cache here (128MB)
Buyers who put core count firstCore Ultra 7 265KFThe highest core count here (20 cores)
Buyers who would rather put the savings elsewhere in the buildCore Ultra 5 245KFUndercutting the Core Ultra 7 265KF on price when we checked

Scroll sideways to see every column.

Key specs side by side

Figures as each maker states them.

ProcessorL3 cacheMax boostCores / threadsRated power
Ryzen 9 9950X64MB5.7GHz16 cores170W
Ryzen 9 9950X3D128MB5.7GHz16 cores170W
Core Ultra 7 265KF30MB5.5GHz20 cores125W
Core Ultra 5 245KF24MB5.2GHz14 cores125W

Scroll sideways to see every column.

By price at the time of writing

Prices change often; these tiers reflect Amazon prices when this guide was updated.

Price tierProcessors
About $150 to $250Core Ultra 5 245KF
About $250 to $500Core Ultra 7 265KF, Ryzen 9 9950X
About $500 to $1000Ryzen 9 9950X3D

Frequently Asked Questions

Which pick leads on core count?

The Core Ultra 7 265KF leads at 20 cores, ahead of the Ryzen 9 9950X at 16 cores; the Core Ultra 5 245KF sits at the other end with 14 cores.

Which pick costs the least here?

Start with the Core Ultra 5 245KF, the lowest-priced pick when we checked. The Ryzen 9 9950X3D is the premium end, so the spread between them shows what extra money buys here.

Should I choose Intel or AMD for gaming?

At the high end, AMD's X3D chips lead in many CPU-limited games. Intel's Core Ultra chips offer more cores for work at similar prices. Choose by workload and platform cost.

Do I need to buy a separate cooler?

Usually yes. Only some chips, such as the Ryzen 5 7600 and 5600X, include a basic cooler; unlocked high-end models do not.

Will a new CPU work in my current motherboard?

Only if the socket matches and the board's BIOS supports it. Check the maker's CPU support list for the minimum BIOS version.

Bottom Line

Our first pick is the Ryzen 9 9950X, chosen for AMD's recommendation of a liquid cooler. Look at the Core Ultra 7 265KF for the highest core count here (20 cores) and the Core Ultra 5 245KF for undercutting the Core Ultra 7 265KF on price when we checked if those matter more to you.

Spend on the GPU's VRAM first; a faster CPU won't rescue a model that doesn't fit.