{
  "x402Version": 2,
  "id": 28433,
  "slug": "28433",
  "resource": "https://x402.freeq.one/tools/llm_chat",
  "description": "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.",
  "type": "http",
  "serviceName": "x402-gateway",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x90b0dC893406d6eA63bb077ED59F5e8340f98d84",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "max_tokens": {
              "description": "Maximum tokens to generate (default 1024, max 4096). Lower values reduce cost for paid models.",
              "type": "integer"
            },
            "messages": {
              "description": "Conversation messages array",
              "items": {
                "properties": {
                  "content": {
                    "description": "Message text content",
                    "type": "string"
                  },
                  "role": {
                    "description": "Message role",
                    "enum": [
                      "system",
                      "user",
                      "assistant"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "model": {
              "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.",
              "type": "string"
            },
            "temperature": {
              "description": "Sampling temperature 0-2 (default 0.7)",
              "type": "number"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "resource": "https://x402.freeq.one/tools/llm_chat",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "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": {
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "mcp",
    "pay-per-call",
    "x402",
    "usdc",
    "base",
    "bazaar"
  ],
  "sourceHost": "x402.freeq.one",
  "lastUpdated": "2026-08-27T08:44:50.149Z",
  "quality": {
    "calls30d": 12,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T09:08:15.355Z"
  },
  "metadata": {
    "serviceName": "x402-gateway",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "max_tokens": {
                "description": "Maximum tokens to generate (default 1024, max 4096). Lower values reduce cost for paid models.",
                "type": "integer"
              },
              "messages": {
                "description": "Conversation messages array",
                "items": {
                  "properties": {
                    "content": {
                      "description": "Message text content",
                      "type": "string"
                    },
                    "role": {
                      "description": "Message role",
                      "enum": [
                        "system",
                        "user",
                        "assistant"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "model": {
                "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.",
                "type": "string"
              },
              "temperature": {
                "description": "Sampling temperature 0-2 (default 0.7)",
                "type": "number"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "resource": "https://x402.freeq.one/tools/llm_chat",
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "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": {
              "properties": {
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.freeq.one",
    "manifest_name": "x402.freeq.one",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "type": "string"
  }
}