StackSpend

10 Tools for LLM Cost Management (December 2026)

GuidesMarch 6, 2026Updated December 3, 2026By 7 min read

The short answer

Start with your provider dashboards. Add a combined cost view once you pay more than one LLM or cloud bill. Add a gateway only if you need routing or fallbacks, and an observability tool such as Langfuse only if you need to know which prompt or feature costs the most. StackSpend is a self-serve combined option: 17 native cost sources plus custom imports, real-time anomaly detection and daily reporting, with Team plans from $79/month.

LLM spend is usage-based, so it goes wrong quickly. A prompt bug, a retry loop or a good launch day can move your bill in hours, not weeks.

This guide is for teams choosing how to manage that spend. Most teams need one tool to see spend, one to control it if they route across models, and sometimes one to explain which prompts or features cost the most. We make StackSpend, so it is on the list, and we say where it does not fit. Sources were checked on 3 December 2026.

What changed in December 2026

The short answer

  1. Start with your provider dashboards. They are your source of truth.
  2. Add a combined cost view when you use more than one provider or want Slack or email alerts.
  3. Add a gateway or router only when you need fallbacks, budget routing or model switching.
  4. Add observability when you need to know which prompt, feature or customer drives the cost.

That is enough for most teams until LLM spend becomes a serious line item.

Which kind of tool solves which problem?

Your problem Kind of tool Examples What it gives you
I need to see spend by provider Provider dashboards, or a combined view OpenAI dashboard, Anthropic console, StackSpend Daily totals by provider and simple reporting
I need to route traffic or cap usage Gateway or router LiteLLM, OpenRouter, Portkey, Cloudflare AI Gateway Fallbacks, budget routing, retries, model switching
I need to know which feature is expensive Observability Langfuse Cost per trace, prompt debugging, evals
I run LLMs through a cloud provider Cloud billing tools AWS Cost Explorer, GCP Billing, Azure Cost Management Bedrock, Vertex AI and Azure OpenAI costs inside your cloud bill

These tools do different jobs. A gateway is not a finance view. An observability tool is not an invoice view. A provider dashboard does not combine providers.

1. Provider dashboards (OpenAI, Anthropic and others)

What it is: Each provider shows its own usage or billing. OpenAI shows usage by model and project. Anthropic shows usage and spend. Cursor, Hugging Face and others have similar consoles.

Good: Free, direct, and the first place to check that usage is real.

Not so good: One dashboard per provider. No total across vendors.

Use it: Always. Even if you add a combined tool later, keep these as the reference.

2. LiteLLM

What it is: An open-source gateway between your app and many model providers. It handles routing, fallbacks and budget controls through one API.

Good: Flexible and self-hosted. A good choice if you want to own your routing and not depend on one broker.

Not so good: You run it. Reliability, alerts and reporting are on you unless you add other tools.

Use it: When you already know you need routing, provider fallback or budget-aware traffic control.

3. OpenRouter

What it is: A managed API that puts many models behind one endpoint.

Good: Very easy to try different providers and move traffic between models without juggling keys.

Not so good: You add a middleman. That is a fair trade for speed, but not if you want direct provider relationships.

Use it: When speed of experimenting matters more than control of the infrastructure.

4. Langfuse

What it is: LLM observability: traces, prompts, evaluations and cost attribution.

Good: It answers "which feature, prompt or user flow is expensive?" That is usually the missing piece once you can already see your bill.

Not so good: It does not replace provider billing or an invoice-level view.

Use it: When product and engineering need cost by feature, not just by provider.

5. Portkey

What it is: A managed AI gateway with routing, guardrails, caching and budget-aware controls.

Good: You get a gateway without hosting it yourself.

Not so good: Another platform in the request path. Fine for some teams, unnecessary for others.

Use it: When you want routing and guardrails with less operating work than self-hosting.

6. Cloudflare AI Gateway

What it is: An edge gateway for analytics, controls, caching and traffic handling.

Good: Especially useful if you repeat prompts that can be cached, or already use Cloudflare.

Not so good: Better at controlling requests than at finance-style cost tracking.

Use it: When network placement, caching and edge controls matter as much as provider choice.

7. Vercel AI SDK and Vercel AI Gateway

What it is: A developer toolkit for building AI features, with an optional gateway on Vercel.

Good: A smooth developer experience, especially if you already build on Vercel.

Not so good: Best for Vercel-centric teams. Less useful as a cost-management choice on its own.

Use it: When Vercel is already your app platform and you want the simplest integrated route.

8. StackSpend

What it is: A combined monitoring layer with 17 native cost sources plus custom imports. They include OpenAI, Anthropic, Cursor, Hugging Face, Grok (xAI) and cloud providers such as AWS, Google Cloud and Azure.

Good: One place to track cloud and AI spend, real-time anomaly detection, and daily tracking and reporting, with Slack or email alerts and forecasts. Team plans start at $79/month, with a 14-day trial and no credit card.

Not so good: It watches spend. It does not route or control requests. It helps you see a problem and react.

Use it: When you want daily visibility across providers without stitching dashboards together or building your own reports.

9. AWS Cost Explorer, GCP Billing and Azure Cost Management

What it is: The cloud providers' own billing and analytics tools.

Good: Essential if your model usage runs through Bedrock, Vertex AI or Azure OpenAI, because those costs sit inside your wider cloud bill.

Not so good: They stop at the cloud boundary. They do not add direct API spend from OpenAI, Anthropic, Cursor or others.

Use it: When cloud-hosted AI is a real part of your setup.

10. Spreadsheets and manual exports

What it is: CSV exports and tracking by hand in Sheets or Excel.

Good: Cheap and flexible, and enough for a very early team with one or two providers.

Not so good: Fragile. Manual exports fail exactly when you are busy or spend is moving fast.

Use it: As a temporary step, not a long-term answer.

What setup should you pick?

  • One provider, low volume: the provider dashboard is enough for now.
  • Two or more providers, or surprises most weeks: add a combined cost view.
  • You need fallbacks or model routing: add a gateway.
  • You need cost by feature: add observability.
  • You use Bedrock, Vertex AI or Azure OpenAI: keep cloud billing in the mix too.

For many teams the practical stack is, in this order:

  1. Provider dashboards
  2. A combined monitoring layer
  3. A gateway, if you need one
  4. Observability, if you need it

The order matters. Get a reliable view of spend before you add more moving parts.

What a startup should do first

  1. Turn on the usage views in each provider.
  2. Find your top two cost drivers by provider and model. The per-token rates in the LLM API Pricing Index show which models in your mix are the expensive ones.
  3. Add a daily alert once LLM spend is big enough to matter.
  4. Add a router only when you have a clear routing need.

The common mistake is installing a complex gateway before you can see what you spend.

FAQ

Do I need a gateway for cost management?
No. A gateway controls traffic. For visibility, alerts and reporting, a monitoring layer usually comes first.

What is the cheapest way to track LLM costs?
Provider dashboards. They are already included. The catch is that they are split up once you use several providers.

Can I use StackSpend with a gateway?
Yes, and it is a common setup. The gateway controls requests. StackSpend gives you a read-only billing and monitoring view across providers.

How do I choose between LiteLLM and OpenRouter?
Choose LiteLLM if you want control and are happy to run the infrastructure. Choose OpenRouter if you care more about speed and convenience than owning the setup.

When do I need Langfuse or another observability tool?
When your question changes from "which provider is expensive?" to "which feature or prompt is expensive?"

What if I use Bedrock, Vertex AI or Azure OpenAI?
Use the cloud billing tools as part of your stack. Those costs often show up inside your wider cloud spend, not in a separate vendor dashboard.

Can spreadsheets be enough?
Yes, for a while. With one provider and low spend they are fine. Once you add providers or need alerts, they stop being reliable.


If you are choosing a first tool as a startup or small team, and not a full LLM-cost stack, see cloud and AI cost monitoring for startups.

References

Know where your cloud and AI spend stands — every day.

Connect providers in minutes. Get 90 days of visibility and start receiving daily cost updates before the invoice lands.

14-day free trial. No credit card required. Plans from $79/month.
10 Best LLM Cost Management Tools (December 2026) — StackSpend