The game itself is free. Playing as a non-member costs nothing and covers a fair amount of content.
Membership runs roughly $6 USD for a month, which unlocks the extras: more items, additional areas and the ability to do things non-members cannot.
If you are deciding whether to pay, a single month is the sensible test. You will find out quickly whether the free tier was already enough for you, which it often is for casual play.