llmkit

v0.4.10
io.github.smigolsmigol/llmkit Checked 5 days ago Published 3 months ago

AI cost tracking: 11 tools for spend, budgets, and Claude Code + Cursor + Cline costs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

llmkit_usage_stats

Get usage statistics (spend, requests, top models) for a time period

ParameterTypeDescription
periodstringTime period

llmkit_cost_query

Query cost breakdown grouped by provider, model, session, or day

ParameterTypeDescription
groupBy *stringHow to group results
daysnumberDays to look back (default 30)
modelstringFilter by model
providerstringFilter by provider

llmkit_list_keys

List all API keys with status and creation date

llmkit_budget_status

Check budget limits and remaining balance

ParameterTypeDescription
budgetIdstringSpecific budget ID, or omit for all

llmkit_health

Check proxy health and response time

llmkit_session_summary

Get recent proxy sessions with cost, duration, and models used

ParameterTypeDescription
limitnumberNumber of sessions (default 10)
sessionIdstringSpecific session ID

llmkit_local_session

Current session cost across all detected AI coding tools (Claude Code, Cline). No API key needed.

llmkit_local_projects

Cumulative cost across all projects and sessions from all detected AI coding tools, ranked by spend.

llmkit_local_cache

Cache savings analysis across all detected AI coding tools. Shows how much prompt caching saved.

llmkit_local_forecast

Monthly cost projection based on local AI tool usage. Compares to Max subscription.

llmkit_local_agents

Subagent cost attribution for the current Claude Code session. Shows which agents cost the most.