Price LLM Inference by Task, Not by Token

Token prices have fallen 50× in three years, but reasoning models can burn 100× more tokens on a single query. Here's how to think about LLM inference cost in terms your team can actually budget.

Cover art for Price LLM Inference by Task, Not by Token

GPT-4-equivalent inference cost $20 per million tokens in late 2022. By mid-2026 that same capability benchmark costs $0.40 per million tokens - a 50× fall in roughly three years. That looks like a reason to stop thinking about cost altogether. It is not. The number your team actually needs is not the per-token rate on the pricing page. It is the cost per finished task - and that number has been quietly climbing for anyone who reached for a reasoning model.

What "per token" actually hides

Output tokens cost roughly 4-5× more than input tokens because generation is computationally sequential - the model produces each output token one at a time, while input is processed in parallel. That asymmetry already makes "cost per million tokens" a slippery number, because it blends a cheap side and an expensive side into one average that fits neither.

Reasoning models break the math harder. They can consume 100× more tokens internally than they output, creating a cost paradox where cheaper per-token pricing leads to higher total bills. Here is a concrete example: a basic query that would use 50 tokens with a standard model can balloon to 30,000+ tokens with aggressive reasoning enabled. And all of those thinking tokens bill at the output rate - the expensive side of the asymmetry.

Reasoning tokens dominate inference cost in most reasoning-enabled runs. Across all reasoning entries in one large benchmark study, the median reasoning cost share was 94.7%, meaning nearly all generated-token spend goes to internal thinking rather than the final answer text.

Practically, high-reasoning models are appropriate when hidden deliberation produces measurable accuracy gains, but inefficient when the task only requires retrieval, routing, formatting, or short final answers. Most workplace AI tasks - triaging a ticket, summarising a thread, classifying intent, filling a field - are exactly the latter.

The cost-per-task frame, with real numbers

Most teams budget by multiplying total tokens by average price per token. This is wrong because it ignores task heterogeneity. An agent loop compounds input tokens with every step. A classification call burns almost nothing. Treating them the same gives you a number that is accurate for no workload in particular.

Here is what a mixed workload actually looks like across tiers, adapted from published pricing and task-volume data:

Task type Share of volume Right tier Example models Cost per 10M tokens
Classification / extraction ~40% Fast DeepSeek V4, Gemini Flash-Lite $1-3
Summarisation / analysis ~35% Balanced Claude Sonnet 5, GPT-5.6 Luna $7-18
Complex reasoning / code ~15% Premium Claude Opus 5.5, GPT-6 Sol $15-30
Agent loops ~10% Balanced + cache varies $9-20

The pricing columns above are composites from published 2026 rates: fast-tier models like DeepSeek V4-Flash run $0.10-$0.75 per million tokens; balanced tiers like Claude Sonnet 5 and GPT-5.6 Luna run $1.50-$5.00; premium tiers like Claude Opus 5.5 run $10-$20.

An agent loop workload (25k input / 3k output per step) is the most expensive profile because context compounds at every step. Claude Opus reaches $200 per thousand agent loops - 134× the floor set by a small fast model at $1.49/1K. DeepSeek V4 at $9/1K delivers comparable reasoning at 22× under Opus.

That spread is where the real decision is.

50×drop in GPT-4-class inference costlate 2022 → mid-2026
94.7%median reasoning cost sharemost spend is thinking, not answering
134×spread from cheapest to priciest agent loopat published 2026 rates

Where routing by task type pays off

The highest-leverage inference move is not negotiating a better API deal - it is refusing to send a classification task to a reasoning model. A teammate like Beagle applies this at the task level automatically, using a compact model for lookups and a heavier one only when the task genuinely benefits.

The same logic applies to prompt caching. Batch and flex modes cost 50% less on both Anthropic and OpenAI; cached input rates drop to $0.01-$0.25 per million tokens on the major providers. For teams hitting the same system prompt hundreds of times a day - a support assistant with a fixed knowledge block, a standup bot with a stable template - cached input spend can fall by 85-90% versus fresh input.

Standard chat: a user asks a question, the model emits 100-500 output tokens, and per-request cost runs $0.001-$0.01. Reasoning model: the model thinks 1,000-10,000 tokens first, then emits 100-500 visible tokens, and per-request cost runs $0.02-$0.50. Twenty to fifty times higher. For a feature that runs five hundred times a day, that is the difference between a $5 and $250 daily bill - before you have shipped anything else.

Beagle in action#product-ops, weekly metrics digest
The ask
'can you pull active sprint velocity and flag anything that slipped this week?'
Beagle drafts
routes the extraction step (reading Linear tickets) to a fast-tier model, routes the analysis step (why did tasks slip?) to a balanced model, caches the shared context across both calls
You approve
answer posts in 18 seconds; two-model routing costs about $0.003 per digest instead of $0.09 on a reasoning model at the same task
Do this in your workspace →

The non-obvious thing the pricing pages don't say

Reasoning models can consume 100× more tokens internally than they output, creating a cost paradox where cheaper per-token pricing leads to higher total bills. But the deeper issue is that the paradox is task-dependent. In one documented case, a model priced 78% cheaper than a competitor actually cost 22% more on MMLU-Pro tasks because it generated over 11,000 internal reasoning tokens per query.

The inverse is also true. For a task that actually requires reasoning - debugging a tricky SQL query, reconciling conflicting data sources, writing a nuanced customer response - the reasoning model's higher accuracy can produce a lower cost per successful output than the cheaper model that fails and retries.

At the extreme: a budget model succeeding on 40% of attempts costs $0.125 per accepted result; a mid-tier model at 85% costs $0.141; a frontier model at 97% costs $0.412. For high-stakes tasks where a failed answer has a real cost (a wrong update to a CRM, an incorrect summary sent to a customer), the frontier model can be the rational buy.

The implication for teams building AI features in Slack or Teams: map your task distribution before you pick a model. Most workplace queries skew heavily toward retrieval, formatting, and routing - the cheap end of the spectrum. Reserve the reasoning tier for the minority of tasks where it actually earns its price.

Budgeting an AI standup feature
Without Beagle
flat rate on a frontier model for every call; $0.09+ per digest; $45/day for 500 standups; nobody checks until the invoice arrives
With Beagle
fast-tier model for extraction, balanced for summarisation, cached system prompt; $0.004 per digest; $2/day for 500 standups; monitored per task type

LLM inference cost: common questions

What does LLM inference cost per task in 2026?

It depends on task type and model tier. Small chat tasks run $0.04-$7.50 per thousand requests; code review runs $0.19-$27.50 per thousand; document processing $0.83-$100; agent loops $1.49-$200. The floor in each category is a small fast model; the ceiling is a frontier reasoning model. Routing tasks to the right tier is the main cost lever.

Why do reasoning models cost so much more than their per-token rate suggests?

Reasoning models generate 20-30× more tokens per task due to internal "thinking" steps, which are billed as output tokens. Output tokens already cost 4-5× more than input tokens. The two effects compound: a reasoning model on a simple task can cost 50-100× more than a standard model - not because the per-token rate is higher, but because it consumes far more of the expensive tokens.

What is prompt caching and when does it help?

Prompt caching stores repeated context (system prompts, knowledge blocks, conversation history) so the provider does not re-compute it on every call. DeepSeek's official API prices cached input at $0.0028 per million tokens on a cache hit

  • versus $0.14 for a fresh read, a 50× difference. It is most valuable when the same large context block is reused across many requests, such as a support assistant with a fixed FAQ document.

Is self-hosting cheaper than the API?

Sometimes, but the break-even point is higher than most teams expect. Self-hosting Llama 4 70B on an H200 at $2.49/hour works out to roughly $0.13 per million tokens. The 50× cost spread between self-hosted and frontier API depends almost entirely on whether you rent the model or rent the GPU. At low request volumes the fixed GPU cost dominates; self-hosting only wins at sustained high throughput.

Should I use the same model for every AI feature?

No. Classification and extraction tasks sit comfortably in the fast tier at $0.10-$0.75 per million tokens. Complex reasoning and code generation belong in the premium tier at $10-$20. Running a classification feature on a premium model is roughly the same as driving every errand in a rented truck because you occasionally need to move furniture.

Or just watch me work

Point me at your website.

I will read up on your business and come back with what I would run for you. No account, no card, about a minute.

I only read what is public. Nothing is saved to your name until you say so.

Keep reading

Beagle does this work for you, in your Slack.1,000 free credits. No card.Hire Beagle