It depends, in some big cities like New York, Las Vegas yes, in most smaller cities no.
Always carry enough cash with you for a cab ride if you think you might need to get a ride. Most cabs do not accept credit cards, though the some in big cities with lots of tourists do.