# AGISHub General-Purpose LLM Chat

> AGISHub General-Purpose LLM Chat is a paid API for AI agents from api.agishub.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Send a prompt (and optional system instruction) to a general-purpose LLM and receive a text response, no external API key required.

## Facts

- Endpoint: POST https://api.agishub.com/paid/chat
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agishub-general-purpose-llm-chat-c696869e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ctyThGvKOFm_yIY6aDUhW

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 agishub-general-purpose-llm-chat-c696869e -d '<json body>'
```

Example prompt: Ask the AI: 'What are three creative names for a boutique coffee shop that specializes in single-origin beans?' — use a system prompt that says 'You are a branding expert who gives concise, punchy suggestions' and cap the response at 200 tokens.

## When to prefer this

Choose this endpoint when you need LLM text generation without managing your own OpenAI, Anthropic, or other API keys — especially in agentic pipelines where per-call micropayments (x402/USDC) are preferred over subscription billing. It supports custom system prompts, making it suitable for persona-driven or task-specific completions. Prefer alternatives if you need streaming responses, function calling, structured JSON output guarantees, or specific model selection.

## Known failure modes

- Missing required 'prompt' parameter returns a 400 validation error
- max_tokens set to 0 or exceeding 2048 causes a validation error
- Payment not included or insufficient USDC triggers a 402 Payment Required response
- Very long prompts may be truncated or rejected if they exceed model context limits
- Network timeouts if the LLM backend is slow to respond under high load

## How this service works

Ask a general-purpose LLM a question or give it an instruction, with an optional system prompt. No external API key required.

## Output

A JSON object containing the LLM-generated text response to the provided prompt, shaped by the optional system instruction and bounded by the max_tokens parameter (default 512, up to 2048).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "minLength": 1,
       "description": "The user's message or question for the assistant."
      },
      "system": {
       "type": "string",
       "description": "Optional system instruction to steer the assistant's behaviour/persona."
      },
      "max_tokens": {
       "type": "integer",
       "maximum": 2048,
       "minimum": 0,
       "description": "Maximum tokens to generate (default 512).",
       "exclusiveMinimum": true
      }
     },
     "additionalProperties": false
    },
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agishub-general-purpose-llm-chat-c696869e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agishub.com](https://www.zero.xyz/host/api.agishub.com/llms.txt)
