# GEDX402 Llama 3 8B Instruct LLM

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

Runs a Llama-3-8B-Instruct chat completion via Cloudflare Workers AI, paid per-call with USDC on multiple chains, no API key required.

## Facts

- Endpoint: GET https://chat.gedx402.com/v1/llm/llama-3-8b-instruct
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-llama-3-8b-instruct-llm-db648f90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BGc5QnJBib_Fo5K7tXxff

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-8b-instruct-llm-db648f90
```

Example prompt: Ask Llama 3 8B: 'What are the main differences between REST and GraphQL?' — respond in up to 512 tokens, paying with USDC on Base.

## When to prefer this

Choose this endpoint when you need a lightweight, fast Llama-3-8B-Instruct chat completion without managing API keys, and want to pay per-call with USDC on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents that handle their own crypto wallets and want serverless LLM access without subscription overhead.

## Known failure modes

- Insufficient USDC balance or failed x402 payment — payment declined, request not processed
- Messages array missing required role/content fields — 400 validation error
- max_tokens exceeds 4096 — rejected with schema validation error
- Network or Workers AI backend outage — 5xx error
- Malformed messages array (wrong types) — request 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-8b-instruct) and the assistant's generated response text.

## 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-8b-instruct",
  "response": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-llama-3-8b-instruct-llm-db648f90/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)
