Blog
Saved0

Token efficiency and green AI: cut the work, not just the prompt

The prompts got 22% shorter and every onboarding case got heavier. Why the biggest token, energy and carbon savings come from avoiding unnecessary inference, repeated context and rework.

LinkedIn
On this page
  1. The prompts got shorter. The case got heavier.
  2. Are tokens a good measure of AI efficiency?
  3. Start with a boundary and a unit of work
  4. Where do the biggest token savings come from?
  5. Context is usually the biggest avoidable input
  6. Output tokens are a design choice
  7. When does caching actually save work?
  8. Right-size the model, not just the prompt
  9. Escalation should earn its cost
  10. Retries and rework multiply hidden waste
  11. Energy and carbon aren't the same thing
  12. Measure efficiency per outcome
  13. Common anti-patterns
  14. Ten rules for token-efficient, green AI
  15. The result: less work per outcome
  16. Frequently asked questions
  17. How Frozion avoids inference it doesn't need
  18. Sources
The short answer

Token efficiency means the least total work per valid business outcome, not the shortest prompt. The biggest savings come from not calling a model when an exact lookup, rule or calculation settles the question, sending each step only the context it needs, asking for small typed outputs, and stopping retries and escalations that don't add evidence.

The prompts got shorter. The case got heavier.

A bank runs an AI application for business onboarding: beneficial ownership, sanctions exposure, missing documents. The original route checks identities exactly, calculates ownership percentages in code, retrieves only the relevant filings, and calls a specialized model only when a legal relationship is genuinely ambiguous. Most simple cases finish with one bounded model call.

An efficiency push targets average input tokens per call. The prompt shrinks by 22%. At the same time, the application is rebuilt as a general multi-agent route. A planner receives the full customer dossier. An extractor, a verifier and a critic each get overlapping copies of the same material. A failed schema check repeats part of the route. Low-confidence cases go to a larger model with nearly the same context.

The token dashboard celebrates: every prompt is shorter. The whole case tells a different story. Total tokens per resolved case go up, because the same evidence is assembled and sent several times. Retrieval and reranking repeat. More cases reach human review because the agents' summaries disagree, and reviewers reopen the source documents to untangle contradictions the route created.

Side-by-side flows: a lean route with exact checks then one model call, and an agentic route where several agents each receive the full dossier, with retries and human review
A shorter prompt can still produce a heavier route when context repeats and rework isn't counted.

Are tokens a good measure of AI efficiency?

They're a useful signal, not a measure of efficiency. Tokens count what crosses the model boundary; they don't capture hardware, utilization, energy, carbon, retries, human rework or whether the result was right.

The same token count can mean very different work depending on model architecture, hardware, batch size, precision, serving stack and utilization. A model call with fewer tokens can create more downstream work if it drops evidence, fails validation or triggers human correction. So keep several measures, and don't let any one stand in for the rest:

SignalWhat it measuresLimit
TokensInput, output, cached and reasoning tokens at the model boundarySays nothing direct about energy, carbon or quality
ComputeProcessor and accelerator time, memory, networkDepends on hardware, batching and implementation
EnergyElectricity per unit of workExcludes grid carbon and embodied hardware emissions
CarbonOperational plus allocated embodied emissions per unitDepends on location, energy source and method
Route costDirect, allocated, human and recovery cost of the runMoney can diverge from resource use
Outcome efficiencyValid, authorized results per unit of resourceNeeds quality and evidence measured alongside resource use

Start with a boundary and a unit of work

Green AI research argues that computational cost should be reported alongside model quality, not treated as invisible. NIST's generative AI profile names environmental impact from heavy compute use as a risk to manage across the lifecycle. The Software Carbon Intensity specification starts the same way: declare the software boundary, then declare the functional unit you measure against.

For an enterprise application, the model endpoint is rarely the whole boundary. Retrieval, feature calculation, deterministic code, durable state, policy, human review, retries and integrations all belong inside it. The right functional unit is the business result: one resolved claim, one completed onboarding, one reconciled payment. That's the same unit you use for AI cost attribution, and it stops you reporting great efficiency per call while ignoring the extra calls and correction it took to reach a valid outcome.

Where do the biggest token savings come from?

From work you never do. Skipping an unnecessary model call removes its prompt, output, queueing, compute, provider dependency and failure surface all at once, which beats any amount of prompt trimming.

There are two ways to improve efficiency: do necessary work more cheaply, or prove some work was never necessary. The second usually wins.

Avoided inference still has to be governed. Skip a model only when the alternative meets the same quality, evidence and policy bar. The goal isn't the fewest model calls; it's the least work consistent with what the decision requires. (See deterministic-first routing.)

LeverEffect
Exact lookupRead the system of record instead of asking a model to recall it
Deterministic calculationCompute amounts, thresholds, dates and units exactly
Rule or policyApply versioned eligibility and authorization logic directly
Verified feature reuseUse a point-in-time value with a known definition and source
Targeted retrievalFetch only the evidence this decision needs and is allowed to use
Early stoppingStop as soon as the decision's requirements are met
Safe reuseReuse earlier context or outputs only while they're still valid

Context is usually the biggest avoidable input

Prompts grow because every component gets a convenient copy of the whole case. A planner, classifier, verifier, summarizer and reviewer model may each process the same instructions and documents. You pay to send and reason over that material again and again.

Blunt prompt compression isn't the fix. Removing decisive evidence lowers input tokens and raises wrong answers, escalations and rework. Instead, sort context into four tiers:

  • mandatory evidence that survives every budget decision;
  • conditional evidence triggered by the current state or policy;
  • optional evidence that helps but can be dropped;
  • prohibited evidence that must never reach the model.

Then pass verified facts (identifiers, calculated amounts, statuses) as typed values instead of making each model rediscover them from documents or from an earlier model's summary. Token reduction becomes a result of better application design, not the goal you chase directly.

Output tokens are a design choice

If a step needs a three-field classification, don't ask for a page of narrative and parse it back into three fields. Ask each consumer for the smallest output it needs: typed fields for the policy check, a short rationale for the reviewer, only the authorized instruction for the system that acts. Smaller, typed outputs cut generated text, parsing errors and storage, and they reduce the chance that a later step treats a model's explanation as an instruction. And define stopping behavior: a model that has met its output contract shouldn't keep generating because the token limit is generous.

When does caching actually save work?

When the reused result is still valid for this case: same tenant and scope, same purpose, same source and model versions, same policy, and still fresh. Otherwise a cache hit saves one call and creates a wrong decision.

A cache keyed only on prompt text or a resource ID is usually too weak. What changes behavior includes the tenant, data scope, purpose, policy revision, source revision, model version and effective time. Reuse applies to prompt segments, response caches, retrieval results, verified facts and features, and deterministic calculations, each under explicit validity rules.

Measure reuse by work avoided and outcomes produced, not hit rate. A high hit rate can hide stale answers and cross-scope leaks.

Right-size the model, not just the prompt

Once exact and redundant work is gone, pick the smallest allowed capability that meets what's left:

  • deterministic code for exact questions;
  • a narrow classifier or extractor for a bounded task;
  • a specialized model where its evaluations cover the task;
  • a general reasoning model only for genuinely open-ended ambiguity;
  • a person where accountable judgment is required;
  • batched or scheduled runs for work that can wait.

No model is always the cheapest, fastest or lowest-energy choice. Inference energy depends on input and output length, batch size, hardware, precision, serving stack and utilization. A stronger model can be the efficient pick when it prevents several failed attempts and an escalation; a smaller one wins when it meets the same requirement directly. Research on model cascades shows routing by task can improve cost-performance, but in enterprise settings the cascade has to stay inside policy. (See model routing across cost, latency, quality and policy.)

Escalation should earn its cost

Every extra retrieval, verification, model call or review step should reduce a specific uncertainty. A self-critique loop that writes longer prose but doesn't change validation, evidence or the decision adds cost without value. A targeted fetch of one missing amendment adds a lot. A reviewer who resolves a policy-defined ambiguity justifies real time, because no model can close that question with authority.

Retries and rework multiply hidden waste

Much of the waste happens after the first attempt:

  • a model returns invalid structure and the whole context is resent;
  • a missing identifier breaks a tool call and the agent replans from scratch;
  • a timeout triggers another write before anyone checks what happened;
  • a thin review package sends the reviewer back into source systems;
  • a weak evidence trail creates an audit investigation months later;
  • a wrong effect needs a reversal and customer remediation.

Typed failures, a stable ID for each business action, reconciliation before retry, and complete review packages are green controls as much as governance controls. The greenest run isn't the one with the fewest tokens before the first answer. It's the one that reaches a valid outcome with the least total work, including the work to explain, correct or recover.

A ladder of steps from exact lookup and calculation, through targeted context and right-sized model, to targeted escalation and human judgment, with a stop gate between each
Eliminate exact and redundant work first, then use right-sized inference, targeted escalation and human judgment only where the decision needs them.

Energy and carbon aren't the same thing

Energy asks how much electricity the software uses per unit of work. Carbon also depends on how that electricity was generated, and on how embodied hardware emissions are allocated. The same energy can mean different carbon in different places and hours.

That matters for routing. A deferrable batch job may run when lower-carbon capacity is available. An interactive or regulated decision may not be deferrable, and data residency, provider approval, latency and quality constrain the route before carbon ever enters the decision. Private AI isn't automatically greener for being private, and shared public inference isn't automatically more efficient for being shared. Utilization, hardware, model size, workload shape, cooling, electricity source and data movement all count. Keep tokens, compute, energy and carbon as separate measures and compare them per outcome.

Measure efficiency per outcome

Useful measures, none of which should become the sole target:

MeasureWhat it shows
Avoided-inference rateCases settled without a model call
Tokens per outcomeAll tokens, including repeats, retries and fallbacks
Context duplicationRepeated context across steps versus unique context
Model calls per outcomeEvery attempt, critique and verification
First-pass completionOutcomes reached without avoidable retry or repair
Human rework minutesReview time caused by thin context or conflicting outputs
Energy and carbon per outcomeMeasured or allocated, for the declared boundary

A route can cut tokens while adding human work, cut energy while breaking residency, or raise cache hits while serving stale answers. Efficiency always sits inside quality, authority, policy and evidence constraints.

Common anti-patterns

Anti-patternWhy it failsWhat to do instead
Token count equals energyIgnores hardware, batching, utilization and reworkTrack tokens, compute, energy and carbon separately
Compress the promptDropping decisive context raises errors and reviewKeep mandatory evidence; remove duplication
A model for everythingExact lookups and math done probabilisticallySettle known facts first; record avoided inference
Full context at every stepThe same evidence is processed repeatedlyPer-step context and typed facts
Self-critique without yieldMore prose, no better decisionMeasure what each escalation changes; set stop rules
Cache everythingStale or mis-scoped reuse is cheap and wrongKey reuse on scope, freshness and version
Retry until successRepeats context, inference and external writesReconcile, then retry with the same action ID
Carbon routing over policyLow-carbon capacity outside residency or quality limitsApply policy first, then optimize resources

Ten rules for token-efficient, green AI

  1. Declare the boundary and the outcome unit before optimizing tokens.
  2. Treat tokens as one signal, not a proxy for energy, cost or quality.
  3. Settle exact questions without a model, and record that you did.
  4. Send each step only the context it needs; never drop mandatory evidence.
  5. Ask for the smallest typed output each consumer needs.
  6. Reuse context and results only while scope, version and freshness hold.
  7. Right-size models within the allowed set; don't default to the largest.
  8. Make every escalation earn its cost, and stop when requirements are met.
  9. Count retries, rework, human correction and recovery in the total.
  10. Keep the link from resource use to outcome, so you can show what was necessary.

The result: less work per outcome

Shorter prompts, smaller models, quantization, batching, caching and carbon-aware scheduling are all useful. None of them proves the application is efficient. The test is whether the whole route does the least work needed to produce a valid, authorized, evidence-complete result.

That usually means eliminating work before optimizing it: exact computation before inference, required context instead of everything, typed facts instead of repeated prose, targeted escalation instead of reflexively bigger models, and reconciliation before retry. Efficiency isn't fewer tokens per call. It's less unnecessary work per outcome.


Frequently asked questions

Do fewer tokens mean lower energy use?

Not reliably. Energy per request depends on model size, hardware, batching, precision, serving stack, utilization and output length. A short prompt to an oversized model can use more energy than a longer prompt to a small, well-matched one.

What is green AI in enterprise applications?

It's measuring compute, energy and carbon per declared unit of business work, such as one resolved case, and designing the application to reach that result with the least total work, including retries, rework and human correction.

Is prompt compression a good way to save tokens?

Only when it keeps every piece of decisive evidence. Cutting required context lowers input tokens but raises wrong answers, escalations and human review, which costs more than it saves. Remove duplication and irrelevant material first.

How does this work for agents we already run?

Route the agent's calls through a governed runtime over MCP or HTTPS. Known facts and rules settle what they can before any model call, each step gets a checked context package instead of the whole case, and uncertain writes are reconciled rather than blindly retried.

With Frozion

How Frozion avoids inference it doesn't need

Model Routing settles what it can with known facts and calls a model only for what's left, routing by policy. Context Store & Assembly builds a checked context package for each action, so a step receives the evidence it needs, not the whole case. Exact values come from the Feature Store, with features authored in SQL or visually and freshness limits you define. Durable Execution reconciles uncertain writes before any retry, so a timeout doesn't replay a whole route.


Sources

  1. Schwartz et al., Green AIReport computational efficiency alongside accuracy.
  2. NIST AI 600-1, Generative AI ProfileEnvironmental impact of high compute use as a lifecycle risk.
  3. NIST AI Risk Management Framework (AI RMF 1.0)System-level, context-dependent measurement across the lifecycle.
  4. Green Software Foundation, Software Carbon Intensity (SCI)Software boundary and functional unit; carbon as a rate per unit.
  5. OpenTelemetry semantic conventions for generative AINeutral token, cached-token, tool and retrieval telemetry.
  6. Chen, Zaharia and Zou, FrugalGPTModel cascades can improve cost-performance in evaluated settings.
More in Strategy & economics

Strategy & economics

Build vs buy 3
Cost & efficiency 3
Private & sovereign AI 2

Other topics

Pick up where you left off: