cd /news/ai-tools/which-project-ate-my-claude-code-quo… · home › topics › ai-tools › article
[ARTICLE · art-150713] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Which project ate my Claude Code quota?

A developer added a "quota" command to Estela, an open-source CLI, that breaks down Claude Code and Codex token usage per project for the current 5-hour window and the week, reading local JSONL session logs from ~/.claude/projects/ and ~/.codex/sessions/ without sending data off the machine. The tool deliberately refuses to estimate remaining quota, since Anthropic and OpenAI do not publish plan limits, and instead compares the current week against the average of the previous four weeks. It is free, MIT-licensed, and installable via npx estela setup.

by read2 min views22 publishedOct 15, 2026

You're on a flat plan, it's mid-afternoon, and Claude Code tells you you've hit your limit. The usage screen confirms it. What it doesn't tell you is where it went.

If you work on one repo, that's annoying. If you work on four, or you launch subagents, it's the question that matters: which project used it?

So I added a command to [Estela](https://github.com/jdleonruiz/estela-cli), the open-source CLI I'm building: **estela quota**.

#

What it shows

  • Tokens per project for the current 5-hour window and forthis week (Monday to today, in your time zone).
  • Input, output, cache read and cache write as separate numbers, because they don't weigh the same.
  • This week against the average of your previous 4 weeks over the same stretch of days, so you can tell a heavy week from a normal one.
  • Claude Code and Codex shown separately: they draw on different quotas. There's also a --json flag for scripts, and the same breakdown is a card in the Summary tab of the local dashboard (estela web ).

What it refuses to do #

It never tells you how much you have left. Neither Anthropic nor OpenAI publish their plans' limits, so any "X tokens left" or "you'll run out on Thursday" would be a made-up number. On top of that, anything you use on claude.ai or on another machine counts against the same quota but never touches this disk. The 5-hour window is labeled as an estimate for the same reason: how its start gets rounded isn't public. I'd rather show real consumption with an honest caveat than a precise-looking countdown that's wrong.

Where the numbers come from #

Claude Code already writes every session to**~/.claude/projects/** as JSONL, and Codex to**~/.codex/sessions/** . Estela reads those files, dedupes repeated turns (Claude Code can write the same turn several times), and maps each session to a project by its working directory. Nothing leaves your machine. Copilot is left out of this view: its local logs don't record reliable token counts.

Try itnpx estela setup , thenestela quota . #

It's free, MIT, zero runtime dependencies. If you've ever burned through a limit and couldn't tell why, I'd like to hear what ate it. And if you find a case where the numbers look wrong, an issue onGitHub helps a lot.

── more in #ai-tools 4 stories · sorted by recency
── more on @estela 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/which-project-ate-my…] indexed:0 read:2min 2026-10-15 · —