-
Notifications
You must be signed in to change notification settings - Fork 693
Description
Hi there! First of all, thank you for building and maintaining this amazing tool.
I am writing to report a potential bug regarding token consumption tracking. Today, my CodexBar dashboard displayed an incredibly high usage: 2.8B tokens in a single day, with an estimated cost of $1,547.13 (primarily from gpt-5.4, as shown in the screenshot).
In reality, I have only used about 70% of the weekly quota on my OpenAI Team account today, so my actual usage is nowhere near this number. I suspect there might be a miscalculation or a loop in the token counting logic.
Context & Usage Pattern
To help with debugging, here is my specific usage pattern over the last two days, which might have triggered this behavior:
- Operating Mode: Codex Sub Agent mode
- Main Agent:
gpt-5.4 - Sub Agent:
gpt-5.4-mini - Reasoning Effort:
xhigh - Workflow: All my conversations were continuously conducted within a single, long-running session on the Main Agent.
Expected behavior
I'm wondering if using the Sub Agent mode combined with a very long context session and xhigh reasoning might be causing the app to repeatedly count the historical context. It would be greatly appreciated if you could look into this when you have time.
Screenshots
Environment
- OS: macOS Tahoe 26.2
- CodexBar Version: 0.18.0 (52)
- Codex App Version: 26.317.21539 (1088)
Thank you for your time and help!