In a construction dispute that originally was over $22,096, the trial court did not abuse its discretion in awarding plaintiff only $90,000 in attorney fees out of the $292,140 requested. The case was relatively simple, ultimately turning on the contractor’s lack of a license and proper insurance. It involved only money, so it was reasonable to compare fees against recovery on a cost-benefit basis. Also, the trial court properly considered the attorney’s personal involvement in the case and his incivility toward opposing counsel, both of which may have led to the expenditure of excessive attorney time on the case. However, the court erred in failing to award the same attorney fees against the contractor’s surety. Under Pierce v. Western Surety Co. (2012) 207 Cal.App.4th 83, attorney fees are treated as costs and are not subject to the bond’s limitation of liability for indemnity.