How much do real estate agents pay for leads?

The lead generation game is changing so fast, with smaller real estate firms struggling to keep up. As we see a future of big tech companies controlling borrower info, how much is this going to cost the real estate agent? And will it be worth it?