erabot.ai
ProductPricingCase studiesEvalBlogDocs
Book a demo

Blog

Practical guides on reducing AI costs and optimizing token usage.

2026-07-25

Inside the shadow harness: how we prove a cost fix won't degrade quality

The cheapest advice in AI cost tooling is "use a smaller model." It is also the most dangerous. Before erabot recommends a model swap, it replays your real inputs through both models and lets a judge decide. On our own audits, it rejected 12 of 31 proposed swaps.

7 min readshadow-testingqualitymodel-selectionagentic
2026-07-25

Observability tells you what you spent. It can't tell you how to spend less.

Every AI cost tool on the market operates at runtime — it reports the bill after the code ships. A 2026 review of the category admitted the gap out loud: no tool does code-level, pre-deployment analysis. That gap is the whole product.

6 min readobservabilityfinopspositioningllm-costs
2026-07-25

The 62% problem: agentic AI bills are mostly re-sent context

Stanford research finds re-sent context accounts for 62% of agent inference bills. That waste does not live in your model choice — it lives in your code, and it compounds on every step of every agent run. Here is where it hides and how to find it.

7 min readagenticllm-costscachingcontext
2026-07-24

Case study: two structural LLM-cost bugs in a production RAG platform

We pointed erabot’s agentic auditor at the chat path of a widely-used open-source enterprise RAG platform. It read 18 files, cleared two false positives, and surfaced two cross-file cost bugs a line-level linter can’t see: a frontier model doing bulk summarization, and a prompt cache silently busted by message ordering.

7 min readcase-studyllm-costsragprompt-cachingagentic-audit
2026-07-24

Our eval said F1 = 1.00. It was lying, and we published the retraction.

How we caught our own circular evaluation, rebuilt the ground truth independently, and engineered detection recall from 0.42 to 0.73 with measurements instead of vibes — including a detection pass we built, measured at P=0.14, and deleted.

7 min readevalsdetectionengineering-honestyresearch
2026-07-24

The verbosity trap: when the cheaper model costs 29% more

We replayed real traffic through model downgrades across five task classes. Blanket "use a cheaper model" advice was wrong for three of them, and on two the cheap model was more expensive. Data inside.

6 min readmodel-selectionroutingllm-costsresearch
2026-07-24

We audited 15 open-source AI products for LLM cost waste. All 58 patches applied cleanly.

LibreChat, Dify, Flowise, MetaGPT, OpenHands, Onyx and more, run through the erabot agentic audit: 29 root-cause findings, 58 machine-generated patches, and a quality gate that rejected 12 of our own agent's suggestions.

8 min readauditagenticllm-costsresearch
2026-04-22

Open-sourcing erabot: the CLI + scanner for LLM cost waste

We open-sourced the tree-sitter detector and Typer CLI behind erabot.ai under MIT. Install it with pip, run it locally, read the code on GitHub. Here is what we kept open, what stays closed, and why.

9 min readopen-sourceclillm-coststree-sitter
2026-03-26

The Hidden Cost of Long Context Windows: Why Bigger Isn't Always Better

Long context windows from Claude and GPT-4 seem like a superpower — until you see the bill. Learn why context length is the biggest hidden cost driver in AI applications.

7 min readcontext-windowsclaude-apicost-optimization
EB
erabot.ai

Scan any codebase. See exactly what you spend on AI. Get one-click fixes.

No spam. Only launch updates and cost optimization tips.

Product

  • Product
  • CLI
  • Pricing
  • Changelog
  • Docs

Resources

  • Example audit
  • Blog
  • Case studies
  • Eval

Company

  • Security
  • Privacy
  • Terms

© 2026 erabot.ai. All rights reserved.