Very weird that I am so old and have literally never heard this mentioned in a TV show or book or movie or anything.
In four out of five states, if you go to prison, you are literally paying for the time you spend there.
As you can guess, this results in crippling debt as soon as you're released.
The county gets back a fraction of what they hold over your head the rest of your life until you commit suicide(or die naturally and peacefully with the sword of damocles hanging over your head).
$20-$80 a day according to Rutgers.
Counties apparently sue people and employ wage garnishment to get back the money that majority of people obviously cannot pay back.
I thought last I heard about this that the bills for this weren't usually called for payment unless you were suing them for something. Could be mistaken
So apart from coercing inmates to do for profit work for pennies (other countries would call it slave labour), some inmates also get to pay for the privilege on top of that.