Pai is about 272 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Bago.
How far is Reno from the ocean
How far is Sausalito from the ocean
How far is Yuma from the ocean
How far is Sonoma from the ocean
How far is Carlsbad, CA from the ocean
How far is Page from the ocean
How far is Washington, DC from the ocean
How far is Cannon Beach from the ocean
How far is Louisville from the ocean
How far is Antigua from the ocean