The simple version
- AI reads and writes in small chunks of words called tokens.
- Companies that sell AI charge for every token going in and every token coming out.
- Writing an answer costs more than reading a question.
- AI that “thinks” before answering writes lots of hidden tokens, so it costs more.
- Year after year, the same quality of answer has been getting much cheaper.
Why it matters now
On 20 November, METR, a non-profit that tests AI models, reported that the length of tasks AI agents can complete is “doubling roughly every 3.6 months” on its test suite. It estimated that today’s leading public models can handle tasks of “up to 27 hours” of skilled human work on one subset of its tests (METR; our brief: AI agents’ task length doubling about every 3.6 months).
Longer jobs mean more reading, more writing and more checking. Every one of those steps is paid for in tokens. So “what does AI cost?” is no longer a question just for engineers. It decides which tools a business can afford, why free chatbot plans have limits, and why the most capable features often sit behind paid plans.
How it works, step by step
Think of a taxi meter. You do not pay a fixed price per journey. You pay for the distance travelled. AI sold to developers works in a similar way, with tokens as the distance.
Step 1: Everything becomes tokens
A token is a chunk of text, often part of a word. As a rough rule, OpenAI says one token is about four characters of English, and “100 tokens ~= 75 words” (OpenAI Help Center). Pictures and audio are turned into tokens too (see Tokens and Embeddings Explained).
Step 2: You pay for what goes in
Your question, any document you attach, the instructions an app quietly adds behind the scenes, and the conversation so far are all input tokens. Prices are usually quoted per million tokens.
Step 3: You pay more for what comes out
Output tokens, the words the model writes, usually cost more than input. On Google’s Gemini API price list, for example, Gemini 3.1 Pro Preview was listed on 26 November at $2.00 per million input tokens and $12.00 per million output tokens, for prompts up to 200,000 tokens (Google AI for Developers). Writing is the harder job. A model reads your whole prompt in one big parallel sweep, but it writes one token at a time, and each new token needs another pass through the model.
Step 4: Thinking costs extra
Reasoning models work through a problem before replying. That hidden working is made of reasoning tokens. OpenAI says these are not visible through its API, yet they “occupy space in the model’s context window and are billed as output tokens” (OpenAI docs). Google’s price list labels its output price “including thinking tokens”. A hard question can produce many more hidden tokens than the visible answer.
Step 5: Repeats can be cheaper
If an app sends the same long instructions or document again and again, many providers offer caching: the repeated part is stored and charged at a lower rate. On Google’s list, Gemini 3 Flash Preview’s cached input was $0.05 per million tokens against $0.50 for ordinary input (Google AI for Developers).
A worked example: summarising a report
These are made-up round numbers to keep the sums easy. Imagine a model that charges $1 per million input tokens and $5 per million output tokens.
- Plain summary. You paste a 30-page report of about 15,000 words, roughly 20,000 tokens. Input costs 20,000 ÷ 1,000,000 × $1 = $0.02. You ask for a 300-word summary, about 400 tokens. Output costs 400 ÷ 1,000,000 × $5 = $0.002. Total: about 2.2 cents.
- With thinking. Same prices, but a reasoning model thinks for 5,000 tokens before writing. Output is now 5,400 tokens, or $0.027. Total: about 4.7 cents, more than double, for the same visible answer.
- As an agent. An agent works through the report in 20 steps and rereads all of it each time. That is 20 × 20,000 = 400,000 input tokens, or $0.40 before it writes a word. Caching the report would cut much of that.
For one person, these are pennies. For a company answering a million requests a day, the gap between 2 cents and 40 cents is the gap between $20,000 and $400,000 a day.
What people get wrong
“Free chatbots cost nothing to run.” Every answer uses chips and electricity in a data centre. Free plans are paid for in other ways, such as usage limits, paid upgrades or a company’s own budget.
“The cheapest price per token means the cheapest job.” A cheap model that needs three attempts, or one that thinks at great length, can cost more per finished task than a pricier model that gets it right first time. Compare the cost per task, not just per token.
“A bigger context window is free memory.” Everything in the window is input. In a long chat, the earlier conversation is usually sent again with each new message and paid for again, unless it is cached (see Context Windows Explained).
“The same words always cost the same.” Different models split text into tokens differently, and many languages need more tokens than English to say the same thing.
“AI prices only go up.” The long-run trend has gone the other way. Epoch AI, a research group, found that the price of reaching a given level of performance fell by between 9 and 900 times per year, depending on the task, in data up to early 2025 (Epoch AI).
Where it is heading
Cheaper tokens, more tokens per job. Prices for a given level of quality have been falling fast. At the same time, reasoning models and agents use far more tokens per task, so total bills do not automatically shrink.
Cost per task becomes the number to watch. As agents take on jobs that would take a person many hours (METR), the useful question shifts from “how much per token?” to “how much to get this job done properly?”
Tokens have a physical cost. Every token is computed on chips that draw power. A Harvard-led study reported this month that the biggest US data centres used about 1.8% of US electricity in a year (Nature Sustainability). See AI, Energy and Data Centres.
Key terms
- Token
- Tokenisation
- Inference
- Context window
- Reasoning model
- Test-time compute
- Prompt caching
- AI agent
- Task horizon
- Data centre
Sources
- METR, Q4 2026 capability update, 20 November 2026. metr.org
- OpenAI Help Center, What are tokens and how to count them. help.openai.com
- OpenAI API documentation, Reasoning models guide. developers.openai.com
- Google AI for Developers, Gemini Developer API pricing, accessed 26 November 2026. ai.google.dev
- Epoch AI, LLM inference prices have fallen rapidly but unequally across tasks, 12 March 2025. epoch.ai
- Harvard-led study on hyperscale data centre electricity use, Nature Sustainability, November 2026. doi 10.1038/s41893-026-01985-7
