If your court bail was set at $10,000, and you want to stay out of jail until that court date, then you can either pay the $10,000 in full to the court to stay out of jail which will be almost 100% returned to you, minus some very small court fees, after you show up for court.
Or, you can hire a bail bondsman, the bondsman puts up the $10,000 to the court for you, and you pay him a fee, almost always it’s 10% of the total bail amount, or $1,000 in this case.