JEDI.
← All field notes

AI ECONOMICS / PRACTICAL METHODS

How to reduce LLM inference costs without losing useful output

A workload-first sequence for cutting AI spend: accepted-task baselines, context, model routing, caching, batching, and total delivery cost.

Jedidiah Weller · · 6 min read

01 / FIELD NOTES

Start with the bill and the work it bought

An inference bill is easy to lower by doing less work. The useful question is whether you can complete the same valuable work for less. Before optimizing, choose a representative workload and record both its full cost and the results someone accepted.

Use the invoice rather than the headline rate. Include input, output, billed reasoning, tools, cache writes, retrieval, retries, and the review required to make a result usable. Keep a separate record of latency and peak demand. A cost reduction that breaks the service requirement is a different product decision.

  • Count accepted tasks, not just API requests.
  • Include every attempt and repair step in the task’s cost.
  • Keep quality and latency thresholds fixed while testing a change.

02 / FIELD NOTES

Remove context that does not change the answer

Repeated instructions, irrelevant retrieved passages, and complete histories can inflate an input without improving a result. Build a small evaluation set before trimming. Compare the accepted-result rate and the failure cases as carefully as the token count.

For retrieval workflows, test whether fewer, more relevant passages outperform a larger context dump. For conversations, decide which state must be preserved explicitly. Shorter context can also remove evidence a model needed, so the winning configuration is the one that passes the workload test.

03 / FIELD NOTES

Route by demonstrated task difficulty

A smaller or cheaper model may be enough for a bounded extraction, classification, or transformation. Evaluate that exact task before routing it away from a stronger model. A low-cost first attempt followed by a second expensive attempt can raise the total bill.

Track the cost and success of the entire route, including fallback. Set an escalation rule you can explain: failed schema validation, insufficient evidence, or a task category that your evaluation showed to be difficult. Confidence expressed in the model’s prose is not an acceptance test.

04 / FIELD NOTES

Use caching and batching where the workflow permits

Caching and asynchronous batch processing can change effective prices, but they depend on provider rules and workload structure. Verify the exact model, eligible request shape, cache lifetime, write cost, and delivery window before counting a discount.

Repeated stable prefixes may benefit from caching; constantly changing prompts may not. Batch processing may suit overnight jobs while being inappropriate for a user waiting on a response. An operational constraint belongs in the cost model alongside the rate.

05 / FIELD NOTES

Compare the new system with the new baseline

Once you optimize managed usage, revisit the hardware decision. If a team lowers its API bill, it has also reduced the spending a server could eliminate. The payback threshold moves.

For an illustrative example, a $6,000 purchase with $100 a month of operations saves $400 a month against a fully replaced $500 API bill, giving 15 months of simple payback. If prompt and routing improvements reduce that API bill to $200, the same purchase saves $100 a month and takes 60 months. Neither number predicts model equivalence or useful hardware life.

Use the cost calculator with the optimized invoice and a replacement percentage supported by a pilot. The strongest improvement is the one that lowers the cost of an accepted result while preserving the reason people use the system.

Sources & next steps

Published November 2, 2026. Worked examples are hypothetical; benchmark methods describe measurements to perform.

MAKE THE ECONOMICS VISIBLE

Run your own assumptions.

Compare API, rented GPUs, and owned hardware →

Discuss a session for your team →