# AmanChain LLM Chat – General-Purpose AI Text Generation

> AmanChain LLM Chat – General-Purpose AI Text Generation is a paid API for AI agents from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai, paid per call via x402, $0.012441/call, status unknown (last checked 2026-09-15).

Generates AI text responses for any arbitrary prompt, paid per call via x402/USDC on Base

## Facts

- Endpoint: POST https://preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/api/x402/aman-llm-chat
- Price: $0.012441/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-llm-chat-general-purpose-ai-text-generation-d943b095
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_16R8waL1lfIEP7vFyGuxH

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 amanchain-llm-chat-general-purpose-ai-text-generation-d943b095 -d '<json body>'
```

Example prompt: Can you use the AmanChain LLM chat service to generate a professional bio for a software engineer named Jordan Lee who specializes in distributed systems and has 8 years of experience?

## When to prefer this

Choose this endpoint when you need a general-purpose LLM text generation capability without requiring an account or API key, and you are operating in an x402/USDC micropayment context on Base. It is well-suited for agent workflows that need pay-per-call AI text generation with no subscription overhead, especially when already integrated with AmanChain services.

## Known failure modes

- Payment failure if x402 USDC balance is insufficient or wallet is not configured
- Invalid serviceId returns an error (must be exactly 'aman-llm-chat')
- Empty or malformed request body results in a bad request error
- Prompt too long may be rejected or truncated depending on model context limits
- Network or node availability issues may cause timeouts on the AmanChain infrastructure

## How this service works

AI Text Generation: general-purpose AI text generation for any prompt Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-llm-chat","request":"<input>"}. No account, no API key.

## Output

A generated text string produced by the underlying LLM in response to the submitted prompt. The response is an AI completion that can be prose, structured content, answers, creative writing, or any other text format depending on what was requested.

## 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": {
     "type": "object",
     "properties": {
      "request": {
       "type": "string",
       "description": "service input (see body example)"
      },
      "serviceId": {
       "type": "string",
       "description": "the service id, \"aman-llm-chat\""
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-llm-chat-general-purpose-ai-text-generation-d943b095/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai](https://www.zero.xyz/host/preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/llms.txt)
