Your agent works. Now make it earn.
The Problem
Powerful agent. No way to control costs or earn from it.
Your agent handles 20+ channels and calls multiple LLMs — but there's no built-in way to track spend, set limits, or charge your users.
API costs add up fast
Every message triggers LLM calls to Claude, GPT, or DeepSeek. With agents running across multiple channels 24/7, costs spiral without warning.
No per-user visibility
You can see your total API bill, but you can't tell which user, channel, or skill is driving the spend. You're flying blind.
You're leaving money on the table
People love your agent — but you have no credits, no pricing tiers, no Stripe integration. You're paying for their usage instead of earning from it.
How It Works
Add VLUNA to your agent in 3 steps
No rewrites. No new SDKs to learn. Just plug in and start tracking.
Authorize before each call
Before any LLM call, VLUNA checks if the user has enough credits. If not, the call is blocked — no surprise bills.
Commit actual usage
After the call completes, VLUNA records actual token usage — input, output, and cached — and deducts credits based on real consumption.
Add credits & Stripe
Set up plans, fund wallets with credit grants, and connect Stripe. Users buy credits, use your agent, and top up when they run out.
Control costs. Monetize usage. Grow revenue.
Everything you need to turn your AI agent from a cost center into a paid product.
Multi-model cost tracking
Track costs across Claude, GPT, DeepSeek, Gemini, and any model your agent routes to. See exactly where every dollar goes.
Per-user metering
Know which user, channel, or AgentSkill is driving spend. Break down costs by WhatsApp, Telegram, Slack — wherever your agent runs.
Credit-based pricing
Give each user a credit balance. Credits deplete based on real usage. Set free tiers, paid plans, and hard limits — all configurable.
Usage gating
Automatically block or throttle usage when credits run out. No unexpected bills, no overages, no surprises for you or your users.
Build-in Stripe payments
Connect Stripe in minutes. Users can buy credits, subscribe to plans, or top up — all handled automatically by VLUNA.
Revenue intelligence
See profit per user, cost per action, and revenue trends in real time. Know exactly which users and features are profitable.
Integration
Authorize. Execute. Commit.
Three steps around your existing LLM calls. VLUNA handles the rest.
import { createServiceClient } from '@vluna/sdk'
const vluna = createServiceClient(/* config */)
// 1. Authorize — check credits before expensive work
const authz = await vluna.s2s.gate.authorize({
feature_code: 'openai.gpt5',
feature_family_code: 'llm.standard',
estimated_quantity_minor: '1200',
}, { principalId: user.id, idempotencyKey: 'ik_auth_001' })
// 2. Execute — run the model call
const response = await llm.chat({
model: "claude-sonnet-4-20250514",
messages: userMessages
})
// 3. Commit — record actual usage, deduct credits
await vluna.s2s.gate.commit({
lease_token: authz.data.lease_token,
feature_code: 'openai.gpt5',
quantity_minor: '1200',
meters: [\
{ meter_code: 'openai.gpt5.tokens.input', quantity_minor: '800' },\
{ meter_code: 'openai.gpt5.tokens.output', quantity_minor: '400' },\
],
}, { principalId: user.id, idempotencyKey: 'ik_commit_001' })
// Done. Authorized, metered, and committed.
Stop paying for your users. Start earning from them.
Add cost tracking, credit-based pricing, and Stripe payments to your OpenClaw agent. Free to start, no credit card required.