One of the renewable energy resources, wind energy is widely used due to its wide distribution, large reserves, green and clean energy, and it is also an important part of large-scale grid integration. However, wind power has strong randomness, volatility, anti-peaking characteristics, and the problem of low wind power prediction accuracy, which brings serious challenges to the power system. Based on the difference of power prediction error and confidence interval between different new energy power stations, an optimal control strategy for active power of wind farms was proposed. Therefore, we focus on solving the problem of wind power forecasting and improving the accuracy of wind power prediction. Due to the prediction error of wind power generation, the power control cannot meet the control target. An optimal control strategy for active power of wind farms is proposed based on the difference in power prediction error and confidence interval between different new energy power stations. The strategy used historical data to evaluate the prediction error distribution and confidence interval of wind power. We use confidence interval constraints to create a wind power active optimization model that realize active power distribution and complementary prediction errors among wind farms with asymmetric error distribution. Combined with the actual data of a domestic (Cox’s Bazar, Bangladesh) wind power base, a simulation example is designed to verify the rationality and effectiveness of the proposed strategy.