Any Suggestions on Good and Affordable Inpatient Drug Rehab Facilities?

I live in cupertino, ca (bay area) and I’m just wondering if anyone knows and good inpatient centers to go to. I partly want to do this for myself but the other part is for court. I’m on the DEJ or deferred entry of judgement which is a 8 or 10 week drug program outpatient though. I can’t seem to make myself go. So, I’m thinking inpatient might be better. It would need to be affordable and also most likely approved by a judge. Thanks!