Pay less
for AI.
Smart routing.
We route each request to the cheapest model that meets your quality bar, optimizing continuously across 300+ models. Payments settle gaslessly on Base. Full audit trail.
Up and running in minutes.
Get your key
Sign up free. Your API key is ready immediately — no credit card, no wallet required to start.
Swap one URL
Replace your provider base URL. That's it. Your existing OpenAI SDK, same models, same interface.
Watch costs drop
P402 routes each request to the optimal model. Every call is logged with cost, latency, and savings. Payments settle on Base.
Four capabilities. One protocol.
Verify. Settle. Receipt.
EIP-3009 gasless USDC settlement on Base. Sign once, facilitator executes. Receipts for repeat access without re-payment.
x402 protocol →Mandates. Policies. Evidence.
AP2 mandates constrain each agent's spend cryptographically. Policies enforce account-wide limits. Every deny returns a structured code with requestId.
AP2 mandates →Tasks. Stream. Trace.
A2A JSON-RPC 2.0 task protocol with SSE streaming. Payment-required events are structured messages — not errors. Live trace for every routing decision.
A2A protocol →Skills. Bazaar. Verified.
Publish typed skills. List paid agents on the Bazaar. Earn Verified Publisher status. ERC-8004 on-chain reputation — optional, toggleable.
Bazaar marketplace →Request Inspector
Trace every interaction. Audit every payment.
Handshake & Policy
The SDK negotiates A2A handshakes and verifies EIP-712 mandates before emitting a single token.
// 1. Initialize P402 client
const client = new P402Client({
mode: 'balanced',
policy: 'strict-budget'
});
// 2. Discover & Verify A2A Capability
const target = await client.discover('did:p402:agent-alpha');
// 3. Execute with Automatic 402 handling
const response = await client.request({
to: target.id,
task: 'market-analysis-v2',
mandate: 'eip712:0x4a2...'
});The 402 Exchange
Transparent Economics
Choose the tier that matches your production scale
Real Infrastructure
For Real Payments
P402 is live in production with real USDC settlements on Base mainnet. No testnets, no simulations - just working payment infrastructure.
Gasless USDC Payments
Live on Base MainnetUsers pay zero gas fees with EIP-3009 transferWithAuthorization
Global Facilitator Network
Production on CloudflareEdge deployment across 15 regions with sub-50ms verification
Real-Time Cost Tracking
Dashboard AvailableLive cost monitoring, transaction history, and savings analytics
Multisig Treasury Security
Security Hardened3-of-5 signature requirement with emergency pause capabilities
Gasless USDC Payments
Users pay zero gas fees with EIP-3009 transferWithAuthorization
Production Infrastructure
Built on the A2A Protocol
P402 implements Google's Agent-to-Agent (A2A) Protocol, trusted by leading platforms.
"Ask-AI is excited to collaborate with Google on the A2A protocol, shaping the future of AI interoperability."
"A standardized protocol like A2A will help agents successfully discover, coordinate, and reason with one another to enable richer forms of delegation."
"We’re enabling Articul8's ModelMesh to treat A2A as a first-class citizen, enabling secure, seamless communication between intelligent agents."
"We look forward to enabling Box agents to work with Google Cloud’s agent ecosystem using A2A... empowering organizations to better automate workflows."
"A2A has the potential to help customers break down silos and securely enable AI agents to work together across systems, teams, and applications."
"As a pioneer in enterprise multi-agent systems, Cognizant is committed and actively pursuing agent interoperability as a critical requirement."
"The open A2A protocol ensures seamless, trusted collaboration—even in air-gapped environments—so that businesses can innovate at scale."
"We're excited to see Google Cloud introduce the A2A protocol to streamline the development of sophisticated agentic systems."
"Salesforce is leading with A2A standard support to extend our open platform, enabling AI agents to work together seamlessly."
"ServiceNow and Google Cloud are collaborating to set a new industry standard for agent-to-agent interoperability."
"Establishing an industry standard for seamless agent-to-agent communication is a significant step towards a future in which AI agents and humans collaborate."
"Combining MongoDB with A2A lets businesses unlock new possibilities across industries to redefine the future of AI applications."
"PayPal supports Google Cloud’s A2A protocol, which represents a new way for developers and merchants to create next-generation commerce experiences."
Disclaimer: These companies use the A2A protocol that P402 is built upon. Quotes shown represent support for the A2A ecosystem, not endorsements of P402.
A distribution loop tied to discovery.
Bazaar is the discovery layer for payable endpoints. Router adds runtime signals so buyers pick endpoints using real health and policy outcomes.
exact, USDC, eip155:8453Intelligence Engine
The routing decisions P402 makes are driven by a real-time intelligence layer. Explore the research.
Read the research →Protocol Economics
Atomic settlement & market design.
Machine Governance
Cryptographic AP2 mandates.
Agentic Orchestration
QoS semantic routing logic.
The Sentinel Layer
Flash crash protection systems.
Trustless Agents
ERC-8004 on-chain identity & reputation.
Validation Registry
High-value transaction verification.
Start routing
in minutes.
One endpoint. 300+ models. Automatic cost savings. Gasless payments on Base.