[GH-ISSUE #23329] issue: Dashboard shows 0 token usage for all models and users #58616

Closed
opened 2026-05-05 23:33:24 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @c7934597 on GitHub (Apr 2, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23329

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v0.8.12

Ollama Version (if applicable)

No response

Operating System

Windows 11 WSL2

Browser (if applicable)

Chrome 146.0.7680.165

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

The dashboard should display the correct token usage for each model and user after chat activity is generated.

Actual Behavior

The dashboard records message counts, but the TOKEN count remains 0 for all models and users. Token usage is not displayed or not being calculated correctly in the dashboard.

Steps to Reproduce

Prerequisites:

  • A working Open WebUI installation
  • At least 1 connected model that can successfully respond in chat
  • Access to the dashboard page that shows Model Usage and User Activity

Steps to reproduce:

  1. Start Open WebUI.
  2. Log in to the web interface.
  3. Create a new chat.
  4. Select any available model.
  5. Send multiple prompts and wait for each response to finish.
  6. Repeat this with the same model or with different models to generate more usage data.
  7. Open the dashboard page.
  8. Review the Model Usage section.
  9. Review the User Activity section.
  10. Check the TOKEN count values.

Observed during reproduction:

  • Message counts are recorded
  • TOKEN count remains 0
  • Token usage is not shown correctly in the dashboard

Logs & Screenshots

Image

Additional Information

This issue appears to affect token tracking, token aggregation, or token display in the dashboard UI.

Originally created by @c7934597 on GitHub (Apr 2, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/23329 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v0.8.12 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11 WSL2 ### Browser (if applicable) Chrome 146.0.7680.165 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior The dashboard should display the correct token usage for each model and user after chat activity is generated. ### Actual Behavior The dashboard records message counts, but the TOKEN count remains 0 for all models and users. Token usage is not displayed or not being calculated correctly in the dashboard. ### Steps to Reproduce Prerequisites: - A working Open WebUI installation - At least 1 connected model that can successfully respond in chat - Access to the dashboard page that shows Model Usage and User Activity Steps to reproduce: 1. Start Open WebUI. 2. Log in to the web interface. 3. Create a new chat. 4. Select any available model. 5. Send multiple prompts and wait for each response to finish. 6. Repeat this with the same model or with different models to generate more usage data. 7. Open the dashboard page. 8. Review the Model Usage section. 9. Review the User Activity section. 10. Check the TOKEN count values. Observed during reproduction: - Message counts are recorded - TOKEN count remains 0 - Token usage is not shown correctly in the dashboard ### Logs & Screenshots <img width="1495" height="266" alt="Image" src="https://github.com/user-attachments/assets/e376a8b4-cb06-4068-8f5d-a2cfc0493855" /> ### Additional Information This issue appears to affect token tracking, token aggregation, or token display in the dashboard UI.
GiteaMirror added the bug label 2026-05-05 23:33:24 -05:00
Author
Owner

@tjbck commented on GitHub (Apr 2, 2026):

You need to enable usage capability to track tokens.

<!-- gh-comment-id:4175113930 --> @tjbck commented on GitHub (Apr 2, 2026): You need to enable `usage` capability to track tokens.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58616