Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
AI Integration

What You Are Actually Paying For in an AI Integration

Last updated:

Where the money goes

Every request carries the instruction, the retrieved context, the conversation history and the question. Output is charged too, usually at a higher rate.

Most expensive integrations are expensive because they send far more context than the task needs, not because the model is costly.

Five levers

  1. Retrieve fewer, better passages — five relevant beats twenty adequate
  2. Summarise long history rather than resending every turn
  3. Cache repeated instructions and stable context where the provider supports it
  4. Route by difficulty so simple steps use cheaper models
  5. Cap output length, because generation is the expensive direction
Improving retrieval usually cuts cost and improves accuracy at the same time. It is the rare optimisation with no trade-off.

Long conversations get expensive quickly

Resending the full history every turn means cost grows with the square of the conversation length. A twenty-turn conversation can cost more than the first nineteen combined.

Summarise older turns and keep the recent ones verbatim. Users notice nothing; the bill halves.

Model the cost before you build

DriverQuestion to answer
VolumeHow many requests per day, at peak?
Context sizeHow much text per request, realistically?
Output sizeHow long is a typical answer?
Retry rateHow often does a request need a second attempt?

Those four give a monthly figure within about twenty per cent, which is enough to decide.

Caps are not optional

A hard daily cap, a per-user cap and an alert well below both. A loop or an abusive user should cost you an alert, not an invoice.

Decide the behaviour at the cap too — degrade or queue rather than crash.

Frequently asked questions

What does a typical integration cost to run?

£80–£600 a month for most business volumes. Higher for heavy document processing, lower for internal tools with modest use.

Is a cheaper model always cheaper?

Not if it needs retries or produces answers that require a second pass. Compare cost per completed task, not per token.

Does caching really help?

Substantially, where a large stable instruction or document is resent on every call. It is one of the easiest savings available.

Should we self-host to save money?

Rarely, at small business volumes. The hosting and operational cost usually exceeds the API spend until volumes are large.

Keep reading

AI bill higher than you expected?

It is usually context size rather than volume. We can look at where the spend is going and what would cut it.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

AI IntegrationEnterprise AIAI Agents