How many 0.5 mg tablets of Xanax (alprazolam) would put me in danger of overdosing?

Unknown. The usual limit is six mg per day. However, this might be an overdose for one person and not enough for another. At six mg the answer to your question is 12. Your prescribing physician knows more about yuo and your circumstances than I do. Consult with him/her.