$188.43
Highshopping/catalog.py::recommend_products
gpt-4o · Test Gemini Flash
AI spend visibility for engineering teams
Keep your standard OpenAI and Anthropic clients. Add one decorator to categorise supported AI workflows, then see where spend, token use, and cache efficiency need attention.
No proxy in your LLM request path. Your OpenAI and Anthropic calls go directly to the provider.
Automatic instrumentation for supported Python OpenAI and Anthropic SDK operations.
Supports OpenAI and Anthropic tracking today. Includes cache efficiency reporting when providers return cache-token usage.
Yesterday spend
$421.80
Potential savings
$4,812/mo
$188.43
Highshopping/catalog.py::recommend_products
gpt-4o · Test Gemini Flash
$94.12
Mediumshopping/reviews.py::summarize_reviews
claude-sonnet-4 · Compare Qwen or Mistral
$51.06
Lowshopping/search.py::extract_filters
gpt-4o · Review DeepSeek or Llama
What SpendLens helps you answer
Most teams can see a total AI bill. SpendLens helps explain where that bill came from and which savings opportunities are worth testing.
Open Model SavingsBreak down AI cost by project, model, provider, and workload.
Find the product flows or endpoints creating the biggest AI bill.
Review cheaper model options, cache gaps, and prompt waste signals.
Prioritize savings by estimated impact, confidence, and risk.
How it works
01
Install the Python SDK and add your SpendLens project and API key as environment variables. Node.js SDK coming soon.
02
Add @spendlensai.observe to an AI workflow. Keep your existing OpenAI or Anthropic client unchanged.
03
Use track() and client.tag() when you want exact task, feature, experiment, or endpoint attribution.
04
Open the dashboard to compare workloads, models, token usage, cache efficiency, and savings opportunities.
Savings insights
SpendLens does not just show charts. It points to practical savings opportunities such as expensive model choices, poor cache usage, oversized prompts, and high-token workloads.
See when simple workloads may be running on unnecessarily expensive models.
Find large templates, excessive context, repeated instructions, and long outputs that increase spend.
Review estimated savings, confidence, and risk before making production changes.
Executive-ready reporting
Get a compact report showing yesterday's spend, the top cost driver, and the top recommendation to review.
View sample reportYesterday
$421.80
Projected
$12,654
Savings
$4,812/mo
Recommendation confidence
HighSpendLens found a high-cost workload, identified a cheaper model option worth testing, and estimated $4,812/month in potential savings.
High
Strong workload match and low migration risk
Medium
Worth testing with sample replay
Low
Review manually before migration
Privacy-aware tracking
By default, SpendLens captures operational metadata and reusable system/developer templates—not user prompts or model responses.
Pricing
Annual plans include 2 months free.
$0/month
1,000 events/month, 1 project, test API key, basic dashboard
Start free$49/month
100,000 events/month, 1 project, 14-day retention
$199/month
1,000,000 events/month, 5 projects, 90-day retention
$499/month
5,000,000 events/month, 20 projects, priority support
FAQ
No. Your OpenAI and Anthropic calls continue going directly to the provider. The SpendLens SDK sends usage metadata after calls complete.
A dashboard showing which projects, workloads, models, and providers are driving AI spend, plus recommendations for savings to review.
No full user prompts are sent by default. The default template-only mode may use system prompt or template text for workload classification.
SpendLens currently tracks OpenAI and Anthropic usage. Recommendations can compare against OpenAI, Claude, and other leading model providers.
No. Savings are estimates. SpendLens helps you find opportunities worth testing before changing production workloads.
No. Add @spendlensai.observe to a business workflow. Use client tags only when you need more precise per-call attribution.
Install the SDK, send usage metadata, and get a dashboard that shows spend, cost drivers, and savings opportunities.