Of course it’s not technically “free”, but if it only needs to compete with mobile devices (even hundreds or thousands) it’s practically free.
A modern MacBook Air is 1.6 million times faster at sha256 than an iPhone is (citation needed, this is GPT knowledge). The gap is so massive