It's an average across the two.
One would still have to guess what the ratio of input tokens to output tokens is. (I would say 10:1 off the cuff, assuming this is editing an existing codebase)