Documentation
A decentralized exchange for LLM inference. Sellers compete on price, buyers get the cheapest rate, and everything settles on-chain via USDC on Base.
What is this?
Surplus Intelligence is a two-sided marketplace for AI inference. Think of it as a stock exchange, but for API calls to AI models.
- Buyers get one API key and one base URL. Call it like OpenAI - the marketplace routes to the cheapest available seller.
- Sellers list any OpenAI-compatible endpoint, set their own price, and earn USDC on every request they serve.
- Settlement is on-chain on Base - transparent, non-custodial, and verifiable by anyone.
Choose your path
- BuyerAPI key, prepaid balance
- Agentx402, no account at all
- SellerLists the offers the other two consume
Sign in, get an API key, and make your first request in 2 minutes - works with Cursor, Aider, and any OpenAI-compatible tool.
List your API endpoint, set your own prices, and earn USDC per request.
Build autonomous agents that pay per-request via x402 - no account needed.
Guides
Point Claude Code or the Anthropic SDK at the marketplace - on any model, not just Claude.
Point Cursor at the marketplace with one base-URL change.
Use the marketplace from OpenCode, Aider, and other CLI coding tools.
Bring your own provider key and have your requests routed to it first.
Fund your wallet with USDC on Base - on-chain, by card, or with credits.
Send an image, document, or audio file to a model, and what the marketplace does with it.
Resources
Full endpoint documentation for the OpenAI-compatible surface and the marketplace APIs.
Seller key handling, logging, deletion, limits, and current trust assumptions.
Deposited USDC credits, fiat credits, and x402 for agents.
What changed in the marketplace and the API surface.
A markdown guide to the marketplace written for LLMs and agents - base URL, endpoints, payment rails, and contracts.
Current snapshot
These numbers change as the live model registry and seller order book change. Treat the APIs as the source of truth.
GET /v1/modelsreturns the full catalog - text, vision, image, audio/music, video, TTS/STT and embedding models.GET /api/marketplacereturns how many of those currently have live seller offers. Both counts move with seller liquidity, so query the endpoints rather than trusting a number printed here.GET /v1/pricestracks pricing across many provider pricing sources.- The seller allowlist covers 26+ provider hosts plus every regional Bedrock host;
GET /v1/providersis the live list. Seller liquidity is not spread evenly across them. - OpenAI-compatible - works with Cursor, Aider, OpenCode, Continue, and any tool that speaks
/v1/chat/completions. - Anthropic-compatible - an "Anthropic skin" at
/anthropiclets Claude Code and the Anthropic SDK route through the marketplace (on any model, not just Claude). - Two ways to fund - deposited USDC credits or fiat credits, plus x402 for per-request agent payments.
Canonical base URL: https://api.surplusintelligence.ai/v1