The direct costs of delivering your product — the costs that rise with each additional customer.
For SaaS: hosting, third-party APIs per seat, payment fees, and the support directly attributable to serving customers.
Your engineers building new features are usually an operating expense, not COGS. Getting this wrong flatters or destroys your gross margin.