It's effectively the same thing: given some words it predicts which word should come next.
But unlike the iPhone keyboard it's been trained for months on multiple TBs of text, and has the ability to use ~4,000 previous words as the input to its prediction.