Prices and model names in this article were updated on 31 October 2026.

The price of a given level of model quality has fallen fast. According to a16z (November 2024), "What cost $60/million tokens in 2021 costs $.06/million tokens today" for a model of equivalent performance. Epoch AI (March 2025) measured price drops of 9x to 900x per year, depending on the capability milestone. Yet enterprise AI bills keep growing, because cheap tokens do not stop a system from sending millions of them it never needed.

The flagship tier has fallen much less. OpenAI's GPT-4 cost $30 per 1M input tokens and $60 per 1M output in March 2023. GPT-6 Astra costs $10 and $50 as of October 2026. Claude 3 Opus cost $15 / $75 in March 2024, and Claude Opus 5.5 costs $4 / $20. Teams that always pick the newest flagship see only part of the decline.

The arithmetic of a surprise is simple. At Claude Sonnet 5.5's input price of $2 per 1M tokens, 14 billion input tokens a month cost $28,000. Budgets are set from the demo, and a demo never sends 14 billion tokens.

The demo-to-production gap

A demo that summarises a document sends one request: 2,000 tokens in, 500 out. On Claude Sonnet 5.5 ($2 input, $10 output per 1M) that is $0.004 + $0.005 = $0.009. The product manager approves it. Then it ships, and the real usage pattern emerges.

Once live, the same feature sends more on every call. The document now travels with a 1,500-token system prompt, 800 tokens of conversation history and 200 tokens of tool definitions. Input grows from 2,000 to 4,500 tokens, 2.25x the demo. The call now costs $0.009 + $0.005 = $0.014, about 1.6x the demo price. Retries, validation loops and error handling come on top.

Many teams find this out from the first invoice. The LLM cost audit checklist shows how to find it in the logs earlier.

Token maxing

Many developers set max_tokens to the model's ceiling because they are not sure how long the answer should be. The model rarely uses the full allowance. On the occasions it runs long, you pay for every token it writes.

Reasoning models add a second layer. Anthropic's Claude Code docs say thinking tokens "are billed as output tokens". They add that the default thinking budget "can be tens of thousands of tokens per request depending on the model". A generous limit on a reasoning model is a generous limit on the most expensive token type.

The fix is to set max_tokens per endpoint from measured output lengths, a little above the 95th percentile. The model's maximum is the wrong default. Where the model supports it, lower the effort level for simple endpoints. Both changes are free and take effect at once.

Agent loops

One agent task can look like a single user request and still run many LLM calls under the hood. Each call carries the full system prompt again. A 2,000-token system prompt over 30 iterations sends 60,000 tokens of repeats before any work happens.

Here is what a support agent looks like if nobody designs it for cost:

User message: "Why was I charged twice?"

Agent loop iteration 1: system_prompt (2,100 tokens) + user_msg (15 tokens) + tool_definitions (800 tokens) = 2,915 input tokens
Agent loop iteration 2: system_prompt (2,100 tokens) + history (400 tokens) + tool_result (300 tokens) = 2,800 input tokens
Agent loop iteration 3: system_prompt (2,100 tokens) + history (900 tokens) + tool_result (500 tokens) = 3,500 input tokens
...
Total: 30 iterations × ~3,000 avg = 90,000 input tokens for one support ticket

At Claude Sonnet 5.5's input price ($2 per 1M), that is $0.18 per ticket in input alone. At 50,000 tickets a month, it comes to $9,000. The team that budgeted $0.009 per request now has a $9,000 line item for one feature.

Caching only the system prompt changes the picture. Assume one cache write per ticket (2,100 tokens at $2.50 per 1M, $0.00525) and 29 cache reads (60,900 tokens at $0.10 per 1M, $0.00609). The other 27,000 input tokens stay at full price ($0.054). The ticket now costs $0.0653 in input, and 50,000 tickets cost $3,267 a month instead of $9,000.

Monthly input cost of 50,000 agent tickets on Claude Sonnet 5.5, with and without a cached system prompt Support agent, 50,000 tickets a month: input cost Repeated system prompt History, tools, results No caching $9,000 System prompt $6,300 · everything else $2,700 Cached prompt $3,267 System prompt $567 (write + reads) · everything else $2,700 Claude Sonnet 5.5 list prices, October 2026. Input tokens only.
Caching the system prompt cuts the agent's monthly input bill from $9,000 to $3,267.

Running several agents in parallel multiplies all of this. For Claude Code, Anthropic writes that "Agent teams use approximately 7x more tokens than standard sessions when teammates run in plan mode".

Repeated context

Many production AI applications re-send the same content on every request. A legal review tool that re-sends a full contract with every follow-up question pays for that contract again each time. A support bot that includes the product catalogue in every message does the same.

A worked example on Claude Sonnet 5.5: a 15,000-token contract and 20 follow-up questions.

Setup Calculation Input cost
No caching 20 × 15,000 tokens × $2 / 1M $0.600
Contract cached (5-minute cache) 1 write: 15,000 × $2.50 / 1M = $0.0375; 19 reads: 285,000 × $0.10 / 1M = $0.0285 $0.066

That is 89% less for the same product. Anthropic's cache read on Sonnet 5.5 and Opus 5.5 costs 0.05x the input price. The default cache lives five minutes. A one-hour cache costs 2x the input price to write ($4 per 1M on Sonnet 5.5). The prompt caching guide covers the rules per vendor.

Anthropic added a one-hour cache lifetime in May 2025, aimed at long agent sessions where a five-minute cache expires between steps.

One model for every task

A frequent enterprise mistake is one model for everything. A team tests a strong model and it works. From then on every query goes to it at its price, from "summarise this email" to "write a complex SQL migration".

A "summarise this email" request rarely needs a flagship. GPT-6 Luna costs $0.10 per 1M input tokens; GPT-6.1 Sol costs $2 and GPT-6 Astra $10. If the small model passes your evaluation set for that task, the input price drops 20x against Sol and 100x against Astra.

from openai import OpenAI

client = OpenAI()

# Without routing: everything hits the mid-tier model
response = client.chat.completions.create(
    model="gpt-6.1-sol",
    messages=[{"role": "user", "content": email_text}],
)

# With routing: simple tasks go to the small model
def route_completion(prompt: str, task_type: str):
    model = "gpt-6.1-sol" if task_type == "complex" else "gpt-6-luna"
    return client.chat.completions.create(
        model=model,
        messages=[{"role": "user", "content": prompt}],
    )

What routing saves, worked out for 1M calls a month at 1,000 input and 300 output tokens each:

Setup Calculation Monthly cost
Everything on GPT-6.1 Sol 1M × ($0.002 + $0.003) $5,000
60% routed to GPT-6 Luna 400K × $0.005 + 600K × $0.00025 $2,150
Same, plus a Luna classifier call per request (1,000 in, 5 out) $2,150 + 1M × $0.0001025 $2,252.50

The routed setup costs 55% less, including the classifier. The share of traffic a small model can take is specific to your workload; measure it before you count the savings.

The architecture audit checklist

If the AI bill is higher than expected, check these in order:

Check How
System prompt size Count its tokens with the vendor's tokenizer. A long prompt on a high-volume endpoint is the first candidate for caching or a rewrite.
Context growth Log input tokens per request. If they grow with conversation length and nothing truncates, every turn pays for the full history.
Model assignment List every LLM call in the app and mark which ones need a flagship.
Output length Compare each endpoint's max_tokens with its measured output lengths, thinking tokens included.
Retry logic Check whether failed requests are retried with the full context. Each retry pays the whole input again.

The pricing drop illusion

Falling token prices did not cut enterprise budgets. They made more ambitious systems affordable, and teams built more agents before fixing the architecture of the first one. Epoch AI also warns that the trend may slow: "The fastest price drops in that range have occurred in the past year, so it's less clear that those will persist." The LLM price history charts how far each tier has fallen since 2023.

Tokens a system never needed to send stay expensive at any unit price.

What to do next

Sources