A comprehensive cross-platform application to monitor usage, spend, and balance across multiple AI providers (OpenAI, Anthropic, OpenRouter).
- Desktop App (Tauri): macOS/Windows/Linux menubar app with local polling
- Mobile App (Flutter): iOS/Android app with push notifications
- Cloud Poller (Cloudflare Worker): Optional cloud service for reliable mobile alerts
AImonitor/
├── apps/
│ ├── desktop/ # Tauri desktop app (Rust + React)
│ ├── mobile/ # Flutter mobile app
│ └── cloud-poller/ # Cloudflare Worker
├── packages/
│ ├── shared/ # Shared utilities
│ └── types/ # TypeScript type definitions
└── package.json # Monorepo root
- ✅ Monitor multiple AI providers (OpenAI, Anthropic, OpenRouter)
- ✅ Real-time usage tracking (tokens, cost, balance)
- ✅ Desktop menubar/tray with quick stats
- ✅ Mobile dashboard with widgets
- ✅ Configurable budget alerts
- ✅ Secure API key storage (OS keychain)
- ✅ Historical data & export
- ✅ Push notifications for alerts
- Node.js 20+
- pnpm 9+
- Rust & Cargo
- Flutter SDK
- Tauri CLI
# Install dependencies
pnpm install
# Desktop app
cd apps/desktop
pnpm tauri dev
# Mobile app
cd apps/mobile
flutter run
# Cloud poller
cd apps/cloud-poller
pnpm devcd apps/desktop
pnpm tauri buildcd apps/mobile
# iOS
flutter build ios
# Android
flutter build apkcd apps/cloud-poller
pnpm deployAPI keys are stored securely in the OS keychain. Add providers through the UI.
Configure providers in Settings. Enable push notifications for alerts.
Update wrangler.toml with your Cloudflare credentials and deploy.
- API keys stored in OS keychain (desktop) or secure storage (mobile)
- No plaintext secrets on disk
- TLS 1.2+ for all API communications
- Optional self-hosted cloud poller for privacy
MIT