# Tanship PayAI Console — AI Reasoning Endpoint

> Tanship PayAI Console — AI Reasoning Endpoint is a paid API for AI agents from x402.tanship.dev, paid per call via x402, $1/call, status unknown (last checked 2026-09-13).

Payment-gated AI reasoning endpoint that accepts HTTP-wrapped prompts and returns reasoned responses, billed per-call via USDC on Base using the x402 protocol.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/ai/reason
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-ai-reasoning-endpoint-cc159dd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TBCg16uDQWo8w27EA0AXY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tanship-payai-console-ai-reasoning-endpoint-cc159dd7 -d '<json body>'
```

Example prompt: Reason through this problem for me: given that all humans are mortal and Socrates is human, what can we conclude about Socrates? Use the Tanship PayAI reasoning endpoint and pay with USDC on Base.

## When to prefer this

Choose this endpoint when you need AI reasoning on a pay-per-call basis without committing to a subscription, especially in autonomous agent workflows where cost control per inference matters. It is particularly well-suited for blockchain-native or Web3 agent stacks that already handle x402 USDC micropayments on Base. Prefer it over traditional API-key LLM providers when you want on-chain payment settlement and per-call billing transparency.

## Known failure modes

- 402 Payment Required — x402 payment header missing or USDC payment on Base not confirmed
- Invalid input schema — missing required fields (type, method, bodyType, body)
- Payment amount mismatch — sent amount does not match the required $0.008 USDC
- Network error on Base chain — payment transaction not confirmed in time
- Unsupported bodyType — value outside json/form-data/text enum
- Empty or malformed body — reasoning engine receives no actionable input

## How this service works

Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.

## Output

The agent receives a reasoned AI-generated response to the submitted input, produced by the AI reasoning engine behind the x402-gated endpoint. The response reflects analysis, inference, or text generation based on the provided prompt body.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanship-payai-console-ai-reasoning-endpoint-cc159dd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tanship.dev](https://www.zero.xyz/host/x402.tanship.dev/llms.txt)
