The Silly Tavern software is free to use, but chatting requires a third-party API. The chat service cost depends on the API you choose.