In response to the national green development concept, the electric vehicles quantity continues to surge. However, the cost of electric vehicle charging facilities is hindering the development of electric vehicles. Considering charging facility cost and fuel consumption cost of logistics vehicles, we propose the charging planning for electric vehicle batteries. First, according to the user’s mileage, we simulate the maximum demand for electric vehicle batteries in each time. Then, based on the electric vehicle battery charging planning, we establish an optimization model for the number of battery charging equipment and the fuel consumption cost of logistics vehicles. Finally, through specific examples we show the optimal number of delivery is 4 from the battery charging station to the battery swapping station. The battery charging equipment are 368 units and the fuel consumption cost of the logistics vehicle is 8040 RMB per day. In addition, the number of logistics vehicle departures is reduced by 3 compared to the same amount of delivery, which significantly improves the stability and efficiency of the battery swapping scene.