# Bitcoin Benji AI — Longform Private AI Inference

> Bitcoin Benji AI — Longform Private AI Inference is a paid API for AI agents from api.bitcoinbenji.com, paid per call via x402, $0.075/call, status unknown (last checked 2026-09-14).

Generates long-form AI text responses via a pay-per-call Lightning/x402-gated endpoint with no API keys or subscriptions required

## Facts

- Endpoint: POST https://api.bitcoinbenji.com/ai/longform
- Price: $0.075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-benji-ai-longform-private-ai-inference-359ae034
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k9MHrr5nQL9Jv5zSBZEb6

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 bitcoin-benji-ai-longform-private-ai-inference-359ae034 -d '<json body>'
```

Example prompt: Write me a detailed, long-form explainer on how the Bitcoin Lightning Network works — pay for the AI call via my Lightning wallet using Bitcoin Benji's pay-per-call inference, no API key needed.

## When to prefer this

Choose this endpoint when you need long-form AI text generation and want to pay per-call via Bitcoin Lightning with zero API key setup, zero subscriptions, and maximum privacy — especially useful for agents operating in a Bitcoin-native or anonymous payment context where traditional OAuth or API key flows are undesirable.

## Known failure modes

- Payment not provided or insufficient — returns 402 Payment Required with a Lightning invoice
- Malformed prompt or missing required body fields — returns 400 Bad Request
- Payment verification timeout — Lightning invoice expires before payment confirmed
- Service overload or upstream AI provider error — returns 500 or 503
- Invalid or expired Lightning payment token — returns 401 Unauthorized

## How this service works

L402-gated APIs: real-time Bitcoin mempool intelligence and private AI inference. Pay-per-call via Lightning. Zero API keys. Zero subscriptions.

## Output

A JSON object containing a longform AI-generated text response to the submitted prompt, delivered after successful x402/Lightning payment authorization

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-benji-ai-longform-private-ai-inference-359ae034/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bitcoinbenji.com](https://www.zero.xyz/host/api.bitcoinbenji.com/llms.txt)
