I've said this before, it only affects "Military Unit Costs". Now it might make sense that this would mean all military units, but no. It's only the cost applied via Pacifism that is "Military Unit Costs", for it to affect unit upkeep it has to be switched to "Unit Costs".