Means "Gracias Por Invitar" in Spanish, meaning "thanks for inviting". Used to sarcastically comment on somebody else's posts of parties, weddings, get-togethers, etc. to which you weren't invited.
"Just went and had the best Mexican food ever"
"Wow, GPI"
196👍 7👎