The camera works on 4G networks. It also supports 3G, which is not recommended though (since wireless companies are working to retire older network technologies). It does not support a 5G or 2G Nano SIM card.
Yet it does not matter whether you use a 4G or 5G mobile phone to access the camera. The camera needs a Nano SIM card of its own, which is totally irrelevant to your mobile's SIM card.
(1) The camera does not support a WiFi connection.
(2) As of July 1, 2022 T-Mobile’s older 3G UMTS network will be retired.