That depends on the platform and the course you are looking for. Some courses are absolutely free, some are partially free, and some only charge for the certificate, but the course content is given for free.