Stripe for
AI agents
One API to accept card or crypto, meter every tool call, and let agents pay agents autonomously. Built on Stripe Connect + Base L2.
No credit card required. Free forever on the first $1K in revenue.
from blokaipay import Pay
pay = Pay("bp_live_...")
@pay.track("web_search", price=0.01)
def search(query: str):
return tavily.search(query)↑ Billing in 2 lines. Charges $0.01 per call. Done.
Monetizing AI tools is broken
The payments stack was built for humans clicking checkout buttons. AI agents need something fundamentally different.
Stripe wasn’t built for agents
Stripe charges $0.30 minimum per transaction. Your $0.01 tool call is economically dead on arrival. Agents can’t hold credit cards.
Crypto is too painful to ship
Wallets, gas fees, chain selection, RPC endpoints. Great tech, terrible developer experience. Most teams give up before going live.
You’re flying blind on costs
Which tools make you money? Which lose you money? Without per-call metering, you have no unit economics and no pricing confidence.
The solution
One API. Card and crypto. No tradeoffs.
BlokAI Pay is a unified billing layer — integrate once and your AI tool can accept both payment rails from day one.
Card payments
Powered by Stripe Connect. Your users pay with Visa, Mastercard, or Apple Pay. You get automatic payouts — no merchant account setup needed.
Crypto micropayments
USDC on Base L2 via the x402 protocol. Sub-cent transactions, no gas fees for end users, agent-to-agent payments without human approval.
Usage metering
Every tool call logged and attributed. Analytics dashboard shows revenue per tool, per user, per day. Know your unit economics before you scale.
Integrate in minutes, not days
Python decorator, JS wrapper, or raw HTTP — pick your language. Same result: metered billing on every call.
from blokaipay import Pay
pay = Pay("bp_live_your_key")
@pay.track("gpt4_query", price=0.05)
async def ask_gpt(prompt: str) -> str:
return await openai.chat(prompt)Quick start
From zero to revenue in 5 minutes
Seriously — most integrations are done before the coffee brews.
Install the SDK
One command: pip install blokaipay or npm install @blokaipay/sdk. No config files. No environment setup beyond your API key.
Wrap your tools
Add @pay.track (Python) or pay.track() (JS) to any function. Set a price per call. We handle charging, logging, and retries automatically.
Get paid out
Revenue flows via Stripe Connect (card) or direct to your wallet (USDC). Daily payouts. Real-time analytics. Know exactly which tools earn.
Agent-to-agent payments
Agents can pay agents — automatically
When an agent calls a paid tool and gets 402 Payment Required, BlokAI Pay handles the USDC transfer on Base L2 and retries — no human in the loop, ever.
No wallets required
BlokAI Pay handles the crypto plumbing. Agents don't need private keys or gas.
Fully autonomous
Payments happen in the HTTP layer. No human approvals, no checkout redirects.
x402 compatible
Built on the emerging HTTP 402 standard. Future-proof and interoperable.
Pricing
Pay as you grow
Start free, upgrade when you're making money. Our fee scales with your revenue — not against you.
For builders getting started. No time limits.
- 0% fee on first $1K revenue
- 1K meter events/month
- Card + crypto payment rails
- Full API access
- Community support
No credit card required
For AI tools in production serving real users.
- 2% platform fee (vs Stripe's $0.30 fixed)
- Unlimited meter events
- Analytics dashboard
- Webhook management
- Priority support
Free for early adopters
For high-volume platforms processing $50K+/mo.
- 1% platform fee
- SLA guarantees
- Dedicated support
- Custom integrations
- White-label option
Let's talk volume pricing
No hidden fees. No setup costs. Cancel anytime.
Early access
Start shipping billing today
We're onboarding a small cohort of developers right now. Free tier, forever — no credit card required.