The following kind of Klein–Gordon–Maxwell system is investigated
where is a parameter, and V is vanishing potential. By using some suitable conditions on K and f, we obtain a Palais–Smale sequence by using Pohožaev equality and prove the ground‐state solution for this system by employing variational methods. Our result improves the related one in the literature.