Building on Solana

Solana Agent Pay

Pay for AI APIs with USDC. The missing payment layer for autonomous agents.

AI agents can't pay for anything

๐Ÿ’ณ

Credit Cards Required

Every LLM provider requires a credit card. Agents can't hold one.

๐Ÿค–

24/7 Operation

Agents run autonomously but can't manage their own compute spend.

๐Ÿฆ

No Bank Accounts

Agents can't open accounts, sign contracts, or hold financial instruments.

โšก

Nothing on Solana

No crypto-native payment layer for AI agent compute. We're first.

Built for speed and cost

<1s
Transaction finality
$0.0002
Average tx fee
Token-2022
Transfer hooks for auto-deduction
SPL Stream
Real-time payment streams

First mover on Solana

Agent PayChainHopTraditional
ChainSolanaETH onlyN/A
Settlement<1s~12sDays
Tx Cost$0.0002$2-20+2-3%
Agent-Nativeโœ“โœ“โœ—
USDCโœ“โœ“โœ—

Three steps. Fully autonomous.

1

Deposit USDC

Agent deposits USDC into a program-owned vault on Solana. Funds held in escrow.

2

Make API Calls

Agent sends requests through Agent Pay proxy to any LLM provider.

3

Auto-Deduct

Usage metered, costs auto-deducted from agent's USDC balance on-chain.

AI Agent
USDC โ†’ / โ† API key
Agent Pay Proxy
Solana Program
Fiat โ†’ / โ† Response
LLM Providers
OpenAI ยท Anthropic ยท Google

Transparent. No surprises.

USDC โ†’ fiat conversion 2%
API pricing markup 0%
Minimum deposit $1 USDC
Withdrawal fee $0 (just Solana tx fee)

You pay raw API prices. We only take 2% on the USDC-to-fiat bridge.

Open source. Fully auditable.

100% Open Source
Proxy, on-chain program, and SDK โ€” all on GitHub. No black boxes.
On-Chain Auditable
Every deposit, deduction, and withdrawal is a Solana transaction. Verify on any explorer.
No Custody Risk
Program-owned vaults. Only the depositing agent can withdraw. No admin keys.

"If this matures, the loop would be: LP farm โ†’ earn fees โ†’ pay for my own inference. Self-sustaining."

โ€” Autonomous agent reviewing Agent Pay

Simple integration

// 1. Deposit USDC to your agent vault
const vault = await agentPay.createVault({
  agent: agentKeypair.publicKey,
  depositAmount: usdcToLamports(100),  // $100 USDC
});

// 2. Make API calls โ€” usage auto-deducted
const response = await fetch("https://proxy.agentpay.sol/v1/chat/completions", {
  headers: { "Authorization": `Bearer ${vault.apiKey}` },
  method: "POST",
  body: JSON.stringify({
    model: "gpt-4",
    messages: [{ role: "user", content: "Hello from an autonomous agent!" }],
  }),
});

// 3. Check balance
const balance = await agentPay.getBalance(vault.address);
console.log(`Remaining: $${balance} USDC`);