As I've suggested before, every provider and hobbyist should memorize the phone number of a good criminal lawyer and a reliable bail bondsman. Obviously, no one plans on getting arrested. But Lou Sterrett and Lon Evans are full of people who didn't plan on getting arrested.
Other than being released on personal recognizance without the payment of cash bail or the posting of a bail bond, the best way to be released from jail is by posting cash bail because once the case is disposed, you get all the money back, other than a small administrative fee withheld by the county.
Red Tex: If your friend can't come up $1,000 to get out of jail, that doesn't bode well for him to get a favorable outcome regarding his solicitation case. It probably means he'll either take an early plea and do jail time and have a conviction on a sex-related charge as a result, or he'll have to rely on the public defender to cut a deal. Neither option seems favorable.
On bail bonds: The lowest premium a bondsman will charge is 10% of the bond amount, and it goes up from there depending on a lot of factors, such as the nature of the offense, whether the defendant has prior convictions, and the defendant's ties to the community. For example, bond premiums for defendants who own a home and are employed tend to be lower than those who live in the Shady 8 Motel and have no proveable income, other than reviews on Eccie. For a prostitution case, some bondsmen charge a provider a premium of 100% of the bond amount which, of course, makes no sense because the same money could be used to post cash bail and the person who paid the bail will get most of it back once the case is disposed. Bond premiums are non-refundable.