# GEDX402 Llama 3.1 8B Instruct AWQ

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

Run inference on Meta's Llama 3.1 8B Instruct (AWQ quantized) via a pay-per-call x402 API using USDC, no API key required.

## Facts

- Endpoint: GET https://chat.gedx402.com/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-5c1cf497
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E2UgWN4EElsOAUUOhw4nz

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-5c1cf497
```

Example prompt: Ask Llama 3.1 8B to explain how photosynthesis works in simple terms — pay per call with USDC, no API key needed, keep the reply under 200 tokens.

## When to prefer this

Choose this endpoint when you need cheap, keyless LLM inference paid per-call in USDC on a supported blockchain (Base, Polygon, Arbitrum, World, Solana), especially for agents that can't manage long-lived API subscriptions or need to pay atomically per request via the x402 protocol. Best for lightweight chat and text generation tasks where a smaller 8B model is sufficient.

## Known failure modes

- Payment not received or insufficient USDC — 402 Payment Required response
- Invalid message format or missing required role/content fields — 400 Bad Request
- max_tokens exceeds 4096 — validation error
- Unsupported blockchain network specified for payment
- Model inference timeout or Cloudflare Workers AI downstream error

## How this service works

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

## Output

A JSON object with the model name (@cf/meta/llama-3.1-8b-instruct-awq) and the assistant's generated text response string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string",
      "description": "Speaker role for this turn."
     },
     "content": {
      "type": "string",
      "description": "Message text for this turn."
     }
    }
   },
   "description": "Conversation turns in order (system, user, assistant)."
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 4096,
   "minimum": 1,
   "description": "Maximum tokens to generate in the assistant reply."
  }
 }
}
```

## 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-5c1cf497/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.gedx402.com](https://www.zero.xyz/host/chat.gedx402.com/llms.txt)
