Pai is a small town in northern Thailand's Mae Hong Son Province, near the Myanmar border, northwest of Chiang Mai on the northern route to Mae Hong Son.