Api Endpoint

BlockRun.AI

AI chat completions API - pay per request with USDC on Base

Open interactive test console

Offering

Provider
BlockRun.AI
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://blockrun.ai/api/v1/chat/completions
MIME type
Not provided
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
AI, Inference, LLM, gateway

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0xe9030014F5DAe217d0A152f02A043567b16c1aBf"
  }
]

Observed health

Status
Healthy
Latest latency
106 ms
Average latency
367 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "properties": {
    "body": {
      "properties": {
        "max_tokens": {
          "description": "Maximum tokens to generate",
          "type": "integer"
        },
        "messages": {
          "description": "Array of chat messages with role and content",
          "items": {
            "properties": {
              "content": {
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "model": {
          "description": "AI model ID (e.g., gpt-4o-mini, claude-haiku-4.5)",
          "type": "string"
        },
        "stream": {
          "description": "Enable streaming responses",
          "type": "boolean"
        },
        "temperature": {
          "description": "Sampling temperature (0-2)",
          "type": "number"
        }
      },
      "required": [
        "model",
        "messages"
      ],
      "type": "object"
    }
  },
  "type": "object"
}

Output schema

{
  "properties": {
    "input": {
      "properties": {
        "body": {
          "properties": {
            "max_tokens": {
              "description": "Maximum tokens to generate",
              "type": "integer"
            },
            "messages": {
              "description": "Array of chat messages with role and content",
              "items": {
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "model": {
              "description": "AI model ID (e.g., gpt-4o-mini, claude-haiku-4.5)",
              "type": "string"
            },
            "stream": {
              "description": "Enable streaming responses",
              "type": "boolean"
            },
            "temperature": {
              "description": "Sampling temperature (0-2)",
              "type": "number"
            }
          },
          "required": [
            "model",
            "messages"
          ],
          "type": "object"
        }
      },
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "choices": {
              "type": "array"
            },
            "usage": {
              "type": "object"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}