Peer-review is free. Editing and Lay-out etc is done with the journal (not much though as they supply latex templates for your work). So there is some cost associated with this.
I think the layout costs could be reduced to near zero (ie, enough to be paid through the charity that funds preprint) with no negative impact.
Editing is useful, I think. Although I don’t anything about the current costs or necessary costs.