In this study, deformation behaviors of gallium-based liquid metals in acidified cupric sulfate or cupric chloride solutions with varying concentrations of chloride anion or sulfate anion were investigated to explore their potential applications in soft machines and electronics. Gallium-based liquid metals are known for their unique deformability, making them promising materials for various fields. Previous research has shown that deformation of the liquid metal can be achieved in the presence of acidified cupric or ferric salts. However, the specific influence of different anions on the deformation process remains unclear. Our findings indicate that the deformation rate of the liquid metal increases with higher concentrations of chloride ions and decreases with higher concentrations of sulfate ions in the solution. UV-vis absorbance spectra of the solutions were analyzed to identify the formation of hydrated cupric cations. It was observed that increasing the concentration of Cl- ions promotes the formation of cupric-chloro complexes, thereby reducing the concentration of hydrated cupric ions in the solution. Furthermore, the addition of sulfate ions to the solution enhances the ionic strength of the medium, leading to the dissociation of cupric-chloro complexes. Additionally, sulfate ions can form insoluble layers with gallium ions, which impede the deformation of the liquid metal. The deformation rate of the liquid metal was found to be inversely correlated with the concentration of cupric ions in the solution. These results provide valuable insights into the deformable behavior of gallium-based liquid metals and their potential applications in liquid metal-based soft robots. This study highlights the importance of understanding the role of different anions in the deformation process of liquid metals, shedding light on the design and optimization of soft machines and electronics utilizing these materials.