# 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-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai, paid per call via x402, $0.007465/call, status unknown (last checked 2026-09-14).

Generates AI text responses for any arbitrary prompt, executed by the AmanChain node and billed per call via x402 in USDC on Base.

## Facts

- Endpoint: POST https://preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/api/x402/aman-llm-chat
- Price: $0.007465/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-llm-chat-general-purpose-ai-text-generation-ff7a2613
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gw9o1EXAHgFORM3GkOvOg

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-ff7a2613 -d '<json body>'
```

Example prompt: Write me a compelling two-paragraph cover letter for a software engineering role at a startup — emphasize problem-solving skills and passion for building scalable systems.

## When to prefer this

Choose this endpoint when you need general-purpose LLM text generation without requiring an API key or account, and you are already operating in a pay-per-call x402/USDC payment flow on Base. It is well-suited for agents that need ad-hoc AI text generation embedded in a blockchain-native workflow, where per-call micropayment billing in USDC is preferred over subscription or key-based access.

## Known failure modes

- Payment not provided or insufficient USDC balance — x402 payment required per call
- Invalid or missing serviceId field — must be exactly 'aman-llm-chat'
- Empty or malformed request field — prompt must be a non-empty string
- Node unavailability or consensus state issues causing service downtime
- Rate limiting or capacity constraints on the AmanChain node

## 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 responding to the input prompt, produced by an LLM running on the AmanChain node. The response reflects the model's interpretation of the prompt and is returned as the API response body after payment is settled via x402 in USDC on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-llm-chat-general-purpose-ai-text-generation-ff7a2613/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai](https://www.zero.xyz/host/preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/llms.txt)
