It depends on the version. Garry's Mod 9 can be played for free, but Garry's Mod 10 cannot; that one you'll need to purchase. So if you're after a free experience, the older version is your best bet.