It all depends on what you want out of your Florida vacation. Key West is an older city, with more quaint, historic charm. Miami is a large, lively city, with a lot of bars and restaurants, but also a lot of traffic.
If you want to go to the beach, you will probably prefer Miami, as the Florida Keys are not known for their beaches. If you want to enjoy a quirky, historic town, you may prefer the Keys.