Inmates pay for nicer cells
Inmates pay $60 for each 12 hours they serve. The money off-sets jail operation costs. A judge can let a nonviolent criminal to serve up to 90 days in the Roseville jail, and they don't have to serve it all at once. They can take up to three times the amount of their sentence. For example, someone who has to serve 30 days can take up to 90 days spacing their sentence out over weekends and other days.
Growing trend allows some inmates to pay for nicer jail cells, when to serve sentence | news10.net
One of the newest programs is a jail in Fremont where select inmates can pay $155 per night to avoid what could be a rougher time at jails in Oakland and other parts of Alameda County. However, it's only open to people convicted of misdemeanors, and they have to get a judge's approval first.