What Tach is
Record AI coding tool usage and estimated cost on a server your organization runs. Learn how the server, web app and tools fit together.
Built from commit f569b4a on Nov 14, 2026
Tach records token usage and estimated cost by person, tool and model. It runs as one program on one server your organization operates. It never collects prompts, responses, messages, tool arguments or tool results. Usage measures resources, not work quality.
The server
The Rust program, tach-server, keeps one organization’s usage in a SQLite database on its own disk. The self-host installer runs it in a container on an Ubuntu 24.04 LTS VM, with HTTPS through Caddy and nightly database backups. The server uses your domain and SMTP relay. It needs no hosted database or source checkout.
The web app
Administrators read organization usage in Overview and Report, manage Users, and check Health. Members see their own usage in Receiving, manage their own Keys and connect computers in Setup. People sign in through email. Costs use provider-reported amounts when available, otherwise catalog prices. Missing prices stay missing. Estimated cost is not an invoice.
How tools send usage
Setup gives each person a command to connect their computer and checks which supported tools send usage. Claude Code, Codex and Cowork can also send usage directly over OpenTelemetry with an ingest key. Tach receives token counts and metadata such as the tool, model, time, computer and session identifiers. Receipts prevent a retried record from being counted twice.