Yes it predicts the next word, but by basically running a very complex large scale algorithm.
It’s not just autocomplete, it is a reasoning machine working in concept space - albeit limited in its reasoning power as yet.