Either private relays that would penalize users introducing spam Or some proof of work/ cost introduction. Cost itself will not prevent it but rather reduce volume.