# GEDX402 Llama 3.1 8B Instruct FP8 via x402

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

Run Llama 3.1 8B Instruct (FP8) inference via a pay-per-call x402 endpoint using USDC on multiple chains, no API key required.

## Facts

- Endpoint: GET https://ged-x402-chat.jvalamis.workers.dev/v1/llm/llama-3.1-8b-instruct-fp8
- Price: $0.012/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-fp8-via-x402-785f1675
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZKO9vwSMeE9a5ddGUjrRY

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-via-x402-785f1675
```

Example prompt: Ask the Llama 3.1 8B model (via the x402 Workers AI endpoint, paying in USDC) to explain the difference between supervised and unsupervised learning — use a system prompt saying 'You are a helpful teacher' and limit the reply to 300 tokens.

## When to prefer this

Choose this endpoint when you need Llama 3.1 8B Instruct inference without registering for an API key, prefer paying per-call in USDC via x402, and want multi-chain support (Base, Polygon, Arbitrum, World, Solana). It is ideal for agents with crypto wallets that want keyless, pay-as-you-go LLM access at $0.012 per call.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 with payment requirements
- Invalid message role (not system/user/assistant) — schema validation error
- max_tokens exceeds 4096 or is less than 1 — request rejected
- Malformed messages array or missing required role/content fields — 400 error
- Network timeout on Workers edge — sporadic 5xx error
- Unsupported payment chain — payment rejected by x402 facilitator

## 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 to the provided conversation.

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

## More

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