The only distinction I'm aware of is that "Thanks" is less formal. I think it is generally accepted even in more formal situations, however. When in doubt, use "Thank you".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.