A real-time charging pricing strategy of electric vehicle based on game theory is proposed. Under this pricing strategy, the electric vehicle charging station is the leader of the game for pricing, and the electric vehicle users is the follower of the game for pricing. Firstly, the evaluation index of charging station’s peaking effect is introduced, the revenue model for charging station and the electric vehicle users is established with the limitation of charging price and the capacity of electric vehicle; Then, analyzing the game strategy space and the dynamic game behavior between charging station and electric vehicle users, selecting game strategies of both sides through the optimization mechanism of genetic algorithm, and solving the revenue model; Finally, the simulation results of examples verify that the proposed pricing strategy can improve the load level of power grid and the revenue of both players, which provides a theoretical basis for the formulation of real-time electricity prices in the future.