An term, which by use/misuse has become derogatory is racist. I don't understand how you think paki isn't racist.
No, it's not racist - it's a derogatory remark (if used with that intent). Racism is the belief that people of a particular race are superior/inferior/whatever by virtue of nothing more than their race (and in this context we're really using the word 'race' to delineate a particular genetic heritage).
Saying 'I hate Pakis' is NOT racist, although it's a very sweeping generalisation.
Saying 'Brown people are stupid' is.
You might argue that the word racist has come to mean something different in common parlance recently, but used in that way 'racist' is just a synonym for lots of other words which are much more tolerable. The idea that it's worse to hold those views when the subject is someone with different colour skin is entirely arbitrary (It's fine to say 'i don't like chavs', but not to say 'i don't like pakistanis' ?), and i think generally we've got the self-loathing busy-bodies to thank for that corruption.
And shortening Pakistani to Paki is not derogatory. The derogatory intent would only be discernible form the tone in which the word was spoken - otherwise the have a very long and well established history or non-derogatory short names such as Brit, Aussie, Pol(e)?, Scot, etc etc.
Sand-****** is derogatory by definition. There's a difference.