Probably money plus fifteen minutes of fame. The lawyer gets publicity which brings in business that one rarely hears about. Interestingly the lawyer for the accusers asked Cosby to waive the Statute of Limitations which implies she knows such law bars many of her clients claims.
But then if Cosby is past that SOL then what do those women gain? The whole thing is weird.