A balance for every customer.
Your workspace holds the credit pool. Each customer gets a balance inside it, and your server names them on each call.
your-apppool 250,000 cr
- user_4824,210 cr
- user_107980 cr
- user_31112,400 cr
- sandboxtest calls, 0 cr
3,960 APIs. One integration. Your price.
30 provider cost+20% your markup=36 cr charged to user_482
| Customer | Tool | Base | +20% | Charged |
|---|---|---|---|---|
| user_482 | 30 | +6 | 36 cr | |
| user_107 | 15 | +3 | 18 cr | |
| user_311 | 10 | +2 | 12 cr | |
| user_482 | 5 | +1 | 6 cr | |
| Your margin | +12 cr | |||
Top up once. Give credits to customers as you choose.
Keep your billing. Credit customers after they pay you.
They buy credits in the widget. Your margin pays out after a 30-day hold.
Balances, keys, limits and reports for every customer. Your server stays the only place that talks to Locus.
Your workspace holds the credit pool. Each customer gets a balance inside it, and your server names them on each call.
your-apppool 250,000 cr
Each credential reaches only what it needs.
lcr_Server keyYour backend. Calls, balances, allocations.lcrpk_Publishable keyThe browser widget. Cannot call tools alone.tokenEnd-user tokenOne customer. Their balance only.lcac_Agent ConnectionOne agent. Allowed tools and limits.lcrsb_Sandbox keyTests. No providers, no charges.Each agent gets allowed tools, a max per call and a run budget. A blocked call never reaches the provider.
Add your HTTP service with its credential and a price. Agents find it next to the catalog, and it bills through the same ledger.
Activity traces each charge to a customer, agent, provider and endpoint.
Signed, retried up to 7 times and ordered by sequence.
import { LocusCredits } from '@withlocus/credits';
const credits = new LocusCredits(
process.env.LOCUS_CREDITS_SECRET_KEY,
);
const res = await credits.callJson(
'tavily/search',
{ query },
{ user: 'user_482' },
);
// what this customer paid, and what they have left
res.cost.credits;
res.cost.balance;Retries with the same Idempotency-Key never charge twice.
Your users find buyers and verified emails. You charge per lead.
Cited answers and filings, billed per question.
Routes, places and weather behind one balance.
Give each team a budget. See who spent what.
From 57 reviewed providers. New ones every week.
Browse the catalog$0per month
Pay only for what you use
Try it yourself, with limited features.
$200per month
$30 in credits included each month
Run a shared workspace and manage how your customers use and pay for tools.
$1,000per month
$1,100 in credits included each month
The same Enterprise features, with more credits and higher throughput.
Custom
Priced for your volume
For platforms that need more than Enterprise Plus.
Balances for every user, your markup, and one ledger for every call.
Book a callEvery paid tool through one account. Start at $0.
Use it yourselfIt lets your product give customers' agents paid tools, like search, enrichment and data APIs, and bill each customer for what their agent uses. You integrate once. Locus meters every call, applies your markup and keeps the ledger across 3,960 services.
Your workspace holds a credit pool. Each customer gets an end-user balance inside it. Your server names the customer on each call, and Locus charges that balance at your price.
Add a markup over the provider cost as a percent, a flat fee, or both. Every call records the base cost, your markup and the total charged. Analytics shows usage and margin over time.
Pick a model. Fund a pool and allocate credits. Bill customers yourself, then allocate. Or let customers buy credits in the widget, and your margin pays out after a 30-day hold.
Locus is one vendor. Review it once, sign one contract and pay one bill, not one per provider. Adding a tool from the catalog needs no new contract, card or API key. Finance sees every charge by customer, agent and provider in one ledger.
Yes. Agent Connections carry allowed tools, a max per call and a run budget. The workspace has a monthly cap. Limits are checked before the provider is called, so a blocked call costs nothing.
Yes. Add your HTTP services as Custom APIs with your own credential and a price. Agents find them in the catalog and MCP, and they bill through the same ledger. Saved credentials stay private.
Activity traces every charge to a customer, agent, provider and endpoint. Signed webhooks report burns, low balances, top-ups and refunds. They are retried and carry a sequence number.
Start free to try it yourself. Customer balances, markup, controls and Custom APIs come with Enterprise ($200 a month) and Enterprise Plus ($1,000 a month). For more volume, book a call.
Tell us what your agents do. We will map the integration with you.