uBlock Origin is free on all browsers. The other stuff is free for the software, but you need a device running 24/7 on your network for it. There are other options that give you less control than PiHole. For example, you can change the DNS on your network to point to the AdGuard public DNS that or install their app (
link)