openclaw - 💡(How to fix) Fix [Feature]: Add manual provider remaining-capacity fuel gauge to Control UI [2 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#75905Fetched 2026-05-03 04:44:25
View on GitHub
Comments
2
Participants
2
Timeline
2
Reactions
2
Author
Timeline (top)
commented ×2

Add a manual provider remaining-capacity “fuel gauge” to the Control UI before starting expensive agent work.

Problem to solve

When starting a potentially expensive agent run, the operator often needs to know whether the selected provider is comfortably available, close to a short-window cap, close to a weekly cap, or about to reset. Today that capacity information is not surfaced in the Control UI at the moment of decision, so users may start large work without knowing that a provider window is nearly exhausted.

Proposed solution

Expose a small manual “fuel gauge” affordance in the Control UI that fetches and displays provider-reported remaining capacity and reset windows.

Suggested constraints:

  • Manual refresh by default; no background polling.
  • No LLM/token spend just to check capacity.
  • Show source and confidence for every displayed provider value.
  • Prefer provider-reported usage/remaining-limit data.
  • Represent unavailable/stale data explicitly instead of hiding it.
  • Keep provider-specific details behind a normalized JSON shape.

Reference PoC:

https://github.com/lencon14/openclaw-fuel-gauge-poc

Current PoC sources:

  • OpenClaw provider usage via openclaw status --usage --json
  • Claude Code via Claude Code's OAuth usage endpoint

Current PoC UI surfaces:

  • Gateway-authenticated JSON route
  • Standalone mini panel
  • Control UI userscript/bookmarklet overlay with a manual ⛽ Limits button

Alternatives considered

  • Standalone plugin only: useful for experimentation, but easy to miss and not integrated at the decision point.
  • Persistent always-on usage display: useful for some users, but can create noise and may encourage polling. A manual refresh seems safer as the default.
  • Provider-specific one-off UI: works initially, but does not establish a common shape for future providers.

Impact

Affected users/systems/channels:

  • Operators using OpenClaw with provider plans that have short-window or weekly limits.
  • Users launching expensive coding/agent tasks from the Control UI.
  • Multi-provider setups where the best model choice depends on current remaining capacity.

Severity:

  • Medium. It does not block existing work, but it can prevent avoidable failed/degraded runs and manual provider checking.

Frequency:

  • Recurs whenever an operator is about to launch a large agent run near usage limits.

Consequence:

  • Less guesswork before expensive runs.
  • Fewer starts during near-exhausted windows.
  • Better model/provider selection based on current capacity.

Evidence/examples

Reference screenshot and implementation:

https://github.com/lencon14/openclaw-fuel-gauge-poc

Related issues I found while checking for overlap:

  • #46398 — persistent token usage indicator in Control UI / WebChat
  • #56047 — expose Anthropic unified rate-limit headers in session status / API
  • #67593 — provider usage and balance display for Kimi/Moonshot

This request is narrower/different: a manual, decision-point remaining-capacity gauge for provider windows, with explicit source/confidence labeling.

Additional information

The PoC intentionally avoids modifying OpenClaw core files or dist/control-ui. It is meant as a reference implementation for the UX/API shape rather than a finished product.

Open questions:

  • Should this live in Control UI core, a first-class plugin surface, or both?
  • What should the canonical JSON shape be?
  • How should unavailable/stale provider data be represented?
  • Which providers can expose reliable provider-reported remaining-limit data?

Root Cause

Add a manual provider remaining-capacity “fuel gauge” to the Control UI before starting expensive agent work.

Problem to solve

When starting a potentially expensive agent run, the operator often needs to know whether the selected provider is comfortably available, close to a short-window cap, close to a weekly cap, or about to reset. Today that capacity information is not surfaced in the Control UI at the moment of decision, so users may start large work without knowing that a provider window is nearly exhausted.

Proposed solution

Expose a small manual “fuel gauge” affordance in the Control UI that fetches and displays provider-reported remaining capacity and reset windows.

Suggested constraints:

  • Manual refresh by default; no background polling.
  • No LLM/token spend just to check capacity.
  • Show source and confidence for every displayed provider value.
  • Prefer provider-reported usage/remaining-limit data.
  • Represent unavailable/stale data explicitly instead of hiding it.
  • Keep provider-specific details behind a normalized JSON shape.

Reference PoC:

https://github.com/lencon14/openclaw-fuel-gauge-poc

Current PoC sources:

  • OpenClaw provider usage via openclaw status --usage --json
  • Claude Code via Claude Code's OAuth usage endpoint

Current PoC UI surfaces:

  • Gateway-authenticated JSON route
  • Standalone mini panel
  • Control UI userscript/bookmarklet overlay with a manual ⛽ Limits button

Alternatives considered

  • Standalone plugin only: useful for experimentation, but easy to miss and not integrated at the decision point.
  • Persistent always-on usage display: useful for some users, but can create noise and may encourage polling. A manual refresh seems safer as the default.
  • Provider-specific one-off UI: works initially, but does not establish a common shape for future providers.

Impact

Affected users/systems/channels:

  • Operators using OpenClaw with provider plans that have short-window or weekly limits.
  • Users launching expensive coding/agent tasks from the Control UI.
  • Multi-provider setups where the best model choice depends on current remaining capacity.

Severity:

  • Medium. It does not block existing work, but it can prevent avoidable failed/degraded runs and manual provider checking.

Frequency:

  • Recurs whenever an operator is about to launch a large agent run near usage limits.

Consequence:

  • Less guesswork before expensive runs.
  • Fewer starts during near-exhausted windows.
  • Better model/provider selection based on current capacity.

Evidence/examples

Reference screenshot and implementation:

https://github.com/lencon14/openclaw-fuel-gauge-poc

Related issues I found while checking for overlap:

  • #46398 — persistent token usage indicator in Control UI / WebChat
  • #56047 — expose Anthropic unified rate-limit headers in session status / API
  • #67593 — provider usage and balance display for Kimi/Moonshot

This request is narrower/different: a manual, decision-point remaining-capacity gauge for provider windows, with explicit source/confidence labeling.

Additional information

The PoC intentionally avoids modifying OpenClaw core files or dist/control-ui. It is meant as a reference implementation for the UX/API shape rather than a finished product.

Open questions:

  • Should this live in Control UI core, a first-class plugin surface, or both?
  • What should the canonical JSON shape be?
  • How should unavailable/stale provider data be represented?
  • Which providers can expose reliable provider-reported remaining-limit data?
RAW_BUFFERClick to expand / collapse

Summary

Add a manual provider remaining-capacity “fuel gauge” to the Control UI before starting expensive agent work.

Problem to solve

When starting a potentially expensive agent run, the operator often needs to know whether the selected provider is comfortably available, close to a short-window cap, close to a weekly cap, or about to reset. Today that capacity information is not surfaced in the Control UI at the moment of decision, so users may start large work without knowing that a provider window is nearly exhausted.

Proposed solution

Expose a small manual “fuel gauge” affordance in the Control UI that fetches and displays provider-reported remaining capacity and reset windows.

Suggested constraints:

  • Manual refresh by default; no background polling.
  • No LLM/token spend just to check capacity.
  • Show source and confidence for every displayed provider value.
  • Prefer provider-reported usage/remaining-limit data.
  • Represent unavailable/stale data explicitly instead of hiding it.
  • Keep provider-specific details behind a normalized JSON shape.

Reference PoC:

https://github.com/lencon14/openclaw-fuel-gauge-poc

Current PoC sources:

  • OpenClaw provider usage via openclaw status --usage --json
  • Claude Code via Claude Code's OAuth usage endpoint

Current PoC UI surfaces:

  • Gateway-authenticated JSON route
  • Standalone mini panel
  • Control UI userscript/bookmarklet overlay with a manual ⛽ Limits button

Alternatives considered

  • Standalone plugin only: useful for experimentation, but easy to miss and not integrated at the decision point.
  • Persistent always-on usage display: useful for some users, but can create noise and may encourage polling. A manual refresh seems safer as the default.
  • Provider-specific one-off UI: works initially, but does not establish a common shape for future providers.

Impact

Affected users/systems/channels:

  • Operators using OpenClaw with provider plans that have short-window or weekly limits.
  • Users launching expensive coding/agent tasks from the Control UI.
  • Multi-provider setups where the best model choice depends on current remaining capacity.

Severity:

  • Medium. It does not block existing work, but it can prevent avoidable failed/degraded runs and manual provider checking.

Frequency:

  • Recurs whenever an operator is about to launch a large agent run near usage limits.

Consequence:

  • Less guesswork before expensive runs.
  • Fewer starts during near-exhausted windows.
  • Better model/provider selection based on current capacity.

Evidence/examples

Reference screenshot and implementation:

https://github.com/lencon14/openclaw-fuel-gauge-poc

Related issues I found while checking for overlap:

  • #46398 — persistent token usage indicator in Control UI / WebChat
  • #56047 — expose Anthropic unified rate-limit headers in session status / API
  • #67593 — provider usage and balance display for Kimi/Moonshot

This request is narrower/different: a manual, decision-point remaining-capacity gauge for provider windows, with explicit source/confidence labeling.

Additional information

The PoC intentionally avoids modifying OpenClaw core files or dist/control-ui. It is meant as a reference implementation for the UX/API shape rather than a finished product.

Open questions:

  • Should this live in Control UI core, a first-class plugin surface, or both?
  • What should the canonical JSON shape be?
  • How should unavailable/stale provider data be represented?
  • Which providers can expose reliable provider-reported remaining-limit data?

extent analysis

TL;DR

Implement a manual "fuel gauge" in the Control UI to display provider-reported remaining capacity and reset windows, allowing operators to make informed decisions before starting expensive agent runs.

Guidance

  • Integrate the "fuel gauge" feature into the Control UI, potentially as a first-class plugin surface, to provide a standardized and easily accessible interface for operators.
  • Define a canonical JSON shape for provider-reported usage and remaining-limit data to ensure consistency across different providers.
  • Develop a strategy for representing unavailable or stale provider data, such as displaying a "unknown" or "outdated" indicator, to avoid hiding important information.
  • Investigate which providers can expose reliable remaining-limit data and prioritize integration with those providers.

Example

No code snippet is provided as the issue focuses on the design and implementation of the "fuel gauge" feature rather than a specific code solution.

Notes

The implementation should avoid modifying OpenClaw core files or dist/control-ui to ensure a clean and maintainable solution. The PoC implementation serves as a reference for the UX/API shape, but further development is needed to finalize the feature.

Recommendation

Apply a workaround by integrating the "fuel gauge" feature into the Control UI as a plugin surface, allowing for a standardized and accessible interface for operators to check provider capacity before starting expensive agent runs. This approach enables a more informed decision-making process and reduces the risk of starting large work without knowing the provider's capacity.

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