These things can run locally. Training them takes ENORMOUS resources but once they are trained they can run on a PC. (I dont know this for ChatGPT in particular but is def true for some of the image AIs.)