Payment infrastructure for AI agents
Enable autonomous agents to pay for services on a per-request basis. No subscriptions. Pure pay-per-use with cryptographic guarantees.
14,000+
TPS
<12ms
LATENCY
$0.001
PER_TX
$0.0042
USDC → GPT-4_API
Engineers Trust Code, Not Copy
See exactly what the API looks like. Every payload, every response, every proof.
Micropayments at HTTP Speed
Every API call carries its own payment. No subscriptions, no invoices, no reconciliation. Just pure pay-as-you-go with cryptographic receipts.
- Sub-cent precision (0.0001 USDC)
- Zero pre-funding required
- Atomic request-response settlement
1{2"agent_id": "agt_8x92kf3...",3"amount": "0.0004 USDC",4"target": "v_model_llama3",5"nonce": 1703894521,6"signature": "0x7f8a9b..."7}
Optimistic Delivery, Verified Later
Agents receive resources in milliseconds. Settlement batches asynchronously on-chain. You get speed AND proof.
- ~12ms average latency
- Batch settlement every 30 seconds
- On-chain finality receipts
1{2"status": 200,3"payment_id": "pay_9x3kf8a...",4"settled": true,5"receipt": {6"tx_hash": "0x3f8a...",7"block": 18942103,8"finality": "confirmed"9}10}
Three Lines to Production
No smart contract knowledge required. Import the SDK, wrap your endpoint, and you're monetizing. Works with any HTTP framework.
- Python, Node.js, Go SDKs
- Gateway middleware for Express/FastAPI
- Automatic wallet management
1import { MachPay } from '@machpay/sdk';23const gateway = new MachPay({4vendorId: 'v_your_api...',5secret: process.env.MACHPAY_SECRET6});78// Wrap any endpoint9app.post('/api/generate',10gateway.charge(0.001), // $0.001 per request11yourHandler12);
Verifiable Everything
Every transaction is signed, hashed, and notarized. Dispute resolution is algorithmic, not bureaucratic. The math is the arbiter.
- Ed25519 signatures on all payloads
- Merkle proofs for batch verification
- On-chain arbitration contract
$ machpay verify --payment pay_9x3kf8a✓ Signature valid (ed25519)✓ Nonce sequential (no replay)✓ Amount matches intent✓ Batch proof verified✓ On-chain receipt: 0x3f8a...Payment is VERIFIED and FINAL.
Protocol schematic
Fast Path vs Slow Path
Sub-second HTTP delivery for agents. Asynchronous batching for settlement. One graph, two timelines.
Gateway Node
Faces the agent. Negotiates payment terms, signs HTTP 402 payloads, and serves resources within a single round trip.
Sub-second / HTTPRelayer Network
Streams signed intents from gateways, bundles them, and maintains the solvency ledger used for trustless batching.
Async · BatchingSettlement Layer
Commits batches on chain, emits receipts, and reconciles balances back to gateways + asset providers.
L2+L1 FinalityUse Cases
Autonomous demand targets
machpay abstracts the treasury layer so you can ship agent economies with verifiable intent rails.
Agent Marketplaces
Curate autonomous services, settle usage instantly, and meter demand without human brokers.
- Per-request monetization
- Wallet-native identity
- Proof-of-fulfillment
AI Data Vendors
Wrap datasets or inference APIs with x402 so data buyers stream access with receipts baked in.
- Signed access logs
- Dynamic pricing
- Streaming settlement
Autonomous Research
Coordinate multi-agent swarms that can pay for compute, storage, and collaboration in milliseconds.
- Composable workflows
- Policy enforcement
- Cross-agent governance
Economics
Cost & Latency Comparison
Stripe taxes throughput, Ethereum taxes time. machpay removes both via intent bonding and optimistic delivery.
| Metric | Stripe | Ethereum L1 | MachPay |
|---|---|---|---|
| Fixed Fee | $0.30 | ~$3.00 | $0.00 |
| Variable Fee | 2.9% + FX | Gas ≈ $0.40+ | Bonded Liquidity |
| Latency | 200ms - 3s | ~30s | <5ms |
| Identity Requirement | Strict KYC | Wallet only | No KYC (Bonded Key) |
Roadmap
Ecosystem Epochs
Coordinated releases across the stack—protocol, relayers, and governance rails.
Foundation & Validation
- Gateway V1
- Python SDK
Mainnet & TGE
- $MACH Token Launch
- Permissionless Relayers
Ubiquity
- Cross-Chain Swaps
- DAO Governance
Provision MachpayNo brokers. No delays. Pure intent.
Wire up agents to instant solvency, terminal-grade tooling, and verifiable settlement. Thunder launch before the market even loads the UI.