Either a clipping of Pakistani or a back-formation from Pakistan. Doublet of Pak.
Improve your pronunciation
Write this word
Practice speaking and memorizing "Paki" and many other words and sentences in English.