x402 on Solana: every model, paid per call in USDC at sol.blockrun.ai
BlockRun's Solana gateway settles each x402 payment in USDC on Solana: the full model catalog, media, search and RPC through one OpenAI-compatible API, no API keys.
How it works
sol.blockrun.ai is the Solana settlement of the same product. An agent with a Solana wallet holding USDC calls the API, reads the 402, signs the authorization for Solana and retries; the call is served and settles on Solana. The Python SDK's Solana client, the MCP server and the litellm sidecar all support it with a Solana key.
The Solana gateway carries the majority of BlockRun's settled volume and is the home for the Solana ecosystem's agent builders — trading agents, research agents and wallets that want inference paid from the wallet they already hold.
Behind it is the BlockRun catalog: 78 chat models plus image, video, music and speech generation, search, market data and multi-chain RPC, priced per call. 6 open-weight models are free and need no wallet.
Setup
1. Base URL
https://sol.blockrun.ai/api/v12. Python
pip install "blockrun-llm[solana]"
# from blockrun_llm import SolanaLLMClientQuestions
- Same models as Base?
- Yes — the catalog is shared; the Solana gateway publishes its own manifest with Solana as the network.
- Which SDKs pay on Solana?
- The Python SDK's Solana client, the TypeScript client, the MCP server and the litellm sidecar, each with a Solana key.
Two ways to run this
Get an API key
Sign in, get a key, and call the same endpoints with usage billed to your account. For teams that want one invoice instead of one wallet.
Get an API keyOr let your agent pay per call, in USDC
No account, no API key. Three steps, and the last one is the request this page is about.
- Point your agent at BlockRun
Install ClawRouter, or add the BlockRun MCP server to Claude Code, Cursor, Codex or OpenClaw. Any OpenAI-compatible client works too — change the base URL, nothing else.
curl -fsSL https://blockrun.ai/ClawRouter-update | bash - Fund a wallet with USDC
Send USDC to a wallet on Base or Solana. There is no account to create and no API key to issue: the wallet is the account, and it pays per call.
- Use BlockRun from Solana
The first call returns HTTP 402 with the exact price, your agent signs it, and the answer comes back. Payment settles on-chain; nothing is charged if the call fails.
https://sol.blockrun.ai/api/v1
Explore everything on BlockRun
- GPT-6 Astra
- GPT-5.6 Sol
- GPT-5.6 Terra
- GPT-5.6 Luna
- GPT-5.6 Sol Pro
- GPT-5.6 Terra Pro
- GPT-5.6 Luna Pro
- GPT-5.5
- GPT-5.5 Pro
- ChatGPT Instant (GPT-5.5)
- GPT-5.4
- GPT-5.4 Pro
- GPT-5.1
- GPT-5.2
- GPT-5.4 Mini
- GPT-5 Mini
- GPT-5.4 Nano
- GPT-5.2 Pro
- GPT-5.3 Codex
- GPT-4.1
- GPT-4.1 Mini
- GPT-4.1 Nano
- GPT-4o
- GPT-4o Mini
- o1
- o3
- o3-mini
- o4-mini
- Claude Haiku 4.5
- Claude Sonnet 5
- All models →