Kagi depends on Google's search API still. So they get paid either way, I guess.
I do sort of wonder how much longer Googles search API will even be a thing. They clearly have no interest in running a search engine anymore and are becoming actively hostile to the open web.