Agent Cost Log
com.botrecipe/costlog
Cost per run, tool, model and day for AI agents, from one call or an OpenTelemetry export.
This endpoint completed initialize and tools/list. No tool was called.
- Rank
- #1027
- Score
- 82
- Tool tokens
- 685
- Tools
- 4
Tools
Token cost is the o200k count of the tools list JSON, including schemas, before any tool is called.
log_costs
Log what your agent's model and tool calls cost, then get the running total for the run and for today. Pass events (one per call, up to 500) or an OpenTelemetry OTLP/JSON trace export as otel (gen_ai.
cost_report
Cost per run, per tool, per model and per day. Without an API key pass run_id (one run). With a key: everything on that key. Free shows 7 days, Pro 30.
weekly_report
Plain-English summary of the last 7 days of spend: total, top runs, top tools, top models, busiest day. Read-only; sends nothing. Needs a free API key.
usage_and_upgrade
Show today's usage for your key or IP and the $9/month upgrade link. Free tier: 500 calls/day. Not metered.
Nearby in Observability
LLM Orchestration Agent (Opentelemetry Api)
LLM Orchestration Agent (Opentelemetry Instrumentation Fastapi)
Monitor infrastructure, manage agents and deployments, track metrics, logs, and events
Manage dashboards, users, teams, alerts, data sources, and access control