The Classic version, which is browser based, is completely free to play. The newer version (Alpha), which you can download and play offline, costs like 12 USD or something. If you really enjoy the game I suggest buying it now before it goes into Beta, they plan on raising the cost when it hits Beta.