# GEDX402 Llama 3.1 8B Instruct FP8 LLM

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

Runs inference on Meta's Llama 3.1 8B Instruct FP8 model via Cloudflare Workers AI, billed per-call in USDC with no API key required.

## Facts

- Endpoint: GET https://chat.gedx402.com/v1/llm/llama-3.1-8b-instruct-fp8
- Price: $0.012/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-1-8b-instruct-fp8-llm-bd700de5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i70vUIFvUDI3tHGlY2iNI

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-fp8-llm-bd700de5
```

Example prompt: Ask the Llama 3.1 8B model to explain the difference between supervised and unsupervised learning in simple terms — use a system prompt saying 'You are a helpful tutor' and limit the reply to 200 tokens, paying with USDC on Base.

## When to prefer this

Choose this endpoint when you need a fast, cheap LLM inference call without managing API keys or subscriptions, especially if your agent already holds USDC on Base, Polygon, Arbitrum, World, or Solana. It is ideal for permissionless, pay-per-call AI workflows at $0.012 per call using the capable but lightweight Llama 3.1 8B Instruct FP8 model.

## Known failure modes

- Payment not received or insufficient USDC balance — 402 Payment Required response
- Invalid message role value outside system/user/assistant enum — 400 Bad Request
- max_tokens exceeds 4096 limit — 400 Bad Request
- Empty or malformed messages array — 400 Bad Request
- Network timeout if Workers AI inference is slow — 504 Gateway Timeout
- Unsupported blockchain network 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-fp8) 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-fp8",
  "response": "Hello!"
 }
}
```

## More

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