AI Economics: Tokens, Pricing, and Choosing the Right Model
The demo worked beautifully. Then the monthly bill arrived. AI costs are easy to ignore in prototypes and impossible to ignore at scale. Here's how to reason about them.
How You Pay
Subscriptions (ChatGPT Plus, Claude Pro, Gemini Advanced, Copilot) — a flat monthly fee for personal use, with usage limits.
APIs — pay per token:
- Input tokens — everything you send: system prompt, conversation history, documents
- Output tokens — what the model writes back; usually several times more expensive per token than input
- Reasoning tokens — "thinking" models generate extra internal tokens that are billed too
Model Tiers
Most providers offer families:
- Frontier / largest — best reasoning and coding, highest price
- Mid-tier — the sweet spot for most production tasks
- Small / fast — very cheap, very fast; great for classification, extraction, routing, and simple summaries
Prices have dropped dramatically year over year for the same capability, so re-check pricing regularly.
Where Costs Hide
- Sending the entire chat history on every turn
- Huge system prompts repeated on every request
- Stuffing 50 documents into context when 5 would do
- Agents looping through many tool calls
- Retries on errors without limits
- Using a frontier model for a task a small model handles perfectly
Cost-Saving Techniques
- Right-size the model — test the small model first; only upgrade if quality demands it
- Prompt caching — reuse long, unchanging prefixes at a big discount
- Batch APIs — non-urgent jobs at reduced prices
- Trim context — summarise history, retrieve only relevant chunks
- Limit output — ask for concise formats, set max tokens
- Route requests — a cheap model decides whether a question needs the expensive one
- Cache answers — identical questions don't need a fresh call
A Simple Cost Estimate
Requests per day × (avg input tokens × input price + avg output tokens × output price)
Run this before launch with realistic numbers, then monitor real usage. Observability tools like New Relic AI Monitoring can track token usage by model and feature.
Choosing a Model: My Checklist
- Quality on your examples (not just public benchmarks)
- Latency — does the user wait for it?
- Cost at expected volume
- Context window needed
- Data and compliance — region, retention, enterprise terms
- Features — tool calling, vision, structured output, caching
Evaluate with your own data. Benchmarks tell you which model is smart; only your test set tells you which model is right for you.