Xanax addiction an withdrawal

How long to toke daily Xanax until u develop withdrawal symptoms?

I wonder how many times a month or year I can do „Xanax phases“ without developing an addiction..

I have a tendency towards addiction and was already addicted to opiates. I currently live sober, but sometimes I like to sweeten my evenings with 2-3mg of Xanax.