# GEDX402 Llama 3.1 8B Instruct AWQ (x402 Pay-Per-Call)

> GEDX402 Llama 3.1 8B Instruct AWQ (x402 Pay-Per-Call) is a paid API for AI agents from ged-x402-chat.jvalamis.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Runs inference on Meta's Llama 3.1 8B Instruct AWQ model via Cloudflare Workers AI, billed at $0.01 USDC per call using the x402 payment protocol — no API keys required.

## Facts

- Endpoint: GET https://ged-x402-chat.jvalamis.workers.dev/v1/llm/llama-3.1-8b-instruct-awq
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-llama-3-1-8b-instruct-awq-x402-pay-per-call-153521cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bOKli1pnFDz84LKo-4tBE

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 gedx402-llama-3-1-8b-instruct-awq-x402-pay-per-call-153521cc
```

Example prompt: Ask Llama 3.1 8B to explain quantum entanglement in simple terms — send it as a user message with a max of 512 tokens, paying the $0.01 USDC fee on Base.

## When to prefer this

Choose this endpoint when you need a lightweight, fast LLM chat completion (Llama 3.1 8B) without managing API keys, and your agent can pay with USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol. Ideal for pay-per-use agentic pipelines that want crypto-native billing and serverless scale via Cloudflare Workers AI.

## Known failure modes

- Payment not completed or insufficient USDC balance — 402 Payment Required returned before inference runs
- Invalid messages array structure (missing role or content fields) — likely 400 Bad Request
- max_tokens exceeds 4096 — validation error
- Cloudflare Workers AI backend timeout or model unavailability — 502/503 error
- Unsupported blockchain network provided for payment — payment rejected

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object containing the model identifier (@cf/meta/llama-3.1-8b-instruct-awq) and the generated assistant response string, e.g. {"model": "@cf/meta/llama-3.1-8b-instruct-awq", "response": "..."}. Each call deducts $0.01 USDC via x402.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "max_tokens": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/meta/llama-3.1-8b-instruct-awq",
  "response": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-llama-3-1-8b-instruct-awq-x402-pay-per-call-153521cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-chat.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-chat.jvalamis.workers.dev/llms.txt)
