If you buy a brand new Mac you will get iLife and iWork for free. Well the Mac did cost a small fortune so it is not exactly free.
But lets say you already have a Mac. You can still get iWork for free. Download and install the 30 day iWork trial. After 30 days your software will get upgraded to the full versions for nothing. This is a bug which apparently will be impossible for Apple to fix.
The other option was finding an old iWork DVD, installing the software, and this then gets upgraded to the latest versions for free.