What AI Costs: Understanding API vs Subscription Pricing
How token-based API billing actually works, how it differs from flat monthly plans, and a simple method for working out which one fits your usage.
There are two common ways to pay for AI language models, and they behave so differently that comparing them by headline number is close to meaningless. One is a subscription: a flat monthly fee for a chat product or an assistant built into software you already use. The other is metered API access: you pay for what you consume, measured in tokens, with no monthly minimum in most cases. Understanding the mechanics of each is the difference between a predictable line item and a surprise invoice.
This article explains how each model works, what drives cost in practice, and how to decide which fits a given use. It deliberately avoids quoting rates, because those change frequently; the structure of the pricing is what stays stable.
What a token is, and why billing uses them
Language models do not process text as characters or words. They break input into tokens — chunks that are roughly a short word or a fragment of a longer one. For ordinary English prose, a useful rule of thumb is that a token is about three-quarters of a word, so a thousand words lands somewhere near 1,300 to 1,500 tokens. Code, unusual names, and languages that do not use the Latin alphabet typically tokenise less efficiently, meaning the same visible amount of text costs more.
Providers meter tokens because they map closely to the computation performed. Two aspects follow from this and catch people out:
- Input and output are priced separately. Output tokens usually cost several times more than input tokens, because generating text is more expensive than reading it.
- Both directions count. You pay for the prompt you send as well as the answer you receive.
The conversation-length trap
The single most misunderstood aspect of API billing is that models are stateless. They do not remember earlier turns of a conversation. To continue a discussion, your application re-sends the entire history with every request. A chat that has run to twenty exchanges is sending twenty exchanges worth of input tokens on turn twenty-one, and again on turn twenty-two.
Cost therefore grows roughly with the square of conversation length rather than linearly. The same effect applies to any system that stuffs large context into each call — long documents, big retrieved passages, elaborate system instructions repeated on every request. A prototype that seems cheap at three turns can become expensive at thirty without anything having changed except habit.
Levers that reduce metered cost
- Model tiering. Providers offer a range from small and fast to large and capable. Most production workloads use a smaller model for routine steps — classification, extraction, routing — and reserve the largest model for the parts that genuinely need it.
- Prompt caching. When a large, unchanging block of context is reused across many requests, most providers offer a discounted rate for the cached portion. For anything with a long fixed system prompt, this is often the largest single saving available.
- Batch processing. Work that is not time-sensitive can usually be submitted for asynchronous processing at a substantial discount.
- Trimming history. Summarising or truncating older conversation turns instead of re-sending them verbatim.
- Constraining output. Asking for a structured, bounded answer rather than an open-ended essay, since output tokens dominate the bill.
How subscriptions work, and what you are really buying
A subscription bundles model access with a product: an interface, conversation history, file handling, search, integrations, and often the ability to run agentic tasks. You pay a fixed amount per user per month and consume as much as the fair-use limits allow. Instead of a per-token meter, the constraint is a usage cap — a number of messages or a compute allowance within a rolling window, sometimes tighter for the most capable models.
The value of a subscription is mostly the surrounding product, not the raw model. You are paying someone else to have built the interface, handled the state, integrated the tools, and absorbed the variance in your consumption. For an individual doing knowledge work, that bundle is usually worth far more than the token cost it replaces.
Business plans add governance, not intelligence
Team and enterprise tiers rarely give you a smarter model. What they add is administrative: centralised billing, single sign-on, user provisioning, audit logs, data-retention controls, and contractual commitments that inputs will not be used to train models. If you are handling client-confidential or regulated data, those terms — not benchmark performance — are the reason to upgrade.
Choosing between them
The decision is less about volume than about shape. A rough guide:
- Subscription fits individual and team work done through a person sitting at a keyboard: research, drafting, analysis, coding assistance, ad-hoc questions. Usage is bursty and hard to forecast, and the flat fee converts that variance into a predictable cost.
- API fits programmatic work: a feature inside your product, a document-processing pipeline, an automated classification step, anything running without a human in the loop. You need the model as a component, not as a chat window.
- Both, usually. Most organisations end up with subscriptions for staff and API keys for systems. These are complements rather than alternatives, and they are typically owned by different budgets.
A common mistake is rebuilding a chat interface on the API to save subscription fees. Once you account for engineering time, conversation state, file handling, and maintenance, the internal build is almost always more expensive than the seat licence it replaced — and it lags behind on features.
Estimating before you commit
You can get a usable forecast in under an hour. Take one representative task. Measure the actual token counts for a typical request and response using the provider's token counting endpoint or a tokeniser tool. Multiply by the published input and output rates separately. Then multiply by your realistic monthly volume, and add a generous margin — retries, failed parses, and prompt iteration during development routinely add a meaningful fraction on top.
Compare that figure against the seat cost for the same work. If the API estimate is a small fraction of a subscription and the work is automated, the API is right. If it is within the same order of magnitude and a human is driving, take the subscription and skip the engineering.
Controls worth setting on day one
- Hard spending limits and billing alerts on every API account, before the first request.
- Separate keys per project or environment, so you can attribute spend and revoke narrowly.
- Logging of token counts per request, so a cost regression shows up as data rather than as an invoice.
- A ceiling on conversation history in anything user-facing.
- A periodic review of model choice, since capable smaller models arrive regularly and yesterday's necessary upgrade is often today's overspend.
The practical takeaway
Treat AI pricing as two separate questions. For people, buy seats and choose the tier by data-handling terms rather than by model. For systems, meter carefully: measure real token counts on real inputs, assume conversation history is the main cost driver, apply caching and smaller models aggressively, and put a spending cap in place before you write the integration. The organisations that keep costs sane are not the ones that found the cheapest provider — they are the ones that know, per workflow, roughly what a single call costs and why.
Put this into practice
Work out what an AI model actually costs per month from your token usage, and compare the major models side by side.
Open the AI API Cost Calculator →A note on shelf life. AI products change fast. This guide deliberately focuses on the parts that stay true — how to judge a tool, what the trade-offs are — rather than ranking products that will have changed by the time you read it. Prices and feature claims should always be checked against the provider before you rely on them.