{
  "x402Version": 1,
  "id": 40050,
  "slug": "40050",
  "resource": "https://uxus.finance/api/llm",
  "description": "LLM chat completion. $0.01 USDC per call on Base, no API key. POST JSON { prompt } or { messages: [{ role, content }] }; optional model (OpenRouter slug) and max_tokens (default 800, max 2000). Falls back across up to 5 models so one outage does not fail the call. Returns { content, model, usage, latency_ms }.",
  "type": "http",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "payTo": "0xE0Ed7A30589Fec49e98F2085c7162B90FdbB83de",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {},
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "max_tokens": {
              "description": "Max completion tokens. Default 800, max 2000.",
              "type": "number"
            },
            "messages": {
              "description": "Chat messages [{ role, content }]. Alternative to prompt.",
              "type": "array"
            },
            "model": {
              "description": "Optional model slug; still falls back through the chain.",
              "type": "string"
            },
            "prompt": {
              "description": "User prompt. Provide this or messages[].",
              "type": "string"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "content": "The answer is ...",
            "latency_ms": 1200,
            "model": "deepseek/deepseek-chat",
            "usage": {
              "completion_tokens": 80,
              "prompt_tokens": 24,
              "total_tokens": 104
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {},
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "uxus.finance",
  "lastUpdated": "2026-10-12T13:52:58.975Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-12T13:52:58.807Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "max_tokens": {
                "description": "Max completion tokens. Default 800, max 2000.",
                "type": "number"
              },
              "messages": {
                "description": "Chat messages [{ role, content }]. Alternative to prompt.",
                "type": "array"
              },
              "model": {
                "description": "Optional model slug; still falls back through the chain.",
                "type": "string"
              },
              "prompt": {
                "description": "User prompt. Provide this or messages[].",
                "type": "string"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "content": "The answer is ...",
              "latency_ms": 1200,
              "model": "deepseek/deepseek-chat",
              "usage": {
                "completion_tokens": 80,
                "prompt_tokens": 24,
                "total_tokens": 104
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {},
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "uxus.finance",
    "manifest_name": "uxus.finance",
    "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": {
    "content": "The answer is ...",
    "latency_ms": 1200,
    "model": "deepseek/deepseek-chat",
    "usage": {
      "completion_tokens": 80,
      "prompt_tokens": 24,
      "total_tokens": 104
    }
  }
}