The activation of N₂ under mild conditions remains a significant challenge in chemistry. Understanding how the composition of ligands modulates the reactivity of metal centers is pivotal for the rational design of efficient catalysts for nitrogen fixation. Herein, the reactions between polynuclear niobium oxynitride anions Nb4N5-xOx- (x = 0-5) and N2 were investigated by employing mass spectrometry, photoelectron imaging spectroscopy, and theoretical calculations. The rate constants of Nb4N5-xOx-/N2 gradually decrease for x = 0 to x = 4, and then increase again for x = 5. The sharp increase of the rate constants of Nb4O5-/N2 corresponds to a decrease in the electron detachment energy of the Nb4O5- cluster in the photoelectron spectroscopic experiment. Theoretical calculations suggest that the low-coordinated Nb-Nb site in Nb4N5-xOx- (x = 0-5) behaves as the active center to bind N2 in the side-on/end-on manner. Mechanistic analysis reveals that raising the O/N ratio leads to higher electron densities on the active Nb-Nb center and decreased positive charge on the metal atoms, which hinders the approach of N2 to the clusters. This finding discloses fundamental insights into the impact of N/O ratios in fine-tuning the reactivity of metal centers towards N2 adsorption in related catalytic processes.