Current mining produces rewards both in new Bitcoin and in transaction fees. As coin production eases off until it eventually disappears with the last coins created, TX fees will take over from Bitcoin creation as reward to miners. The fees vary depending on how full the mempool is. Thus transaction cost is predictable, since there's an algo behind it.
Take a look at these two resources to explore tx fees & mempool more:
https://jochen-hoenicke.de/queue/ (here, you'll immediately notice that weekends are cheaper and the effect of the Bcash spam hitting the mempool)
https://bitcoinfees.earn.com/ (read the text after the charts, these explain the fee calcs)