With the continuous development of mobile Internet technology, new services and applications appear, such as AR/VR, Internet of Vehicles, and Ultra HD Video. They not only require higher network bandwidth resources but also need more computing resources to ensure normal operation and user experience. As a new network technology, computing first network promotes the deep integration of distributed computing resources and networks to make efficient use of these resources. This paper proposes a computing power routing algorithm based on software-defined computing first network (SD-CFN) architecture. It comprehensively considers computing resources and available bandwidth resources of network links. Experimental results show that compared with the nearby scheduling strategy, the proposed computing power routing algorithm can better allocate computing resources to services. Moreover, it can improve the utilization rate of computing resources and provide optimal bandwidth resources in the process of service transmission.