When enterprises first adopted AI, spending was classified as R&D — experimental, future-oriented, and excluded from gross margin calculations. Investors accepted it because AI was "investment in the future." But as AI agents enter production and directly handle customer workloads (support tickets, code generation, financial analysis), auditors are pushing companies to reclassify this spend.
The accounting logic is straightforward: if an AI agent directly serves customers and generates revenue, the compute cost of running that agent is a cost of goods sold, not a research expense. Amazon already recognizes AWS compute costs as COGS. The same logic applies when Salesforce runs Agentforce or ServiceNow runs agent workflows.
Gross margin is the most-watched metric for software companies. A SaaS company with 85% gross margins is valued at 15-25x revenue. A company with 65% gross margins (because AI inference costs hit COGS) is valued at 5-10x. The reclassification alone can cut valuation multiples in half — without any change in revenue or product quality.
This creates a paradox: companies that deploy AI most aggressively (and therefore have highest "AI COGS") may see their multiples compressed, while companies that keep AI in R&D (slower to deploy) maintain artificially high margins. The market hasn't figured this out yet.
Companies with high inference costs per customer interaction face the largest COGS migration. Customer support platforms (Zendesk, Intercom), code generation tools (GitHub Copilot), and AI-native analytics all have significant per-query compute costs.
Companies that benefit are those providing the infrastructure for AI COGS: cloud providers (AWS, Azure, GCP), observability platforms (Datadog — monitoring inference costs), and FinOps tools that help companies optimize AI spending. The new category of "Agentic FinOps" emerges as companies need to track cost-per-agent-action the way they currently track cost-per-API-call.
Agentic Accounting is a Closelook-original thesis with zero coverage elsewhere. Watch for it in Q1 2026 earnings calls — the first companies to discuss 'AI inference costs' as a COGS line item will trigger analyst re-ratings.
SaaSpocalypse — The Revenue Side →Software-Credit Nexus — The Leverage Side →ABR Framework →