Garry's Mod is not free. It is a paid game that you can purchase through the official storefront, typically for around $10.
Because it requires a supported Source engine game to run many of its features, some players also pick up an additional title alongside it. Still, the base Garry's Mod purchase itself is inexpensive for the amount of creative sandbox fun it offers.