The real cost of an AI feature (it's not the API bill)

When a founder asks me what an AI feature will cost, they're usually thinking about the API bill. Tokens in, tokens out, multiply by users. It's a clean spreadsheet and it's almost always the smallest line item that matters.

Here's where the money actually goes.

1. Evaluation

Traditional software is deterministic: same input, same output, write a test. LLM features are not. To know whether a change made things better or worse, you need an evaluation set: real examples with known-good answers, plus a way to score outputs automatically or with human review.

Building that set is real work. Maintaining it as your product changes is ongoing work. Skip it and every prompt tweak is a coin flip you're making in production.

2. Prompt and model drift

Models get updated, deprecated, and replaced. A prompt that worked beautifully in March can quietly degrade after a provider-side change. Even when nothing changes, your data changes, and inputs you never anticipated start showing up.

Budget for someone to watch quality over time, not just launch day.

3. Failure handling

APIs time out. Models return malformed JSON. Outputs come back confident and wrong. Every one of those needs a path: retries, validation, fallbacks, a graceful "we couldn't do that" message.

This is the unglamorous 70% of the engineering. The happy path is the demo. The failure paths are the product.

4. Human review

If a person has to approve or correct outputs, that's labor, and it's often the biggest ongoing cost. It's also the thing that makes the feature safe enough to ship. Design the review interface like it matters, because it does.

5. Observability

You need to see what went in, what came out, how long it took, what it cost, and whether the user accepted or rejected it. Without logging and tracing, debugging an AI feature is archaeology.

6. Support load

Users will ask why the AI said something. Users will find the one input that makes it embarrassing. Someone has to answer those tickets, and someone has to feed what they learn back into the system.

7. Security and data handling

What data are you sending to a third-party model? Is it covered by your customer agreements? Can a user trick the model into leaking something? These are legal and engineering questions that cost real time before launch.

A rough mental model

Picture a typical AI feature build. The model calls are a visible but modest slice of the total. The bulk goes to the less glamorous work: building the evaluation set, handling failures and bad outputs, designing the review flow, and setting up logging and monitoring. If you're planning a budget, expect that surrounding work to dwarf the API line.

My rule of thumb: whatever you budgeted for the model calls, the surrounding system will cost a multiple of that to build and run well. The API bill is the cheap part. Trust is the expensive part.

What to do with this

When you scope an AI feature, ask for estimates on evaluation, failure handling, review, and monitoring as separate line items. If a vendor or dev shop can't break those out, they haven't built one of these for real.

Previous
Previous

Build vs. buy vs. wrap: choosing your AI stack in 2026

Next
Next

Your startup doesn't need an AI strategy. It needs one boring use case.