NLHE, we is HU on the river.

Suppose your opponent bets in a spot such that he can only reasonably have the nuts or air. What factors are you considering when trying to figure out just how much air hes bluffing with?

Please answer for both live and online play.