In CoFe Prussian Blue Analogues (PBAs), a small difference in the number of alkali cation per unit cell can lead to drastic differences in the properties of the PBA. We investigate the origin of this effect in order to be able to control it and design new functional materials for data storage devices. Here we characterize the Cs 0.7 Co 4 [Fe(CN) 6 ] 2.8 .17H 2 O and Cs 2 Co 4 [Fe(CN) 6 ] 3.3 .11H 2 O PBAs by Co K-edge in situ XAS. For both PBAs, the photo-induced (PI) Co III Fe II →Co II Fe III charge transfer and the different involved states (room temperature, ground and PI) are described. In the case of the Cs 0.7 PBA, the relaxation from the Co II Fe III PI state towards the Co III Fe II ground state is monitored and quantified. All the results, fully consistent with previous magnetometry and Co L 3 -edge XAS studies, are discussed with respect to the electronic structure of the Co ions in the different involved states.