are ancef and keflex the same?
Keflex (cephalexin) Ancef (cefazolin) is only available as an injectable, so it is usually only used in the hospital. It's good for treating many bacterial infections. Treats bacterial infections. Keflex (cephalexin) is good for treating many bacterial infections, and is available as a generic.