Api Endpoint

AI Chat & Text

LLM chat completion, flat $0.003 a call: send a prompt (plus optional system) or an OpenAI-style messages array and get the reply text with token usage. Models: gpt-oss-20b (default), qwen3-30b, glm-4.7-flash, llama-4-scout. Up to 16,000 characters in and 1,024 tokens out; json=true for JSON output.

Open interactive test console

Offering

Provider
onchaincheck.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://onchaincheck.dev/ai/chat
MIME type
Not provided
First seen
2026-11-08T18:32:41.291Z
Last seen
Tags
LLM, chat-completions, translation, embeddings, AI

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
162 ms
Average latency
207 ms
HTTP status
204
Last checked
Reachability
100% over 7 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "json": {
          "description": "true asks for a single JSON object",
          "enum": [
            "true",
            "false"
          ],
          "type": "string"
        },
        "max_tokens": {
          "description": "Most tokens to generate, up to 1024",
          "pattern": "^\\d{1,4}$",
          "type": "string"
        },
        "model": {
          "description": "Model (default gpt-oss-20b)",
          "enum": [
            "gpt-oss-20b",
            "qwen3-30b",
            "glm-4.7-flash",
            "llama-4-scout"
          ],
          "type": "string"
        },
        "prompt": {
          "description": "The user message (or send an OpenAI-style messages array instead)",
          "maxLength": 16000,
          "pattern": "^[\\s\\S]+$",
          "type": "string"
        },
        "system": {
          "description": "Optional system instructions",
          "maxLength": 16000,
          "pattern": "^[\\s\\S]*$",
          "type": "string"
        },
        "temperature": {
          "description": "0 to 2 (default 0.6)",
          "pattern": "^\\d(\\.\\d+)?$",
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}