The broker is paid by the lender, not you.
When a broker introduces a deal to a lender, the lender pays a commission. The broker fee (if any) is disclosed up front. You're not paying the broker out of pocket — and you're not stuck with whichever lender pays the highest commission.