Probably something 7th gen Intel or newer so you can use Quicksync for transcoding on Jellyfin and HW accel on Immich for ML, face recognition, resizing, etc..
Tons of 7th/8th gen PCs pulled from offices on ebay for around $50-80, if you do some creative mounting inside a Midtower (MT) sized one you can fit a couple 3.5" drives and 2.5" SSDs.