Skip to content
reaatech

Files · Per-tenant LLM cost tracking and chargeback for vertical SaaS

80 (1 binary, 553.1 kB total)attempt 2

README.md·812 B·markdown
markdown
# Per-tenant LLM cost tracking and chargeback for vertical SaaS
 
> Attribute every LLM call to the right tenant and export cost data to your billing system.
 
A tutorialized reference solution from [reaatech.com](https://reaatech.com), demonstrating how to build production-grade AI systems with the `@reaatech/*` package family.
 
## Running locally
 
```bash
pnpm install
pnpm test            # vitest run with coverage
pnpm dev             # next dev
```
 
## Project layout
 
```
app/                  Next.js App Router pages + API routes
src/                  services, lib, adapters
tests/                vitest suite (mirrors src/)
packages/             API references for every dependency (read these first)
DEV_PLAN.md           build plan for this recipe
```
 
## License
 
MIT — see [LICENSE](./LICENSE).