# enrich-gate LLM Inference (Llama-3.1-8B)

> enrich-gate LLM Inference (Llama-3.1-8B) is a paid API for AI agents from enrich-gate.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Runs LLM inference using Meta Llama-3.1-8B via Cloudflare Workers AI, accepting a prompt and optional system message, returning a generated text response.

## Facts

- Endpoint: POST https://enrich-gate.vercel.app/ai
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/enrich-gate-llm-inference-llama-3-1-8b-d2714af2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aafdaLXotKo5s38TsV_c3

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 enrich-gate-llm-inference-llama-3-1-8b-d2714af2 -d '<json body>'
```

Example prompt: Using the Llama-3.1-8B model on enrich-gate, generate a response to this prompt: 'Explain the difference between supervised and unsupervised learning in simple terms' — with the system message 'You are a helpful AI tutor who explains concepts clearly.'

## When to prefer this

Choose this endpoint when you need fast, cheap LLM inference with Llama-3.1-8B and want to pay per-call via x402/USDC micropayments without managing API keys or cloud accounts. Ideal for agents that need a general-purpose text generation capability without committing to OpenAI or Anthropic pricing tiers. The optional system prompt parameter makes it suitable for role-conditioned generation tasks.

## Known failure modes

- Payment not included or insufficient — 402 Payment Required with x402 challenge
- Prompt field missing from request body — 400 Bad Request
- Prompt too long for model context window — may return truncated or error response
- Cloudflare Workers AI backend unavailable — 503 or timeout
- Malformed JSON body — 400 Bad Request

## How this service works

LLM inference (Llama-3.1-8B via Cloudflare Workers AI). POST { prompt, system? } → { response, model }.

## Output

Returns a JSON object with a 'response' field containing the LLM-generated text and a 'model' field identifying the model used (Llama-3.1-8B via Cloudflare Workers AI).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/enrich-gate-llm-inference-llama-3-1-8b-d2714af2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from enrich-gate.vercel.app](https://www.zero.xyz/host/enrich-gate.vercel.app/llms.txt)
