# momoAI Pay-per-Call LLM Generation API

> momoAI Pay-per-Call LLM Generation API is a paid API for AI agents from aimomo.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Generates LLM completions (chat, reasoning, code review, translation, summarization, data extraction) for a flat $0.05 USDC per call, paid on Base via x402.

## Facts

- Endpoint: POST https://aimomo.vercel.app/api/generate
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/momoai-pay-per-call-llm-generation-api-b600b07d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PWZCyUBh9lhKz0kZJ7wCe

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 momoai-pay-per-call-llm-generation-api-b600b07d -d '<json body>'
```

Example prompt: Can you summarize this article for me using momoAI and return the result as plain text? Here's the article: 'Artificial intelligence is reshaping the global economy by automating tasks previously reserved for knowledge workers...'

## When to prefer this

Choose this endpoint when you need on-demand LLM text generation without a subscription, want to pay per call in USDC on Base via the x402 protocol, or need structured JSON output from a prompt with an explicit schema. Ideal for agents that orchestrate occasional AI tasks and want granular cost control via crypto micropayments rather than monthly API keys.

## Known failure modes

- Payment not provided or insufficient USDC — 402 Payment Required response
- Missing required 'prompt' field — validation error
- Invalid JSON schema in 'schema' field — schema parsing error
- Upstream LLM provider unavailable — 5xx error with provider details
- Malformed request body — 400 Bad Request
- Rate limiting or abuse detection — request rejected

## How this service works

Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.

## Output

Returns a JSON object with a success flag, the generated output string, the model name used, token usage stats, output format, and the underlying provider name.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "format": {
   "type": "string"
  },
  "prompt": {
   "type": "string",
   "description": "What to generate"
  },
  "schema": {
   "type": "object",
   "description": "Expected output schema (for JSON)"
  },
  "examples": {
   "type": "object",
   "description": "Example output for reference"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "model": {
     "type": "string"
    },
    "usage": {
     "type": "object"
    },
    "format": {
     "type": "string"
    },
    "output": {
     "type": "string"
    },
    "provider": {
     "type": "string"
    }
   }
  },
  "meta": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/momoai-pay-per-call-llm-generation-api-b600b07d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aimomo.vercel.app](https://www.zero.xyz/host/aimomo.vercel.app/llms.txt)
