Hello complaxneoda,
I'll just cut/paste my response (from a similar thread on the MacRumors forums).
As you decide on your next Mac acquisition, here are some other factors (in no particular order) you may wish to consider:
1. Upgrading the 2018 Mac mini SSD is impossible. Upgrading its RAM is possible, but involves a bit of careful work.
2. Upgrading the 2013 Mac Pro SSD is extremely easy. Upgrading its RAM is extremely easy.
3. It is true that for single-core performance, the 2018 Mac mini is faster than the 2013 Mac Pro. The same might be true for multi-core performance. However, the Xeon CPU (workstation class) in the 2013 Mac Pro will not throttle down under sustained workload. The CPU in the 2018 Mac mini may throttle down under heavy sustained computation.
4. My 2013 Mac Pro runs very well with macOS Mojave 10.14.6. My 2018 Mac mini does not run as well with macOS Catalina 10.15.6.
5. Some of the ports in the 2018 Mac mini are very modern (Thunderbolt 3) and greatly increases the expansion options. The 2013 Mac Pro has some Thunderbolt 2 ports, which are "antiquated."
6. Both the 2013 Mac Pro and the 2018 Mac mini are virtually silent.
I own both machines and I like them both. From a purely subjective point of view, my 2013 Mac Pro just feels more robust (compared to my 2018 Mac mini). I could imagine using my 2013 Mac Pro for another 5-7 years!
Good luck in your decision!
richmlow