Codex Desktop macOS Profile Usage Statistics Not Updating

Open 💬 4 comments Opened Jun 1, 2026 by ryxncodes

What version of the Codex App are you using (From “About Codex” dialog)?

26.527.31326

What subscription do you have?

Plus

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

Codex Desktop Profile usage stats appear stale or incomplete after the 26.527 app update.

The Profile page shows usage stats, but they do not match recent local Codex usage recorded by the app. I have been actively using Codex for several days, and local usage is being recorded, but the Profile/token activity page shows very little recent activity.

Current Profile page values:

  • Lifetime tokens: 340.5M
  • Peak tokens: 71.8M
  • Longest task: 23m 30s
  • Current streak: 6 days
  • Longest streak: 14 days

Local Codex data shows recent usage exists:

Local ~/.codex/state_5.sqlite threads:
17 threads
190,694,514 total local tokens
first thread: 2026-05-25 21:43:40
latest update: 2026-05-31 21:59:44

Recent local daily totals:
2026-05-31: 3 threads, 46,111,470 tokens
2026-05-30: 4 threads, 55,470,571 tokens
2026-05-29: 4 threads, 10,503,735 tokens
2026-05-28: 1 thread, 20,226,034 tokens
2026-05-27: 3 threads, 30,038,778 tokens
2026-05-26: 1 thread, 27,852,511 tokens
2026-05-25: 1 thread, 491,415 tokens

A read-only check of the profile stats endpoint returns values matching the stale UI:

{
  "lifetime_tokens": 340531022,
  "peak_daily_tokens": 71760229,
  "longest_running_turn_sec": 1410,
  "current_streak_days": 6,
  "longest_streak_days": 14,
  "bucket_count": 25,
  "last_buckets": [
    { "start_date": "2026-05-25", "tokens": 1157015 },
    { "start_date": "2026-05-26", "tokens": 29070753 },
    { "start_date": "2026-05-27", "tokens": 36061356 },
    { "start_date": "2026-05-28", "tokens": 22154643 },
    { "start_date": "2026-05-29", "tokens": 12789459 },
    { "start_date": "2026-05-30", "tokens": 76450 }
  ]
}

The mismatch is especially visible on 2026-05-30:
Local Codex recorded: 55,470,571 tokens
Profile API bucket: 76,450 tokens
The profile API also does not show a 2026-05-31 bucket yet, despite active usage on that date.

What steps can reproduce the bug?

1. Update/open Codex Desktop 26.527.31326 on macOS.
2. Sign in with a ChatGPT Plus account.
3. Use Codex actively across several local threads.
4. Open Settings → Profile.
5. Observe that lifetime stats and token activity do not reflect recent local usage.
6. Compare the Profile page with local Codex thread usage recorded in `~/.codex/state_5.sqlite`.
7. Optionally compare with the profile stats response from `/backend-api/wham/profiles/me`.

The UI appears to match the stale server response, so this does not look like only a local UI rendering issue.

<img width="811" height="280" alt="Image" src="https://github.com/user-attachments/assets/f7f8cd4c-f15d-4be4-bd21-febc34ce3653" />

What is the expected behavior?

The Codex Profile page should update token activity and usage stats based on recent Codex usage, or clearly explain if these stats are delayed, sampled, exclude certain local sessions, or use a different accounting method than local recorded thread token totals.

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗