It's too bad though that they put 4 Thunderbolt controllers in the M4 Mac mini but are only giving us 3 Thunderbolt 4 ports on the Mac mini. How are the two front USB 3.2 Gen 2 being implemented?
I'd love to see a more detailed description of how everything in the Apple Silicon macs, past and present, is connected.
What we do know is that M1-M3 had 2 TB/USB4 controllers on the regular, 4 on the Pro and Max and 8 on the Ultra (on the Mac Pro - "rationed" to 6 on the Studio Ultra). Whether those ports were "TB/USB4" or full "TB 4" seemed to depend mainly on how many displays the particular chip could support via TB, since TB4 branding requires at least 2.
We also know that the M1 and M2 Mac Minis managed to offer the full complement of USB4/TB ports (2 on the regular, 4 on the Pro)
and still offer HDMI, up to 10G Ethernet, and at least one extra USB controller for the two USB-A ports.
Meanwhile, the M1/M2 Max Studio supported the full 4 TB4 ports
and HDMI
and 10G Ethernet
and at least one up-to-10Gbps USB3.2 controller (for the extra USB-A and front USB-C ports)
and a PCIe-driven SD card reader.
Point being - it looks like the M1-M3 chips had "spare" USB and/or PCIe lines apart from the USB4 controllers and could support the "extra" ports on Minis and Studios without sacrificing a full-blown TB/USB4 controller - and indeed the 10 core M4 iMac offers the full complement of 4 TB4 ports - plus an internal display (in lieu of HDMI) and internal ethernet controller (the controller chip shows up in teardowns - the "ethernet" power supply is just providing the socket) plus a webcam (presumably USB internally).
So it seems pretty likely that the "missing" TB4 on the Mini is down to space and cost (for Apple, not us!) savings (cuts out a socket and a TB re-timer chip).
That's maybe not so bad on the base Mini - which still gets an extra TB port overall vs M2 - but a bit shabby on the M4 Pro Mini when the M2 Pro had the full 4 sockets. OK, so TB5 vs 4, which is nice - but 80/120Gbps on 3 ports vs. 40Gbps on each of
4 ports is only really going to be a gain for a few users with 8k and/or HFR 5k displays or ridiculously fast storage arrays - and at best will need a TB5 hub to share the bandwidth amongst multiple TB3/4/5/USB3 devices (there's no advantage for USB devices alone - it's effectively just a USB 3.2 hub - unless it's shared with TB or displayport devices).