The Mini does almost everything the Pro does. Just stupid marketing terms really. It’s the size that’s the issue.
The Mini cannot be compared to the Pro imho. I had both (recently sold the Mini). The M4 pro has promotion, a dual tandem OLED display, 16GB of Ram if you have the 1TB version (this is what I have), Stage Manager, External Display support, etc. and most importantly the nano texture display as an option (which for my use case has been a revelation).