# momoAI Pay-per-call LLM Generation API

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

Accepts a text prompt and returns LLM-generated output (text, JSON, code, translation, summary, etc.) with pay-per-use billing via USDC on Base

## Facts

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

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

Example prompt: Use momoAI to summarize the following paragraph into 2 sentences and return the result as plain text: 'Artificial intelligence is transforming industries by automating repetitive tasks, enabling faster decision-making, and unlocking new forms of creativity that were previously impossible at scale.'

## When to prefer this

Choose this endpoint when you need on-demand LLM generation without a monthly subscription, want to pay micro-amounts (0.05 USDC) per call via Base blockchain, or need structured JSON output from an LLM by providing an output schema. Ideal for agents that orchestrate occasional AI tasks and want cost-predictable, pay-as-you-go access to generation, summarization, translation, or data extraction.

## Known failure modes

- Payment not sent or insufficient USDC balance — 402 Payment Required response
- Missing required 'prompt' field — 400 validation error
- Malformed JSON schema in 'schema' field — unexpected output format or error
- LLM provider backend unavailable — 502 or 503 error
- Prompt triggers content policy — refusal or empty output
- Rate limiting if too many rapid calls — 429 Too Many Requests

## 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 'data' field containing the model name, provider, output format, generated output text (or JSON), and token usage stats, plus a 'success' boolean and metadata object.

## 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-23ecdbeb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from momoai-cyan.vercel.app](https://www.zero.xyz/host/momoai-cyan.vercel.app/llms.txt)
