Will I be told how much it costs before I upload it to the permaweb?

Yes, since every transaction could be slightly different, ArDrive will calculate the cost of each transaction before the upload to the permaweb. You will be given a chance to accept or reject the cost of the transaction before uploading your data permanently.