# Bitcoin Benji AI Agent Inference

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

Pay-per-call private AI inference endpoint gated by Lightning Network micropayments (L402/x402), requiring no API keys or subscriptions

## Facts

- Endpoint: POST https://api.bitcoinbenji.com/ai/agent
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-benji-ai-agent-inference-be66a5ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sk4JyeuUbuvqVryPkLrQQ

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-agent-inference-be66a5ae -d '<json body>'
```

Example prompt: Run an AI inference query for me using Bitcoin Benji's Lightning-gated API — I want to ask it 'What is the current sentiment in the Bitcoin market?' and pay the per-call fee automatically via Lightning.

## When to prefer this

Choose this endpoint when you need AI inference without API key registration or subscription overhead, want to pay strictly per call using Bitcoin Lightning micropayments, require privacy-preserving AI access with no account linkage, or are building Bitcoin-native agent workflows where x402/L402 payment is already supported in your stack.

## Known failure modes

- Payment not received or Lightning invoice expired — returns 402 Payment Required
- Invalid or malformed prompt body — returns 400 Bad Request
- Inference timeout on the model backend — returns 504 or timeout error
- Insufficient payment amount — L402 challenge returned without fulfilling request
- Network unavailability of Lightning payment endpoint — connection failure

## 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 the AI model's inference result or generated text response to the submitted prompt, returned after successful Lightning payment authorization via L402/x402 protocol.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-benji-ai-agent-inference-be66a5ae/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)
