Outcome based billing for AI agents
Measure agent performance, track outcomes and get paid.
Drop-in billing components for your AI app
Pre-built UI components that your customers can use to track outcomes, monitor spend, and understand ROI. Embed in minutes, customize to match your brand.
Real-time usage meter
Show customers exactly what they're paying for. Track outcomes, not just API calls. Update in real-time as your AI agents complete tasks.
Usage This Month
LiveInvoice #INV-2024-1247
Due November 15, 2025
Outcome-based invoicing
Generate invoices that clearly show the delivered value. Break down costs by outcome, not abstract metrics. Help customers understand exactly what they're paying for.
ROI & value tracking
Show customers the real value of your AI. Compare costs against human labor, time saved, and revenue generated. Make ROI crystal clear.
Value Generated vs. Cost
Current Spend
ActiveLive spend monitoring
Give customers full visibility into their spending as it happens. Set budgets, track projections, and get alerts before limits are reached.
Zenroc measures your agents and turns outcomes into billing
Capture outcomes, costs, and metrics for any agent. Node.js, Python, and Ruby supported.
import { createZenroc } from '@zenroc/sdk'
const zenroc = createZenroc({ apiKey: process.env.ZENROC_API_KEY! })
// Zenroc measures an agent run and captures its outcome for billing
const m = await zenroc.measure({
customerId: 'acme-123',
subjectAgentId: 'img-gen',
subjectRunId: 'run_42',
})
// Run your agent
await m.outcome({
status: 'success',
value: { url: 'https://cdn.example.com/out.png' },
vendor: { name: 'openai', model: 'gpt-4o-mini' },
metrics: { tokens: { input: 512, output: 128 } },
cost: { amount: 0.0019, currency: 'USD' },
})
// Send now (Zenroc also auto-flushes)
await m.flush()
Connect your entire revenue stack
Seamlessly integrate with the tools you already use for payments, taxes, and operations.
Stripe
GoCardless
Adyen
Anrok
Avalara
Salesforce
HubSpot
NetSuite
Xero
Need a custom integration? Let's talk
Frequently asked questions
Everything you need to know about AI cost tracking and billing.
Join the waitlist
Be first to know when Zenroc opens up.