You need AI cost tracking, and you should start now

An elderly man in traditional attire plays a board game, surrounded by coins, with a geometric halo behind him.
A heashot of Arnon Shimoni, co-founder & marketing at Paid.ai.
Arnon Shimoni August 11 2025

"We basically look at our monthly OpenAI bill and apply a distribution factor."

Sound familiar? You're not alone.

I analyzed hundreds of our customer conversations about AI agent monetization. The second most common pain point after pricing? Cost tracking. Or more accurately, the complete lack of it.

Way too many people have no idea what their AI is racking up in costs, and you see it on Reddit, X, and in communities everywhere.

According to CloudZero, the average monthly AI spend is jumping from $62,964 to $85,521 in 2025 - a 36% increase - but I actually think they’re underestimating it.

A graph from CloudZero showing monthly AI budgets compared from 2024 to 2025.

Why it gets harder at 10 customers

Imagine yourself in this person’s shoes who told us they track globally:

"We have separate API keys per customer so that we can track usage per customer. But it doesn't give you the dollar figure. It gives you tokens or usage. Then we just basically look at our monthly bill at OpenAI and apply a distribution factor."

This works when you have 5 customers. Maybe even 10. But here's what happens at scale:

  1. At 5 customers: You're checking OpenAI dashboard daily. Life is good.
  2. At 10 customers: You've got separate API keys. Maybe a spreadsheet. Still manageable.
  3. At 50 customers: Welcome to the Spreadsheet Spiral of Death.

By the time you figure out a customer is unprofitable, they've already burned through months of margin.

The API key problems: What OpenAI and Anthropic won’t tell you about usage

These foundation model providers’s usage dashboard is built for developers, not businesses.

Dashboard showing cost analysis for August 2023. Total token cost: USD 187.91; web search and code execution costs: USD 0.00. Bar graph displayed.
Anthropic’s billing/costs dashboard is even more basic than OpenAI’s.
One founder told us:

"There are all these vendor tools, right? And certain discounts based off bundles. Pricing is very fluid, and so that cost may change. But right now it seems like it's a static view."

What you get:

  • Token counts by API key
  • Monthly aggregate spend
  • Basic usage graphs

What you really need:

  • Cost per customer, per action, per outcome
  • Real-time margin alerts
  • Workflow-level profitability
  • Which features are margin killers

The gap between what you need and what you get? That's where companies die.

Building a simple cost attribution

Before you spin up a massive data warehouse project - get practical. You need cost visibility TODAY, not in 3 months.

Here's the progression that works:

Level 1: Just ship it

Start tracking these 5 signals immediately - you can pull this off in an hour!

In Python it’ll look something like:

# Basic cost tracking - implement this in the next hour
def track_ai_operation(customer_id, operation_type, model, tokens):
    cost_map = {
        'gpt-4o': 0.03 / 1000,
        'gpt-4o-mini': 0.002 / 1000,
        'claude-4-sonnet': 0.003 / 1000,
        'embeddings': 0.0001 / 1000
    }
    
    cost = tokens * cost_map.get(model, 0)
    
    # Log to CSV, database, whatever - just START
    log_entry = {
        'timestamp': datetime.now(),
        'customer_id': customer_id,
        'operation': operation_type,
        'model': model,
        'tokens': tokens,
        'cost': cost
    }
    
    return log_entry


Pro tip from Paid: Even a CSV beats nothing. Perfect is the enemy of shipped.

Level 2: Attribution magic

You wrap every AI call:

In Javascript, it’ll look something like:

const trackCost = async (customerId, agentId, operation) => {
    const startTime = Date.now();
    const result = await operation();
    
    const costData = {
        customerId,
        agentId,
        operation: operation.name,
        model: result.model,
        inputTokens: result.usage.prompt_tokens,
        outputTokens: result.usage.completion_tokens,
        totalCost: calculateCost(result.usage, result.model),
        duration: Date.now() - startTime
    };
    
    await recordCost(costData);
    
    return result;
};

Level 3: Get a purpose-built system

"… this is crushing us. Our cost has gone up, and it's driving our margins down."

We’ve seen customers go from 70% margins to 40% because ONE customer was "very chatty" with their voice agent.

This is where Paid’s AI cost tracking and margin management can help.

Dashboard showing vendor analytics: total agents, FTE value, total cost, and ROI. Includes a detailed breakdown of various services and their costs.
Paid provides real-time visibility into AI agent costs by automatically tracking spend, profit margins, and usage across providers like OpenAI and Anthropic using OpenTelemtetry based SDKs.
Don’t build this yourself - let someone else handle the details and stay up-to-date.


One of our customers had negative margins…

A founder walked into our office (figuratively - we met online) and told us “we're bleeding money and I don't really know why."

They have a clean UI (not shadcn!), happy customers, $299/month pricing that looked profitable on paper. They were celebrating hitting 100 customers when their CTO dropped a "we're losing money on every single call"…

We helped dig in to their voice bills where most customers had totally normal usage - but then we found a really chatty customer.

  • Average customer: 2,000 voice tokens/month ($8 in costs)
  • Chatty customer: 187,000 voice tokens/month ($748 in costs)
  • The $299/month became -$449/month

The fix was to introduce complexity factors. More complex workflows cost more, and use the higher-value LLMs. Once a certain threshold has been reached, the models were downgraded.

Your path forward

Every day that you operate without cost visibility is a day you're potentially losing money. But you don't need a perfect system to start.

Today: Implement basic signal tracking. Even a CSV is better than nothing.

In a few weeks: Add customer-level attribution. Know who's killing your margins.

In a couple of months: Graduate to real-time monitoring. Catch problems before they compound.

Stop guessing based on your vendor bills - start tracking, start managing, start profiting.

Your margins will thank you.

Insights straight to your inbox

Join 10,000+ subscribers getting the latest insights on AI monetization.


Related articles

AI Agent Monetization FAQ: The Basics
Basic concepts you should know about agentic monetization and AI monetization, including how to price agents and how to measure value.
June 24 2025 Arnon
Illustration of a large, textured question mark surrounded by smaller ones on a yellow background, evoking curiosity and mystery.
Join the waitlist

Right now Paid is working with select companies to perfect the platform before our wider launch. Join our waitlist and we'll reach out to discuss how Paid can transform your agent monetization strategy.