We report on the transitions between the ferromagnetic order, spin-glass behavior, heavy fermion and uctuating valence state in a series of isostructural compounds CeT4M (T = Ni, Cu; M = Al, Ga, Mn). The dilution of Ce or the T and M elements allowed us to follow the physical properties evolution employing the measurements of the heat capacity, dc magnetic susceptibility, frequency dependent ac magnetic susceptibility, magnetization relaxation, inelastic neutron scattering and also the X-ray photoemission spectroscopy. It is shown that the Mn rich compounds lean towards the spin glass behavior. For the compounds governed by the close to localization Ce 4f states the eect of the crystal electric eld has been studied. It has been shown that the spin glass-like behavior can signicantly inuence the physics of the CeT4M compounds.