A toll booth for AI tools

Don't get a
$47,000 agent bill.

Tollwire meters every call to your MCP server, enforces hard spend caps, and auto-refunds failures — billing your customers over cards and crypto. Your server never moves.

Caps · auto-refunds · dual-rail · no re-hosting — the combo nobody else ships.

tollwire · gate
→ verify callerok
→ cap check$3.90 / $50
→ meter#a1f9…
→ forward tool200
→ charge$0.02 billed
next call · failed$0.00 · refunded
over-cap call402 blocked

⚠ Documented: a runaway agent loop that burned $47K in 11 days. Another, $6,500 overnight.

Hard spend caps

Per-key / per-wallet daily limits. Blow the cap → the next call gets a 402, not a bill.

Refund on failure

Tool errored? The customer isn't charged. Clean, automatic, on both rails.

Idempotent metering

A retried call reuses its id — it can never settle twice, on cards or on-chain.

One call, five gates.

Every call passes through the toll booth in order. You point your agents at a Tollwire endpoint; your MCP server stays exactly where it is.

  1. 01
    Who's calling?
    Verify the API key or read the paying wallet.
  2. 02
    Under the cap?
    Over the daily limit → 402 kill-switch. Stops runaway loops cold.
  3. 03
    Count the call
    Record it in the ledger — idempotent, retries never double-charge.
  4. 04
    Run the tool
    Forward to your server, wherever it lives. No re-hosting.
  5. 05
    Worked? Charge.
    Success bills. Failure is free — auto-refunded, every time.

Two rails. One meter.

Your customers pick how they pay — per call. You get paid on whichever rail they use.

Card · Stripe
Keep 98%

Stripe bills the card and splits the payout via Connect. Tollwire skims a flat 2% as an application fee — and never holds the money.

buyer identifies with an API key you mint

Crypto · x402
Keep 100%

USDC settles payer → your wallet, on-chain and instant. We take nothing per call — no custody, no cut. The wallet is the account.

buyer pays directly — zero signup

Your users never sign up.

Tollwire is invisible infrastructure — the Stripe model. Only you sign up. Mint keys for your own users through the API, or let their wallet pay directly. The experience stays 100% yours.

provision a key
POST /api/v1/keys
Authorization: Bearer tw_sk_…

{ "display_name": "alice",
  "cap_cents": 500 }

→ 201 { key: "tw_…", billing: "direct" }

Simple pricing. You keep your revenue.

Platform plan
$29.00/mo

Metering, spend caps, auto-refunds, payouts, and dashboards — over cards and crypto. One flat fee, every rail.

Start free
0%
on crypto

Settle 100% to your wallet, instantly. We take nothing per call.

2%
on cards

Covers card processing + payout. Keep 98% of every card call.

Wire your cut. Cap the chaos.

Wrap your MCP server, set a price, and get paid per call — with the safety net built in.

Start free