Choose who pays
Self-serve Locus Pro accounts pay the listed tool price and do not configure resale pricing. See Account and usage.
Set your markup
Add a percentage, a flat fee per call, or both. For example, a call with a $0.05 base price and 20% markup costs your customer $0.06 and earns $0.01 in margin.Global default, per-endpoint overrides
Set a workspace default, then override it for a provider or endpoint. Each pricing field uses the most specific configured value:Worked examples
Prices are calculated with exact decimals and rounded up to six decimal places at the final step. Default markup caps are 100% and $100 flat per call; contact support if your workspace needs different limits.
Credit denomination
Credits express dollars in units that fit your product. The default is 1,000 credits = $1, so a $0.0039 call costs 3.9 credits. An enterprise workspace chooses its credits-per-dollar ratio during setup. That ratio is fixed afterward. Changing the denomination changes how prices are displayed, not their dollar value.How you receive margin
See Earnings and payouts for the holdback period and payout options.
How calls are billed
Response-priced endpoints
Some tools reserve a maximum before running, then charge for the usage measured in the response and release the rest. Markup applies to the measured base. The final charge appears in the receipt and ledger. If a response is delivered but its usage cannot be recorded, the authorized maximum can remain charged.Live-priced endpoints
Some external services quote at call time. Inspect the quote and pass a hardmax_charge_credits ceiling. Locus rejects a higher quote before dispatch without charging. See Live-quoted endpoints.
Failed calls and retries
A non-streaming call reserves credits and captures them when the provider returns success. An error or timeout before success releases the reservation. Streaming calls capture after the provider accepts the stream. A later disconnect or stream failure remains charged. See Inference and streaming. Reuse the sameIdempotency-Key when retrying the same logical call to avoid a second charge. If the balance is insufficient, the call returns 402 before execution.
Keep your costs private
End-user tokens and the billing widget show the final customer price. Your base cost and margin remain available only to trusted management callers.Funding and billing
Fund balances and choose how customers pay.
Commercial plans
Understand how enterprise fees relate to tool usage.