AI costs are exploding.
You need governance, not just graphs.
Add one SDK call. Track every AI provider. Set budgets, alerts, and kill-switches that prevent cost overruns — automatically.
Free forever for small projects. No credit card required.
Works with every AI provider
"Why not just use LangSmith / Langfuse / Helicone?"
Those are observability tools — they show you costs after the fact and store your prompts. AICostManager is cost management: budgets, kill-switches, client billing, and privacy-first architecture.
Observability tools tell you what you spent. AICostManager gives you budgets, alerts, and kill-switches to prevent overruns.
LangSmith, Langfuse, and Helicone ingest your AI conversations. We only see usage metadata — never your data.
What about Deepgram, ElevenLabs, or your custom APIs? AICostManager tracks all AI spend in one place.
from aicostmanager import OpenAIChatWrapper
from openai import OpenAI
# Wrap your existing OpenAI client
client = OpenAI()
tracked_client = OpenAIChatWrapper(client)
# Use exactly as before - costs tracked automatically
response = tracked_client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello"}]
)
from aicostmanager import Tracker
with Tracker() as tracker:
# Track Deepgram transcription
tracker.track(
"deepgram",
"deepgram::deepgram_websocket_transcription",
{"model": "nova-3", "duration": 120}
)
# Track Deepgram text-to-speech
tracker.track(
"deepgram",
"deepgram::deepgram_streaming_tts",
{"model": "aura-2", "char_count": 1500}
)
How it works
From install to insights in four steps.
Install the SDK
pip install aicostmanager or
uv add aicostmanager. Set your API key.
Track usage
Wrap your LLM client for automatic tracking, or call
tracker.track() for any API.
Set budgets
Configure per-key, per-client, or per-service spending limits with alerts and hard kill-switches.
Get insights
Real-time dashboards, cost breakdowns by customer, and automated client billing.
Everything you need for AI cost control
From raw usage data to automated governance, AICostManager handles the full lifecycle.
Budget Enforcement
Set hard spending limits with automatic kill-switches. Block API calls when budgets are exceeded to prevent cost overruns.
Privacy First
We only see usage counts and metadata — never your prompts or responses. Enterprise-grade data handling.
Client Billing
Automated client cost allocation with custom context variables. Track costs per customer, project, or any dimension.
Smart Alerts
Real-time notifications via Slack, email, or webhooks when spending approaches limits. Threshold-based alerting.
Custom Context
Send any custom dimensions with API calls — customer, project, region, environment — then filter and report on them.
MCP Integration
Give AI agents financial intelligence. Compatible with Claude Desktop and custom agents for cost-aware autonomous decisions.
"Can't I just check my provider dashboard?"
You could. Here's why teams don't.
Multi-provider complexity
One dashboard for all your AI providers.
LangSmith tracks LangChain usage. Langfuse and Helicone focus on LLMs. But what about Deepgram, ElevenLabs, and all the other APIs you use?
Privacy vs data collection
Your AI conversations stay private.
Observability tools store your prompts and responses to build better products. We only see usage metadata — never your AI conversations.
Governance vs. observability
Control costs before they spiral.
LangSmith/Langfuse/Helicone show you costs after the fact. We give you budgets, alerts, kill-switches, and automated controls.
Simple, transparent pricing
Start free. Upgrade when you need to. No per-seat charges, ever.
For solo devs and side projects.
- 100K events / month
- 1-month data retention
- 1 team member (owner)
- 2 API keys
- Multi-provider tracking
- Email alerts
- 2 hard spending limits
- JWT kill-switches
- CSV export
- MCP integration
The cheapest “real” plan on the market.
- 1M events / month
- 3-month data retention
- Unlimited team members
- 10 API keys
- MCP server integration
- Unlimited spending limits
- Customer management
- CSV + JSONL exports
- Email support (48hr)
- Overage: $3 / 100K events
For production teams that need webhooks and exports.
- 3M events / month
- 6-month data retention
- Unlimited team members
- Unlimited API keys
- Webhooks (HMAC-signed)
- Context variables
- Scheduled exports & reports
- Email + webhook alerts
- Email support (24hr)
- Overage: $2 / 100K events
Everything. Full governance, archival, and Slack support.
- 10M events / month
- 12-month data retention
- Unlimited team members
- Email + webhook + SMS alerts
- Webhooks with retry logic
- Parquet exports
- Data archival (hash verified)
- Unlimited custom configs
- Email + Slack support
- Overage: $1.50 / 100K events
Enterprise?
Honestly, we’re built for indie developers and small teams. But if you genuinely need custom volumes, negotiated rates, and dedicated support — let’s talk. No sales team, no demo theater.
Frequently asked questions
How is this different from LangSmith, Langfuse, or Helicone?
Those are observability tools — they show you costs after the fact and store your prompts and responses. AICostManager is a cost management platform: we give you budgets, hard kill-switches, client billing, and privacy-first architecture. We never see your prompts or responses.
What AI providers do you support?
We support 50+ providers including OpenAI, Anthropic, Google, Azure, AWS Bedrock, Deepgram, ElevenLabs, and many more. Our custom service engine lets you add pricing for any API — LLM or otherwise.
What data do you collect?
Only usage metadata: provider name, model, token counts, timestamps. We never see, store, or process your prompts, responses, or any content from your AI conversations.
How do budget kill-switches work?
When a usage limit is reached, the SDK receives an encrypted JWT indicating the limit was triggered. Your application checks this token and can block further API calls in real-time — no additional network requests needed.
Can I track costs per customer or project?
Yes. Send custom context variables (customer, project, region, etc.) with every API call. These dimensions appear in your dashboard for filtering, reporting, and automated client billing.
Is the free tier really free forever?
Yes. The Free plan includes 100K events per month, budget alerts, 2 hard spending limits with JWT kill-switches, and 1-month data retention. No credit card required, no trial expiration. Upgrade to Pro ($19/mo) when you need MCP integration, unlimited members, or more capacity.
Stop AI costs from becoming CFO surprises.
One SDK call. Instant cost tracking. AI-powered governance. Free forever for small projects.
Get Started Free