Whenever it's rich person's lawyers against underpaid prosecutors, the deck is stacked in the rich person's favor.
But a lot is going to depend on what evidence can be introduced. I don't know the legal rules about introducing a deposition that was released to the public if the defense decides not to call Cosby.
People don't take well to an old man giving young girls drugs and then calling the sex consensual. By a lot of definitions if the prosecutor presents the case well, consent cannot be had with an intoxicated partner.
Sadly, those without the capital get the punishment. Cosby will have the best legal team money can buy. I've read enough comments sections to know there are plenty of misogynists out there. If one or two get on the jury, and Cosby's legal team muddies the waters enough, it might be all the justification they need for a "not guilty" vote.
I predict a hung jury.