mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-29 21:08:47 -05:00
[GH-ISSUE #23139] issue: analytics uses 'input' and 'output' tokens but api return 'prompt' and 'completion' #123206
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Art-1313 on GitHub (Mar 27, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23139
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.8.12
Ollama Version (if applicable)
No response
Operating System
macos
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When token count occurs in analytics prompt and completion token should be counted
Actual Behavior
Code is trying to count input and output tokens
Steps to Reproduce
try to get analytics and compare it with database
Logs & Screenshots
in open_webui.models.chat_messages
`
`
Additional Information
No response