[GH-ISSUE #24217] issue: Responses API models usage always be 0 in admin analytics panel #58899

Closed
opened 2026-05-06 00:22:54 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @AlexZhuo on GitHub (Apr 29, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24217

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

Docker

Open WebUI Version

0.9.2

Ollama Version (if applicable)

No response

Operating System

docker

Browser (if applicable)

Chrome 147

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 model's token usage from the OpenAI Responses API shown in analytics panel should be the correct ones , NOT ZERO, as shown at the bottom of the conversation .

Actual Behavior

The model's token usage from the OpenAI Responses API always be 0 in admin analytics panel Model Usage table

Image

Steps to Reproduce

  1. open admin/settings/connections
  2. add model with Provider Type = OpenAI and API type = Responses
  3. chat with the model
  4. open /admin/analytics and check Model Usage table
  5. the TOKENS column in table always be 0

Logs & Screenshots

Image Image

Additional Information

No response

Originally created by @AlexZhuo on GitHub (Apr 29, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/24217 ### 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 Docker ### Open WebUI Version 0.9.2 ### Ollama Version (if applicable) _No response_ ### Operating System docker ### Browser (if applicable) Chrome 147 ### 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 model's token usage from the OpenAI Responses API shown in analytics panel should be the correct ones , NOT ZERO, as shown at the bottom of the conversation . ### Actual Behavior The model's token usage from the OpenAI Responses API always be 0 in admin analytics panel Model Usage table <img width="714" height="553" alt="Image" src="https://github.com/user-attachments/assets/299c612f-4018-43b3-8e2e-f7c06d8ef3a9" /> ### Steps to Reproduce 1. open admin/settings/connections 2. add model with Provider Type = OpenAI and API type = Responses 3. chat with the model 4. open /admin/analytics and check Model Usage table 5. the TOKENS column in table always be 0 ### Logs & Screenshots <img width="475" height="245" alt="Image" src="https://github.com/user-attachments/assets/3c96edc0-31ca-4e0c-928d-e87c141f56cd" /> <img width="714" height="553" alt="Image" src="https://github.com/user-attachments/assets/299c612f-4018-43b3-8e2e-f7c06d8ef3a9" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-06 00:22:54 -05:00
Author
Owner

@Classic298 commented on GitHub (May 4, 2026):

likely fixed by 989d5fd4e2 and a32d26e61d

Testing wanted on dev

<!-- gh-comment-id:4374928799 --> @Classic298 commented on GitHub (May 4, 2026): likely fixed by https://github.com/open-webui/open-webui/commit/989d5fd4e2ce285edf4475a1e13f0981a78d3821 and https://github.com/open-webui/open-webui/commit/a32d26e61d24d9f63650faed5cb8909ed90af661 Testing wanted on dev
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58899