BlockRunAI is a decentralized API payment gateway built on the x402 protocol, providing pay-per-use access to model inference, data feeds, and compute resources for AI agents. It leverages HTTP 402 status codes for payment negotiation: an agent sends a request, the server responds with a price and payment requirement, the agent locally signs a USDC transaction and retries the request with the payment header, then receives the response—all without API keys or subscriptions. Core mechanisms include local private key management, on-chain settlement, smart routing (automatically selecting the most cost-effective model), and MCP tool integration, with OpenAI-compatible endpoints and multiple SDKs, enabling agents to autonomously discover, pay for, and invoke services.