Skip to main content

4 posts tagged with "spend-tracking"

View All Tags

One Budget Across Your AI Tools with LiteLLM

Ishaan Jaffer
CTO, LiteLLM
LiteLLMSHARED AI BUDGETS

One budget across
your AI tools.

Claude Code
$120 used
GitHub Copilot
$90 used
Antigravity
$56 used
$266 usedof $500
53.2% of team budget$234 remaining
LiteLLM team budget: $266 spent of $500 across Claude Code, GitHub Copilot and Antigravity. Individual tool caps are unset.
Inside LiteLLM
Route your tools through LiteLLM. Share one budget.PRODUCT PREVIEW · DEMO DATA

Give your team one budget for Claude Code, GitHub Copilot and Antigravity. Route their model requests through LiteLLM AI Gateway, set the team's allowance, and track how much each member and tool uses.

Release availability

You can use one overall team or member budget in LiteLLM. The per-tool limits and usage views target the upcoming LiteLLM 1.113.0 release. Follow the setup guide for configuration.

Prompt Caching Alerts in LiteLLM

Ishaan Jaffer
CTO, LiteLLM
LiteLLM

AI GATEWAY / OBSERVABILITY

Prompt Caching Alerts

Find the models that need attention.

2 low-cache models · 1 regressionCache read / input tokensMODELHIT RATE0%50%100%Google Geminidocument-agentLow cache3.0%OpenAIrepo-assistantLow cache14.6%Anthropicsupport-agentDrop48.1%Amazon Bedrockknowledge-search65.4%20% alert thresholdUSAGE / PROMPT CACHINGILLUSTRATIVE MODEL USAGE
2 low-cache models · 1 regressionGoogle Geminidocument-agent3.0%OpenAIrepo-assistant14.6%Anthropicsupport-agent48.1%65.7 pp dropAmazon Bedrockknowledge-search65.4%20% alert threshold0%100%ILLUSTRATIVE MODEL USAGE

Your agent can keep returning answers while you pay to reprocess its shared prompt prefix. Across several models, a healthy fleet average can hide one deployment with low cache reuse.

Prompt Caching Alerts in LiteLLM put model cache hit rates, daily trends, and low-cache warnings on the Usage page. Open a flagged model to inspect its recorded usage and available virtual keys, then check your provider's caching requirements.

Release availability

Available from source on LiteLLM main after PR #55251. Check the release notes before upgrading a packaged deployment.

Monetize Your AI Agent with LiteLLM Customer Management

Misbah Syed
DevRel Engineer, LiteLLM

LiteLLM Customer Management

Monetize your AI agent

Keep every customer's model cost under what they pay you.

Agent requestsMeters cost · Enforces capsPrepaid creditsAcme$100 credit packCustomer pays$100Model cost$39cap $6061%marginRequests flowingPer seatGlobex12 seats × $100Customer pays$1,200Model cost$430cap $72064%marginRequests flowingUsage-basedInitechModel cost × 1.3Customer pays$390Model cost$300cap $50023%marginRequests flowingIllustrative customers and amounts · margin before other expenses

Illustrative agent traffic flows through LiteLLM. Three customers on prepaid credits, per-seat, and usage plans each show what they paid, their model cost, and their margin. The prepaid customer reaches a $60 cap and its requests pause.

If you sell an AI agent to other companies, each request from your customers costs you money at the model provider. To monetize the agent, each customer must pay you more than the model cost of that customer. This post gives five frequent ways to charge for an agent. For each way, it shows the LiteLLM Customer Management controls that keep model spend below what the customer pays.

Introducing LiteLLM Customer Management

Ishaan Jaffer
CTO, LiteLLM
Moe Khalil
AI Product Engineer, LiteLLM
Kerry Lu
Member of Technical Staff, LiteLLM
Tin Lo
AI Product Engineer, LiteLLM

LiteLLM AI Gateway

Customer Management

Budget and charge your agent's customers.

Agent trafficAI GatewayMeter cost · Apply budgets{ } Usage APICustomer ManagementCustomer ManagementUsage chargesBudgetCustomer organizationAcme$750.00$1,000Customer teamSupport$192.00$250Customer memberAlice$39.00$50Same request. Three levels of attribution.Illustrative customer traffic · $0.50 per highlighted request

Illustrative customer traffic flows through LiteLLM into Customer Management. Organization, team, and member budgets use three views of the same request cost.

Today we're launching LiteLLM Customer Management for AI-native companies using the gateway. If you're building an agent on LiteLLM and need to track spend and set budget limits for your customers by their organizations, teams, and individual members, this is for you.