Conventional cloud resource computing power allocation methods mainly focus on cloud resource scheduling, and the effect of computing power balanced allocation is poor. Therefore, a cloud resource computing power allocation method based on distributed multi-layer deep learning is designed. Establish a balance point for computing power distribution of cloud resources, increase computing power input at edge nodes, reduce computing power of public nodes, and maintain the overall balance of computing power of cloud resources. Based on distributed multi-layer deep learning, a computing power distribution model of cloud resources is constructed, and computing power in cloud resources is used cooperatively to build a bridge between cloud resources and services. Set the cloud side collaborative computing allocation mechanism, reduce the cost of computing power allocation of cloud resources, and ensure that each allocation is reasonable. By means of comparative experiments, it is verified that the distribution effect of this method is better and can be applied in real life.