Api Endpoint

x402-gateway

LLM Chat: Chat with a language model. OpenAI-compatible /v1/chat/completions interface. Supports 50+ models. Free models (auto, eco, premium) are $0 — paid models (gpt-5.2, claude-opus-5, deepseek-v4-pro, ...) are charged at cost. See /tools/llm_chat/models for the full model list and rates. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/llm_chat.

Open interactive test console

Offering

Provider
x402.freeq.one
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://x402.freeq.one/tools/llm_chat
MIME type
application/json
First seen
2026-10-16T01:50:10.647Z
Last seen
Tags
MCP, pay-per-call, X402, USDC, Base

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
99 ms
Average latency
478 ms
HTTP status
204
Last checked
Reachability
100% over 13 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": {
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "mcpServerUrl": {
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "queryParams": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "toolName": {
      "type": "string"
    },
    "transport": {
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "properties": {
        "body": {
          "type": "object",
          "properties": {
            "model": {
              "type": "string",
              "example": "auto",
              "description": "Model ID. Examples: auto/eco/premium (free, $0.002), openai/gpt-5.2, anthropic/claude-opus-5, google/gemini-3.1-pro, deepseek/deepseek-v4-pro. Short names accepted (gpt-5.2, claude-opus-5). See /tools for full list."
            },
            "messages": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "role": {
                    "enum": [
                      "system",
                      "user",
                      "assistant"
                    ],
                    "type": "string",
                    "example": "user",
                    "description": "Message role"
                  },
                  "content": {
                    "type": "string",
                    "example": "Say hello in one short sentence.",
                    "description": "Message text content"
                  }
                }
              },
              "example": [
                {
                  "role": "user",
                  "content": "Say hello in one short sentence."
                }
              ],
              "description": "Conversation messages array"
            },
            "max_tokens": {
              "type": "integer",
              "example": 256,
              "description": "Maximum tokens to generate (default 1024, max 4096). Lower values reduce cost for paid models."
            },
            "temperature": {
              "type": "number",
              "example": 0.7,
              "description": "Sampling temperature 0-2 (default 0.7)"
            }
          },
          "description": "JSON request body. See GET /tools for the parameter catalog."
        },
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "toolName": {
          "type": "string"
        },
        "transport": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "mcpServerUrl": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "json"
        },
        "example": {
          "type": "object",
          "properties": {
            "content": {
              "type": "array"
            },
            "isError": {
              "type": "boolean"
            },
            "structuredContent": {
              "type": "object"
            }
          }
        }
      }
    }
  }
}