The Solana Foundation and Google Cloud have launched Pay.sh, a new payment system for AI agents that runs on the Solana blockchain. It lets software agents pay for application programming interfaces, or APIs, using stablecoins in a simple, on-demand way. Instead of monthly subscriptions, agents pay only for the specific calls they make.
Pay.sh is built on the x402 protocol, which Coinbase incubated to support machine-to-machine payments. With this setup, AI agents can discover, access, and pay for APIs without creating accounts or managing API keys on each service. The goal is to make AI-driven commerce more automated and less dependent on human billing flows.
How Pay.sh Works for Developers and Agents
To start, an AI agent links a Solana wallet that serves as both its identity and its payment method. The wallet can be funded with stablecoins or via a credit card onramp in a short setup process. Once funded, the agent can call paid APIs and settle each request instantly on-chain.
Pay.sh runs as an API proxy on Google Cloud. It sits between AI agents and backend services such as Gemini, BigQuery, Vertex AI, Cloud Run, and BigTable.
The proxy handles authentication and routes each call to the correct service. It also adds pricing and payment logic using x402 or the Machine Payments Protocol. This design lets providers charge per request without managing separate user accounts or manual billing systems.
Access to Google Cloud and Community APIs
Through Pay.sh, AI agents can use a single marketplace. It offers Google Cloud APIs such as Gemini, BigQuery, and Vertex AI, as well as over 50 community APIs.
These cover communications, e-commerce, on-chain data, payments, and other cloud tools. Agents can compare options, see live rates, and pick the best endpoint for each task.
Developers can use Pay.sh through a command-line interface and familiar large language model tools. Support for major LLM environments makes it easier to connect existing agent workflows to this payment layer and reduces friction for teams already building with AI.
Supporters see Pay.sh as a step toward an “agentic economy,” where AI agents behave more like economic actors. Using a wallet as an identity, an agent can access many services in a single workflow, pay tiny amounts per request, and operate with less human oversight.
READ MORE: Filecoin Price Breaks Range as AI Storage Trade Hits Crypto