The AP does not project likely winners. It makes a race call when it determines there is no way for the other candidate to make up the difference in votes.
“AP does not make projections or name apparent or likely winners. If our race callers cannot definitively say a candidate has won, we do not engage in speculation. AP did not call the closely contested race in 2000 between George W. Bush and Al Gore – we stood behind our assessment that the margin in Florida made it too close to say who won.”