I've seen this posed the other way.
"How much money would it take to have me quit immediately?"
On bad days, a grand or two would do it. But I guess this a combination of both love/hate for your job and any current financial commitments..
On the other hand horrible managers, colleagues, or general work conditions will grind you every day, long after the effect of that pay bump wears off. Bad working conditions of any kind are far more effective at dragging your spirit down than money is effective at pulling it up.