Prevention and treatment produced large decreases in HIV incidence in a model of people who inject drugs.