To solve the adverse effects brought by resource node transfering the using right to local task and the difficult problem of resource load balancing, a two-phase pricing strategy based on QoS constraints is proposed in this paper. On the premise of guaranteeing the benefits of the resource provider in the cost price, this strategy balances the load of the resource provider by the profit price. The theoretical analysis proves the effectiveness of the pricing strategy, and the algorithm of the pricing strategy is designed in this paper. Resources node information in the real distributed systems is used as the performance parameters of experimental node in the simulation experiments, and the performance of the pricing strategy is tested in a large-scale grid mission. Experimental results show that, compared with the traditional pricing strategies, the two-phase pricing strategy based on QoS constraints has vastly superior performance on the benefits of the resource provider and the balance of resource utilization.