Skip to content

A dashboard for tracking user activity and enforcing usage limits in OpenWebUI. Set user quotas efficiently.

License

Notifications You must be signed in to change notification settings

xun666/OpenWebUI-Monitor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenWebUI Monitor

English / 简体中文

A monitoring dashboard for OpenWebUI that tracks usage and manages user balances. Simply add a function to OpenWebUI to view user activity and balances in a unified panel.

Features

  • Set prices for each model in OpenWebUI;
  • Set balance for each user, deduct based on token consumption and model prices, with notifications at the end of each chat;
  • View user data and visualizations;
  • One-click test for all model availability.

Deployment

Supports one-click deployment on Vercel Deploy on Vercel and Docker deployment. See Deployment Guide for details.

Updates

Vercel deployments will update automatically. If there are issues, you can manually sync fork in your forked repository. For Docker, simply pull the latest image and restart the container:

sudo docker compose pull
sudo docker compose up -d

Environment Variables

Required

Variable Name Description Example
OPENWEBUI_DOMAIN OpenWebUI domain https://chat.example.com
OPENWEBUI_API_KEY OpenWebUI API Key, found in Personal Settings -> Account -> API Key sk-xxxxxxxxxxxxxxxx
API_KEY For API request verification your-api-key-here
ACCESS_TOKEN For page access verification your-access-token-here

Optional

Variable Name Description Default Value
DEFAULT_MODEL_INPUT_PRICE Default model input price, in USD per million tokens 60
DEFAULT_MODEL_OUTPUT_PRICE Default model output price, in USD per million tokens 60
DEFAULT_MODEL_PER_MSG_PRICE Default model price for each message, in USD -1
INIT_BALANCE Initial user balance 0

Gallery

image

About

A dashboard for tracking user activity and enforcing usage limits in OpenWebUI. Set user quotas efficiently.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.6%
  • Python 6.3%
  • CSS 1.5%
  • Other 0.6%