Singapore's area is 283 square miles. Rhode Island is the smallest state, and it has an area of 1214 square miles. Four times larger, with people throughout needing care. That alone will add a fair amount of cost.
Granted, not the total amount spent, but city states do have some advantages on things like this.