OpenAI cut GPT-5.6 API prices by up to 80% last week, Anthropic and Google both revised their price sheets in July, and Groq and Cerebras are shipping new tiers every month. If your product bills spend across four or five model providers, a runaway prompt can quietly cost more than a small server before the invoice arrives. These are the seven best apps for AI API cost tracking on desktop in 2026, tested on a real production pipeline that fans out across Claude, GPT-5, Gemini, and a self-hosted Llama endpoint.
Every tool below either proxies your calls (so it sees every request and response), or wraps the model SDKs to log usage, and every one has a desktop or web dashboard you can pin. Prices are USD as of August 2026.
What to look for in an API cost tracker
Six criteria that separate the useful tools from the ones that turn into dashboards nobody reads.
- Per-call cost, not per-token. You want dollars against a workflow, not tokens against a model.
- Multi-provider. OpenAI, Anthropic, Google, Groq, Together, plus self-hosted OpenAI-compatible endpoints.
- Tag by user, feature, environment. So a spike is traceable to a customer or a code path.
- Budget alerts. A Slack ping at 80% of the monthly cap, not a surprise on the invoice.
- Data ownership. Self-hostable or a documented retention policy.
- Low-latency proxy. If a tool sits between your app and the model, added latency has to be under 100ms.
Quick comparison
| App | Best for | Platforms | Free plan | Standout feature |
|---|---|---|---|---|
| OpenRouter | Multi-model routing plus billing | Web | Free (per-call fees) | One API key across 250+ models |
| Helicone | Proxy with a fast dashboard | Web, self-host | 10K requests/mo | Sub-25ms proxy latency |
| Langfuse | Open source observability | Self-host or cloud | Free self-host | Full trace tree per request |
| LangSmith | LangChain-native | Web | Dev tier free | Best for LangChain apps |
| Portkey | Enterprise gateway | Web, self-host | 10K requests/mo | Load-balance and fallback |
| PromptLayer | Prompt-level analytics | Web | Free tier | A/B test prompt versions |
| Braintrust | Evaluation plus cost | Web | Free tier | Ties spend to eval scores |
| W&B Weave | ML-team-native | Web | Free tier | Fits inside existing W&B seats |
1. OpenRouter, best for multi-model routing plus billing
OpenRouter is a single-endpoint gateway that fronts 250+ models across every provider. You top up a balance, use one API key, and OpenRouter charges the model’s per-token rate plus a small margin. The dashboard shows exact spend per key, per model, per day, and you can rate-limit each key.
Where it falls short: for pure logging (not routing) it is not the tool; you want Helicone or Langfuse. Also, prompt latency depends on which underlying provider you routed to.
Pricing:
- Free to sign up.
- Pay-as-you-go per-call fees, roughly model list price + 5%.
- Enterprise: custom.
Platforms: web dashboard; the API is language-agnostic (Windows, macOS, Linux).
Download: openrouter.ai.
Bottom line: the pick if you want one bill across every model provider with a live spend dashboard.
2. Helicone, best proxy with a fast dashboard
Helicone wraps your existing OpenAI/Anthropic/etc. calls with a proxy header (one line of code) and every request logs to a live dashboard with cost, latency, and payload. Self-hostable via Docker.
Where it falls short: the free tier caps at 10,000 requests per month, which a busy internal tool exhausts in days.
Pricing:
- Free: 10K requests/mo.
- Pro: $20/user/mo, 100K requests.
- Enterprise: custom.
- Self-host: free (open source, Apache 2.0).
Platforms: web dashboard; self-host on any Docker host.
Download: helicone.ai or github.com/Helicone/helicone.
Bottom line: the pick if you want the lowest-friction proxy that gives a fast dashboard and can be self-hosted later.
3. Langfuse, best open source observability
Langfuse is the open source LLM observability platform. It captures full traces (a chain of model calls plus tool calls per session), plus cost, plus scores from evaluation runs. Self-hosted on Docker, or Langfuse Cloud for a managed instance.
Where it falls short: you write more instrumentation than with Helicone. The trace SDK is small but it is not “add one header”.
Pricing:
- Free: fully open source (MIT), self-host.
- Cloud Hobby: free tier.
- Cloud Pro: $59/mo.
- Enterprise: custom.
Platforms: self-host on Docker; cloud web dashboard.
Download: langfuse.com or github.com/langfuse/langfuse.
Bottom line: the pick if data ownership matters and you want a real trace tree per user session.
4. LangSmith, best for LangChain apps
LangSmith is LangChain’s first-party observability. If your app is already built on LangChain (Python or JS), LangSmith drops in with two environment variables and traces every chain, agent, and tool call with cost.
Where it falls short: it is best when the underlying app runs LangChain. Non-LangChain projects can still use the SDK but you lose the automatic wiring.
Pricing:
- Developer: free, 5K traces/mo.
- Plus: $39/user/mo.
- Enterprise: custom.
Platforms: web dashboard.
Download: smith.langchain.com.
Bottom line: the pick if the codebase is LangChain-native.
5. Portkey, best enterprise gateway
Portkey sits between your app and every LLM provider, load-balances across models, falls back on rate limits, and logs cost per user. It is the closest thing to an enterprise API gateway for LLMs, with retries, semantic caching, and PII redaction built in.
Where it falls short: the more you use its features, the more you rely on the proxy. Self-hosting is available but the ops burden is not zero.
Pricing:
- Free: 10K requests/mo.
- Production: $49/mo.
- Enterprise: custom.
- Self-host: available on request.
Platforms: web dashboard, self-host on Docker.
Download: portkey.ai.
Bottom line: the pick if you want caching, fallback, and rate-limit resilience on top of cost tracking.
6. PromptLayer, best for prompt-level analytics
PromptLayer organises calls by prompt version. If you A/B test two versions of the same prompt, PromptLayer shows cost per version, latency per version, and success rate per version.
Where it falls short: narrower feature set than Helicone or Langfuse; the strength is prompt analytics, not full request tracing.
Pricing:
- Free: 5K requests/mo.
- Pro: $20/user/mo.
- Enterprise: custom.
Platforms: web dashboard.
Download: promptlayer.com.
Bottom line: the pick if the workflow is “iterate on prompts and pick the winner by cost and latency”.
7. Braintrust, best for tying spend to eval scores
Braintrust combines an eval framework (define a test suite, score model outputs) with cost tracking. Every eval run tells you not just accuracy but dollars spent to reach it, so you can trade a smaller model against a bigger one on real numbers.
Where it falls short: you invest time in writing evals to get the full value. Not a drop-in logger.
Pricing:
- Free: 1K spans/mo.
- Pro: $249/mo.
- Enterprise: custom.
Platforms: web dashboard.
Download: braintrust.dev.
Bottom line: the pick if you already run structured evals and want cost per benchmark.
How to pick the right one
- If you want the widest model coverage on one bill: OpenRouter.
- If you want a two-line proxy with a live dashboard: Helicone.
- If data ownership and self-hosting matter: Langfuse.
- If the codebase is LangChain: LangSmith.
- If you need retries, fallback, and caching in one gateway: Portkey.
- If prompt iteration is the workflow: PromptLayer.
- If cost per benchmark is the metric: Braintrust.
FAQ
How much does OpenRouter markup cost? Roughly 5% on top of the provider’s list price, plus a stripe fee on top-ups. On lower-volume workloads that is worth it for the unified billing.
Can I self-host an AI cost tracker? Yes. Langfuse, Helicone, and Portkey all publish self-hostable Docker images. Langfuse is the most permissive (MIT); Helicone is Apache 2.0.
Which tracker adds the least latency? Helicone’s proxy measures at under 25ms in most regions. Langfuse’s async logger adds zero blocking latency because writes are fire-and-forget.
How do I budget for an unpredictable LLM bill? Set a monthly cap in your provider dashboard (OpenAI and Anthropic both support this), plus a soft alert at 80% in your cost tracker. Combine with Portkey or OpenRouter to fall back to a cheaper model when the cap is close.
What is the cheapest AI cost tracker? Langfuse self-hosted is free. Helicone free tier at 10K requests works for small projects. OpenRouter has no monthly fee, just per-call.