Generally the cost is associated with the reception of the text message and not if you open it or not.
Think of it like a mail man delivering mail. They drop letters off in your mailbox. You still get the letter even if you choose not to open it. The mail man has done his job.
Your service provider has done it's job (delivering the message to you) and has charged for it's delivery.