The best replacement for cefazolin is cephalexin.

The best alternatives to cefazolin are rated as following:
★★★★★  cephalexin
★★★  ceftriaxone
★★★  cefoxitin
★  cefotetan
★  penicillin
★  vancomycin
★  ancef
★  nafcillin
★  cephazolin

Your alternative for cefazolin is not listed? Suggest!
Speaking about cefazolin, one probably shouldn't forget about probenecid.

Other search terms related to cefazolin and their ratings are:

★★★★★ probenecid
You have in mind a companion for cefazolin and it is not yet here? Propose!

Google Trends

Scale is based on the average worldwide traffic of cefazolin in all years. Click on graph for more.