# GEDX402 GPT-OSS-20B LLM (x402 Pay-per-Call)

> GEDX402 GPT-OSS-20B LLM (x402 Pay-per-Call) is a paid API for AI agents from ged-x402-llm.jvalamis.workers.dev, paid per call via x402, $0.025/call, status unknown (last checked 2026-09-14).

Runs inference on the @cf/openai/gpt-oss-20b model via Cloudflare Workers AI, billed per-call in USDC over x402 with no API key required.

## Facts

- Endpoint: GET https://ged-x402-llm.jvalamis.workers.dev/v1/llm/gpt-oss-20b
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-gpt-oss-20b-llm-x402-pay-per-call-8ff3d0a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vCme_FLLJy8TepiSnonfY

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-gpt-oss-20b-llm-x402-pay-per-call-8ff3d0a6
```

Example prompt: Using the gpt-oss-20b model on the x402 Workers AI endpoint (paying $0.025 USDC), send this conversation: system: 'You are a helpful assistant', user: 'Explain quantum entanglement in simple terms', and cap the reply at 300 tokens.

## When to prefer this

Choose this endpoint when you need pay-per-call LLM inference with no API key or subscription, want to pay with USDC across Base, Polygon, Arbitrum, World, or Solana, and specifically want the @cf/openai/gpt-oss-20b model hosted on Cloudflare Workers AI. Ideal for agents or developers who want frictionless crypto-native access to a capable open-source GPT model at $0.025 per call.

## Known failure modes

- Payment not received or insufficient USDC balance returns 402 Payment Required
- Invalid messages array structure (missing role or content) returns 400 Bad Request
- max_tokens exceeds 4096 returns validation error
- Network timeout if Workers AI inference takes too long
- Unsupported blockchain network for USDC payment causes payment failure

## 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 name (@cf/openai/gpt-oss-20b) and the generated assistant response text string.

## 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/openai/gpt-oss-20b",
  "response": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-gpt-oss-20b-llm-x402-pay-per-call-8ff3d0a6/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)
