A prisoner confined to any jail while serving a sentence is liable for the cost of the prisoner's confinement including room and board charges; medical, dental, optometric, and psychiatric services charges; vocational education training; chemical dependency treatment charges; and transportation costs as set forth in subdivision 7-12-18(4), where transporting the prisoner is required. If, after considering the prisoner's net income, net worth, number of dependents, and any existing obligations, the judge who sentenced the prisoner to jail determines that the prisoner is unable to pay the full amount at one time, the judge may allow the prisoner to set up a deferred payment plan for payment for the costs of the inmate's confinement or waive all or part of the payment if the prisoner demonstrates an inability to pay.
SDCL 24-11-45