PER-USER COST CONTROL FOR LLM APPS · EARLY ACCESS

Your LLM bill
stops where you say.

Per-user budget caps enforced before the call fires — not discovered on the invoice.
Three lines of Python. Audit trail and compliance report included.

REQUEST API KEY →VIEW DOCS
3
lines to integrate
€19
starting price / month
HMAC
signed budget webhooks
MIT
open-source SDK
your_app.py
# Before: 3 weeks of custom metering code. After: 3 lines.

from projectblock import gate, record

# 1. Check budget before LLM call
await gate("usr_123", budget_usd=5.00)

# 2. Your LLM call (unchanged)
response = await openai.chat("gpt-4o", messages)

# 3. Meter + Audit
await record(user_id="usr_123", model="gpt-4o", cost=0.0023)
↳ WHAT THE AUDIT LOG LOOKS LIKE

Every event. Captured.

AUDIT STREAM · SAMPLE OUTPUTSAMPLE
TIMEUSERACTION · MODELCOSTSTATUS
3
Lines of code to integrate
80/95/100%
Budget alert thresholds
Art. 12
EU AI Act audit report
MIT
Open-source Python SDK
↳ PRIMITIVES

Two modules. Zero bloat.

Usage Metering
Track tokens, cost, requests per user with atomic counters. Never let free-tier users drain your budget.
meter.*
🛡️
Budget Gate
Budget checked before the request reaches your LLM. Over budget, no call fires, no cost incurred.
gate.allowed()
📋
Audit Trail
Append-only log of every AI action: input hash, output hash, model, cost, approval status.
audit.log()
🇪🇺
EU AI Act Ready
Auto-generated compliance reports. GDPR + audit retention solved architecturally — not as afterthought.
compliance.*
📊
Embeddable Widget
A script tag drops a usage panel inside your app. Your users see their own consumption.
widget.js
🔔
Budget Alerts
HMAC-signed webhooks at 80%, 95% and 100% of budget. Point them at Slack, your backend, anything.
webhooks.*
↳ INTEGRATION

Live in one afternoon.

01
Install the SDK
Python 3.9+. LangChain callback handler included.
pip install projectblock
02
Gate every AI call
Check budget before your LLM call. If over budget, throws — no call made, no cost incurred.
await gate("usr_123", budget_usd=5.00)
03
Record + Audit
After the call, record consumption and log the event. Two lines. Both async.
await record(user_id, tokens=usage.total, cost=0.0023)
04
Export compliance
One API call generates EU AI Act compliance PDF for any time range.
curl api.project-block.com/compliance/report -H "X-API-Key: pb_..."
↳ PRICING

Pay for what you use.

FREE
€0/mo
500K events/mo
  • Budget gating
  • Audit log (30 days)
  • Dashboard embed
  • Community support
Start free
STARTER
€19/mo
10M events/mo
  • Budget gating
  • Audit log (1 year)
  • Budget webhooks
  • Usage analytics
  • Email support
Get started
PRO
€49/mo
100M events/mo
  • Everything in Starter
  • Audit log (10 years)
  • EU AI Act reports
  • API access
  • Priority support
Get started
BUSINESS
€199/mo
High volume
  • Everything in Pro
  • White-label dashboard
  • Custom retention
  • Priority support
Talk to us
↳ EARLY ACCESS

Stop rebuilding
the same infrastructure.

Every week you delay is another week of custom metering code, compliance risk, and budget leaks.
First 100 founders get Pro free for 6 months.