Depends on the country. In Czechia, unlimited SMS plans used to be expensive.
That changed, but e.g. with my pre-paid plan I still pay 12 cents per SMS.
Historically there was also a problem that unlimited SMS plans worked only within a country. Now it's a bit better being EU-wide, but still not worry free.