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

Yanyutin753/OpenWebUI-Monitor

 
 

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
INIT_BALANCE Initial user balance 0

Gallery

Gallery Image 1
Gallery Image 2
Gallery Image 3
Gallery Image 4
Gallery Image 5

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • TypeScript 91.9%
  • Python 4.7%
  • CSS 1.5%
  • Other 1.9%