We present a class of models in the framework of gauge mediation supersymmetry breaking where the standard model is supplemented by additional U(1) symmetry which acts only on the third generation fermions. The messenger fields carry nontrivial U(1) charge and are vector-like particles under this symmetry. This leads to additional contribution to the soft supersymmetry breaking mass terms for the third generation squarks and sleptons. In this framework we show that the muon g − 2 anomaly, the observed 125 GeV Higgs boson mass and the detected relic dark matter abundance (gravitino in our case) can be simultaneously accommodated. The resolution of the muon g − 2 anomaly, in particular, yields the result that the first two generation squark masses, as well the gluino mass, should be 2.5 TeV, which will be tested at LHC14.