The problem is, globally you cannot know before is this a premium number or not for some random provider in some random country, so what happens is you send the sms and then bill the number.
Twilio (the main SaaS company that does this) doesn't have a good solution here
https://www.twilio.com/blog/2015/08/introducing-max-price.ht...