# AI agent cost tools, mapped by category (November 2026)

*Published November 11, 2026 by Setta AI. Canonical: https://setta-ai.com/guides/agent-cost-tools-map*

Tools that reduce AI agent and LLM costs fall into eight categories, and they mostly stack rather than compete: **provider-native features** (prompt caching, batch pricing, cheaper tiers) lower the price of every token; **gateways and routers** send each request to a cheaper model or a cache; **compression tools** shrink what goes into each call; **observability tools** record every run; **trace analyzers** read those runs and recommend fixes; **FinOps tools** attribute spend to teams, features and customers; **serving optimizers** make each token cheaper to produce on your own GPUs; and **replay simulators** test a change on your recorded traffic before you ship it. Which one you need depends on where your cost comes from and what you can change. If you don't yet know where your agents' cost comes from, start with observability and a trace analysis; if you know what to change but not whether it will save money, you need a replay.

*Disclosure: this guide is written by Setta, which sells in the last category. Products and statuses are as of November 2026, from each vendor's public pages; this market moves fast, so check before you buy.*

## The map

| Category | What it does | Examples | Fits when | Doesn't |
|---|---|---|---|---|
| Provider-native features | Lowers the price of tokens you already send | Prompt caching and cache diagnostics (Anthropic, OpenAI, Google), batch and flex pricing, smaller model tiers, tool search | Always; it's the baseline | Find waste specific to your agent, or tell you which feature is worth adopting |
| Gateways and routers | Sits between your app and the providers; routes, caches, limits | LiteLLM, OpenRouter, Prisma AIRS AI Gateway (formerly Portkey), Bifrost, Envoy AI Gateway; routers such as RouteLLM, AWS Bedrock Intelligent Prompt Routing, Azure Foundry Model Router | You call several providers, need budgets and fallbacks, or have clearly separable easy and hard requests | Change what your agent sends; routing mid-run can cost cache warm-up |
| Context and prompt compression | Shrinks prompts, tool outputs and history before each call | LLMLingua (Microsoft), Headroom, Context Gateway (Compresr), The Token Company, Edgee | Inputs dominate cost and contain a lot of low-value text (logs, large tool outputs, documents) | Account for the cache: compressed inputs can break cached prefixes or lengthen outputs |
| Observability and tracing | Records every run: prompts, tool calls, tokens, latency, cost | LangSmith, Langfuse, Braintrust, Arize, Datadog LLM Observability, Opik | You need to see what your agents do; it's the prerequisite for everything below | Decide what to change; nobody has time to read the runs |
| Trace analyzers | Read traces across runs and recommend priced fixes | Papaya, PointFive, Caveman Cloud, Datadog Cost Insights, Arize Cost Agent, Opik Cost Intelligence; local tools for coding-agent transcripts such as CodeBurn and TokenJam | You have traces and want a ranked list of what to fix | Most estimate savings from token counts; check how a tool prices a fix before relying on its numbers |
| FinOps and cost attribution | Attributes AI spend to teams, features or customers; budgets and forecasts | Vantage, CloudZero, Finout, nOps | Finance needs spend by product, team or customer, or you need budget alerts | Change how your agents consume tokens |
| Serving optimizers | Make each token cheaper to serve on your own GPUs | vLLM, SGLang, NVIDIA NIM, LMCache, quantization | You host open models and pay by the GPU hour | Reduce how many tokens and calls each run needs |
| Replay simulation | Replays recorded traffic under a change and prices it as billed | Setta (product agents, cache-aware, checked against the bill); for coding-agent transcripts, Replay Doctor and Frugal Tokens | You're about to change prompts, tools, caching or models on customer-facing agents and need a number you can trust first | Replace a live A/B test for changes that alter what the model writes |

## How to choose

1. **Turn on what your provider gives you first.** Prompt caching, batch pricing for work that can wait, and the cache diagnostics now offered by Anthropic and OpenAI cost nothing to try.
2. **If you can't see your runs, add observability.** LangSmith, Langfuse or OpenTelemetry-based tracing is the input every analysis needs.
3. **If you can see runs but not the waste, analyze them across runs.** Look for the patterns described in [where agents waste tokens](/guides/where-agents-waste-tokens). An analyzer, or a few days of your own queries, will rank them.
4. **Before changing customer-facing agents, test the change on your traffic.** A replay that models the cache tells you whether a fix saves money or just tokens. See [proving LLM savings before you ship](/guides/prove-llm-savings-before-you-ship).
5. **If finance asks which customers or features drive the bill, add attribution.** See [agent cost per customer](/guides/agent-cost-per-customer).
6. **If you host models, tune serving and cut tokens.** Serving optimizers and token reduction stack: one makes each token cheaper, the other needs fewer of them.

## Things that often go wrong

- **Counting tokens instead of dollars.** With caching, removing tokens can raise the bill when the change rewrites the cached prefix, and compressed inputs can produce longer, more expensive outputs. [Test the change on your traffic](/guides/prove-llm-savings-before-you-ship) before counting the saving.
- **Routing without counting the cache.** Switching models mid-conversation starts a cold cache; one analysis found the recompute ate about two thirds of the theoretical routing saving ([Towards Data Science](https://towardsdatascience.com/the-hidden-cost-of-llm-routing-why-switching-models-costs-more/)).
- **Stacking tools that each assume they see the original prompt.** A gateway cache, a compressor and provider caching can undo each other. Test them together on your traffic.
- **Trusting a projected saving without its method.** Ask how it was computed, whether the cache was modeled, and whether it was checked against your actual bill.

## Where Setta fits

Setta is for SaaS companies that run agents and AI workflows inside their product. It reads production traces from the observability tools above (it doesn't replace them), finds the repeat waste across runs, and proves each fix with a cache-aware replay of your traffic, checked against your bill, before you ship it. Then it keeps the agents current as models and prices change. It works with provider APIs and with self-hosted models served by vLLM, SGLang or NIM. Setta is a service, not software you install: you send a trace export and get back fixes your team deploys. Start with the [free audit](/#cta).
