{
  "x402Version": 2,
  "id": 4131,
  "slug": "4131",
  "resource": "https://api.surplusintelligence.ai/v1/chat/completions",
  "description": "Get OpenAI-compatible inference from many models at market prices via Surplus Intelligence.",
  "type": "http",
  "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
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.surplusintelligence.ai",
  "lastUpdated": "2026-09-17T03:45:40.585Z",
  "quality": {
    "calls30d": 118,
    "uniquePayers30d": 7,
    "lastCalledAt": "2026-09-17T03:45:37.398Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.surplusintelligence.ai",
    "manifest_name": "api.surplusintelligence.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}