DEV Community

Cover image for I built a terminal cockpit to see what my AI coding agents actually cost
Minchul Shin
Minchul Shin

Posted on

I built a terminal cockpit to see what my AI coding agents actually cost

demo

I use Claude Code, Codex, and Gemini every day.

One morning I realized I had no idea what any of it was costing me.

Each vendor only shows its own usage dashboard, and most third-party tools wanted me to upload logs somewhere.

Hard pass.

So I built agent-cockpit β€” a terminal dashboard that reads the logs these tools already write to your machine and turns them into a live view of token usage, costs, and trends.

It's completely local:

  • Read-only
  • No uploads
  • No API keys
  • No daemon

A single CGO-free Go binary (~6 MB).

No Node. No Bun. No Python.

Currently supports:

  • Claude Code
  • Codex
  • Gemini

Repo: https://github.com/nashory/agent-cockpit

I'd love feedback on what agents or metrics I should support next.

Top comments (0)