Back to Automation

How Does the Billing Actually Work?

How Does the Billing Actually Work?
AI Tutorials Team 6 March 2026

API billing is usage-based: you pay for tokens processed, at rates that differ by model and by whether the tokens were input or output.

What determines the rate?

  • The model. The largest factor by far.
  • Direction. Output costs more than input.
  • Features. Extended reasoning and tools cost extra.
  • Discounts. Caching and batch processing reduce rates.

How large is the model difference?

Order-of-magnitude rather than marginal. The lightest models cost a small fraction of the flagship, which makes model selection the single most effective cost decision available.

Why does output cost more?

Because generating is more computationally expensive than reading. An application producing long responses is charged differently from one processing long inputs, even at similar total volumes.

How is it paid?

Usually prepaid credit or a billed account, depending on provider and tier. Prepaid is safer while learning, since running out stops the calls rather than producing a bill.

What should you set up immediately?

A spending cap and usage alerts. Both exist on every major platform, both take two minutes, and both are what stand between a bug and a genuinely expensive month.

What about switching providers on cost?

Tempting and worth doing carefully. Rates differ, and so do tokenisation, model behaviour and parameter meanings, so a cheaper rate does not automatically mean a cheaper application.

Running your evaluation set against both is the honest comparison. It catches the case where a cheaper model needs longer prompts or more retries, which erases the saving and adds complexity nobody accounted for.

What creates unexpected bills?

Loops. A retry that does not back off, a scheduled job running more often than intended, or a conversation that grows without limit will consume credit quickly and quietly.

What about the free credits running out?

A moment worth planning for rather than hitting. Development on free credit gives no signal about real cost, and the first paid month frequently arrives as a surprise for that reason.

Reading the usage figures while still on credit is the fix. The dashboard reports what would have been charged, which turns the transition into an expected number rather than a discovery.

What about free credits?

Most providers offer some for new accounts, which is enough to build and test something. Treating that allowance as the budget for learning is a sensible discipline.

Does the chat subscription help?

No. API billing is entirely separate from any consumer subscription across every provider, which surprises people regularly and is worth stating plainly.

What should you check in the first week?

The usage dashboard, daily. New applications frequently cost several times what was estimated, and the cause is nearly always visible in the breakdown by model and by day.

Catching it in week one is the difference between adjusting a design and explaining an invoice. After the pattern is established, monthly is sufficient, but the first few days deserve actual attention.

What about spend that arrives from testing?

Easy to underestimate during development. Repeated runs while iterating on a prompt consume real credit, particularly with capable models and long inputs, and the total across a week of building is frequently more than the first month of production.

Developing against a cheaper model is the straightforward answer. Switching to the capable one for final checks gives you most of the confidence at a fraction of the cost, and the behaviour differences are usually visible on a handful of examples.

How do you track it?

The usage dashboard, broken down by model and by day. Checking it during the first week of anything new is how you catch a design that is quietly expensive.

What is the practical position?

Cheap for experimentation and easy to make expensive through carelessness. Caps, alerts and a look at the dashboard cover nearly all of the risk.