whereismyai
Costcatch
Costcatch is a developer tool that records and traces AI agent API calls, token usage, costs, and execution steps from outside the code.
Costcatch runs AI agents and records every LLM API call from outside the code. It intercepts traffic for Node.js and Python environments, capturing URLs, requests, responses, status, and timing into a temporary local file. Users can trace standalone scripts, servers, or entire applications like Express or FastAPI without adding SDKs or changing base URLs. It displays live terminal views of calls, tokens, and costs, then generates step-by-step traces with warnings for loops, retries, and failures. It runs entirely on the local machine and never reads request headers or API keys.
Costcatch at a glance
- Best for: Software engineer
- Runs on: Web, Node.js, Python, CLI, self-hosted, open source
- Pricing: Free
- Released: November 2026
- Category: AI agent tool
- Website: github.com/ronakrahane/costcatch
Key features
- Records every LLM API call from outside the code
- Displays live terminal views of active and completed calls
- Calculates token counts and costs for each step
- Detects agent loops, retries, and cut-off answers
- Tracks tool results, sizes, and execution errors
- Compares runs and supports CI integration gates
- Patches Node.js http, https, and fetch automatically
- Patches Python httpx, urllib3, and related SDKs
Use it for
- Debugging failed AI agent steps and error messages
- Tracing costs and token usage across entire applications
- Identifying oversized tool results bloating prompt sizes
- Running CI checks for cost, calls, and errors
- Detecting agent retry loops and rate limits
Alternatives to Costcatch
- AgentsView — It keeps your AI coding session archive local by default while tracking costs and activity.
- AgentOps — Track token usage, costs, and traces across 400 plus LLMs and agent frameworks.
- Tallyhook Collector — Calculates exact AI coding agent costs locally and groups them for client invoicing.
- Ctxvitals — Measures exact token costs and security risks before agent launch.
- TokenTracker — Monitor AI spending across 43 coding tools in one local, private dashboard.
- APIStack — Connect AI agents to over 100 tools using one API key or a single MCP endpoint.
- Free Developer Tool — Calculates token counts and estimates LLM API costs locally in the browser.
- LLM Cost Firewall — Catches infinite tool loops and stops budget overruns instantly.
- Agentfork — It replays steps from cache and runs sweeps to provide pass rates instead of anecdotes.
- Asitis Agent Tools — Checks token budgets, hidden content, and rule drift across steering files safely.
- Cost X-Ray — It prices usage below the tool level by analyzing raw API request bytes.
- AgentTrafficCop — Stops infinite loops and runaway API costs in multi-agent systems.
All Costcatch alternatives