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

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

Run Llama 3.1 70B Instruct FP8 Fast inference via a pay-per-call x402 endpoint, paying $0.06 USDC per request with no API key required.

## Facts

- Endpoint: GET https://ged-x402-llm.jvalamis.workers.dev/v1/llm/llama-3.1-70b-instruct-fp8-fast
- Price: $0.06/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-70b-instruct-x402-pay-per-call-dae6ba63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SK53znozKNJ_TIl2rfKX3

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-70b-instruct-x402-pay-per-call-dae6ba63
```

Example prompt: Ask the Llama 3.1 70B model (paying $0.06 USDC on Base via x402) to help me write a professional email declining a job offer — use the system message 'You are a helpful writing assistant' and a user message with my request, keeping the reply under 300 tokens.

## When to prefer this

Choose this endpoint when you need Llama 3.1 70B Instruct inference without creating an API account, want to pay per-call in USDC on a supported chain (Base, Polygon, Arbitrum, World, Solana), or are building an agent workflow that needs autonomous crypto-payment-enabled LLM access via the x402 protocol.

## Known failure modes

- Payment not received or insufficient USDC balance — 402 Payment Required response
- Unsupported payment network — only Base, Polygon, Arbitrum, World, and Solana are accepted
- max_tokens exceeds 4096 — validation error
- Malformed messages array (missing role or content fields) — 400 Bad Request
- Model inference timeout on Cloudflare Workers AI — 5xx error
- Conversation too long for context window — truncation or 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 containing the model identifier (@cf/meta/llama-3.1-70b-instruct-fp8-fast) and a 'response' string with the assistant's generated text reply to the provided conversation.

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

## More

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