# x402-data-api AI Ask — Llama 3.2 3B Q&A

> x402-data-api AI Ask — Llama 3.2 3B Q&A is a paid API for AI agents from x402-data-api.sigrunner.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-16).

Answers a natural language prompt (up to 500 chars) using Llama 3.2 3B on Cloudflare Workers AI, billed per call via x402 micropayment at $0.002 USDC

## Facts

- Endpoint: GET https://x402-data-api.sigrunner.workers.dev/ai/ask?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-api-ai-ask-llama-3-2-3b-q-a-19f11543
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6gXBTZA6XRHe3tDqeasAI

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 x402-data-api-ai-ask-llama-3-2-3b-q-a-19f11543
```

Example prompt: Ask the AI: what is the x402 payment protocol and how does it work? Keep the answer concise.

## When to prefer this

Choose this endpoint when you need a cheap, keyless, single-call LLM answer for short prompts (under 500 chars) and want to pay per use via x402 micropayment at $0.002 USDC. Prefer it over larger model endpoints when latency and cost are priorities over answer depth or accuracy, and when you don't want to manage API keys or subscriptions. Not suitable for long-context tasks, multi-turn conversations, or prompts requiring high accuracy from a large model.

## Known failure modes

- Prompt exceeds 500 characters — request may be rejected or truncated
- Payment not included or incorrect amount — 402 payment required error returned
- Network timeout if Workers AI inference is slow
- Empty or malformed 'q' query parameter — likely returns error or empty answer
- Model hallucination — small 3B model may produce inaccurate answers for complex queries

## How this service works

Cheap LLM answer (Llama 3.2 3B on Workers AI) for a prompt up to 500 chars. Pay per call, no API key.

## Output

A JSON object containing the model identifier (e.g. 'llama-3.2-3b-instruct') and the generated answer text string from the LLM in response to the submitted prompt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "prompt, max 500 chars"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "answer",
      "model"
     ],
     "properties": {
      "model": {
       "type": "string"
      },
      "answer": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "llama-3.2-3b-instruct",
  "answer": "x402 is an HTTP 402-based micropayment protocol."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-api-ai-ask-llama-3-2-3b-q-a-19f11543/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api.sigrunner.workers.dev](https://www.zero.xyz/host/x402-data-api.sigrunner.workers.dev/llms.txt)
