It depends on the type of case it is. Can you provide more details?
It would depend on how much court time is likely to be involved, how much expert testimony, the potential amount of the settlement, how much expense the attorney must risk for depositions, investigation, etc.
Generally anywhere...