Get OpenAI-compatible inference from many models at market prices via Surplus Intelligence
Get OpenAI-compatible inference from many models at market prices via Surplus Intelligence.
3302 (raw units)
price
118
calls / 30d
7
unique payers
2026-09-17
updated
Provider
api.surplusintelligence.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x0F99fc0CBD7A114b2DA171FDa5A0167858f7afC2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3302",
"maxTimeoutSeconds": 120
},
{
"scheme": "upto",
"network": "eip155:8453",
"payTo": "0x0F99fc0CBD7A114b2DA171FDa5A0167858f7afC2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3302",
"maxTimeoutSeconds": 120
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"max_tokens": 16,
"messages": [
{
"content": "Say hello from Surplus Intelligence.",
"role": "user"
}
],
"model": "llama-3.3-70b"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "Hello from Surplus Intelligence.",
"role": "assistant"
}
}
],
"id": "chatcmpl_surplus_example",
"object": "chat.completion",
"usage": {
"completion_tokens": 6,
"prompt_tokens": 12,
"total_tokens": 18
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"max_tokens": {
"description": "Maximum output tokens.",
"minimum": 1,
"type": "integer"
},
"messages": {
"description": "OpenAI-compatible chat messages.",
"items": {
"additionalProperties": true,
"properties": {
"content": {},
"role": {
"enum": [
"system",
"developer",
"user",
"assistant",
"tool"
],
"type": "string"
}
},
"required": [
"role",
"content"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"model": {
"description": "Surplus Intelligence model id. Call /v1/models for available models.",
"type": "string"
},
"stream": {
"type": "boolean"
},
"temperature": {
"maximum": 2,
"minimum": 0,
"type": "number"
}
},
"required": [
"model",
"messages"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"choices": {
"type": "array"
},
"id": {
"type": "string"
},
"object": {
"type": "string"
},
"usage": {
"type": "object"
}
},
"required": [
"id",
"object",
"choices"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.surplusintelligence.ai/v1/chat/completions" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.surplusintelligence.ai/v1/chat/completions");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.surplusintelligence.ai/v1/chat/completions")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4131.json, and this resource appears in /discovery/resources and /discovery/search.