Various tetrahydropyrazolo[1,5-a]pyrimidine compounds, compositions, methods of making, and methods for the prevention and treatment of HCV infections and associated diseases are disclosed. The invention further relates to biomarkers for identification of HCV strains which are resistant to the tetrahydropyrazolo[1,5-a]pyrimidine compounds.