No description
- Add google_tts/google_tts entry to models.yaml (16 USD/1M chars, WaveNet tier) - Add scripts/migrate_video_accessibility.py for historical data backfill: migrates 25 users and 103 jobs (Gemini + TTS usage records) from accessible_video MongoDB into cost tracker Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| backend | ||
| frontend | ||
| infra | ||
| scripts | ||
| sdk | ||
| .env.example | ||
| .gitignore | ||
| README.md | ||
AI Cost Tracker
Shared AI cost tracking service for Oliver Agency projects.
Tracks LLM usage costs across workspaces, teams, and projects. Provides a REST API for recording AI calls and an admin dashboard for analytics.
Stack
- Backend: FastAPI, MongoDB, Redis, Celery
- Frontend: React, Vite, TypeScript
- Auth: Azure AD SSO (+ dev login for local testing)
- Deploy: Docker Compose on optical-dev
Quick start
cp .env.example .env
# Fill in Azure AD credentials and secrets
docker compose -f infra/docker-compose.yml up -d
Admin UI: http://localhost:5174
API docs: http://localhost:8001/docs