openclaw - 💡(How to fix) Fix session_status displays "?" instead of "0" for token usage in fresh sessions [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#78654Fetched 2026-05-07 03:34:18
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Author
Timeline (top)
closed ×1commented ×1
RAW_BUFFERClick to expand / collapse

Problem

When running /status or session_status, the token usage context line shows ?/120k instead of 0/120k when the session has not consumed any tokens yet (fresh session or just after gateway restart).

Expected

📚 Context: 0/120k (0%)

Actual

📚 Context: ?/120k (0%)

Steps to reproduce

  1. Fresh session or gateway restart
  2. Run /status or session_status
  3. Token usage shows ?/120k instead of 0/120k

Environment

  • OpenClaw: 2026.5.6
  • Model: local-llama/Qwen3.6
  • Context window: 119808 tokens

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix session_status displays "?" instead of "0" for token usage in fresh sessions [1 comments, 2 participants]