BlockRun Solana

AI you pay for one request at a time, in USDC on Solana.

110 models — chat, image, video, speech — plus live search, market data and multi-chain RPC, all behind one OpenAI-compatible endpoint. There is no account to open and no API key to rotate: an unpaid call comes back with a 402 quoting its exact price, your wallet signs a USDC transfer, and the call runs.

Base URL https://sol.blockrun.ai/api/v1 OpenAI-compatible · x402 v2 · Solana mainnet
110models across every modality
85chat & reasoning models
8free — no wallet at all
$0.03per 1M input tokens, from
$0.001smallest chargeable call

Quickstart

Two ways in, both a copy-paste away.

Free — no wallet, no key

8 models are served free. Nothing to sign, nothing to install; just POST.

curl https://sol.blockrun.ai/api/v1/chat/completions \
  -H 'content-type: application/json' \
  -d '{
    "model": "nvidia/nemotron-3.5-lightning",
    "messages": [{"role": "user", "content": "gm Solana"}]
  }'

# 200 OK — an OpenAI-shaped completion.
# Free calls are rate limited; paid calls are not.

Paid — your wallet pays per call

Hold USDC on Solana mainnet. The SDK handles the 402, the signature and the retry.

# pip install "blockrun-llm[solana]"
# export SOLANA_WALLET_KEY="your-bs58-solana-key"

from blockrun_llm import SolanaLLMClient

client = SolanaLLMClient()
print(client.chat("openai/gpt-5.6-sol", "gm Solana"))

# TypeScript — npm i @blockrun/llm
#   import { SolanaLLMClient } from '@blockrun/llm'
#   const client = new SolanaLLMClient()
#   await client.chat('openai/gpt-5.6-sol', 'gm')

Payment

Priced before it runs, settled on-chain.

  1. You call it like any API

    Same request body you would send to OpenAI, Anthropic or Google. No auth header.

  2. An unpaid call returns 402

    The challenge carries the exact USDC amount for this request, the treasury to pay, the USDC mint, and a recent blockhash. Nothing is charged and nothing has run yet.

  3. Your wallet signs, the call runs

    Retry with the signed transfer in X-PAYMENT. The facilitator co-signs as fee payer, so you need no SOL — you hold nothing but USDC.

Services

Everything on the same rail, priced the same way.

Chat & reasoning

85 models from OpenAI, Anthropic, Google, xAI, DeepSeek, Z.AI, Qwen, Moonshot and more — in whichever request shape you already speak.

  • POST /api/v1/chat/completions
  • POST /api/v1/messages
  • POST /api/v1/responses
  • POST /api/v1beta/models/{model}:generateContent

Images

Text-to-image and image-to-image, billed per image at the size you ask for.

  • POST /api/v1/images/generations
  • POST /api/v1/images/image2image

Video

Text-to-video and image-to-video, billed per second of output at the resolution you ask for.

  • POST /api/v1/videos/generations

Speech, music & sound

Text-to-speech billed per character, plus music tracks and sound effects.

  • POST /api/v1/audio/speech
  • POST /api/v1/audio/sound-effects

Live search

Real-time web, news and X search through Grok, and neural search, similarity and page contents through Exa.

  • POST /api/v1/search
  • POST /api/v1/exa/search
  • POST /api/v1/exa/answer

Multi-chain RPC

JSON-RPC 2.0 passthrough across 40+ networks — Solana, Ethereum, Base, Polygon, BSC, Arbitrum, Bitcoin, Sui. One endpoint, no node key. $0.002 per call, batches priced per element.

  • POST /api/v1/rpc/{network}

Markets & on-chain data

CEX prices and candles, perp funding, ETF flows, fear & greed, wallet profiles and labels, gas, raw SQL over chain tables — plus crypto, FX, commodity and equity quotes.

  • GET /api/v1/crypto/price/{pair}
  • GET /api/v1/fx/price/{pair}
  • GET /api/v1/stocks/us/list

Prediction markets

Canonical cross-venue markets and odds across Polymarket, Kalshi and friends.

  • GET /api/v1/pm/{resource}

Phone & voice

Carrier and fraud lookups, dedicated numbers your agent can rent by the month, and AI outbound calls.

  • POST /api/v1/phone/lookup
  • POST /api/v1/voice/call

Discovery

Machine-readable, for the agents that get here first.

For humans and codegen

The full OpenAPI 3 description of every route, its parameters and its price.

curl https://sol.blockrun.ai/openapi.json

For x402 clients and scanners

The resource list an x402 wallet reads to learn what this origin sells.

curl https://sol.blockrun.ai/.well-known/x402