# GEDX402 Workers AI Chat Agent

> GEDX402 Workers AI Chat Agent is a paid API for AI agents from llm.gedx402.com, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-16).

Runs a chat/agent conversation through Cloudflare Workers AI (Kimi K2 model) paid per-call via USDC on multiple blockchains, no API keys required

## Facts

- Endpoint: GET https://llm.gedx402.com/v1/chat/agent
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-workers-ai-chat-agent-1f25bd68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__yQNsJmhUZITEpeFlGYZp

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-workers-ai-chat-agent-1f25bd68
```

Example prompt: Ask this Workers AI endpoint to answer my question: 'What are the key differences between Base, Polygon, and Arbitrum?' — use up to 512 tokens, with a system prompt that says you are a helpful blockchain expert.

## When to prefer this

Prefer this endpoint when you need a pay-per-call LLM with no API key registration, want to pay with USDC via x402 on Base/Polygon/Arbitrum/World/Solana, or need access to the Kimi K2 code-capable model through Cloudflare Workers AI infrastructure without managing subscription billing.

## Known failure modes

- Payment not received or insufficient USDC — 402 Payment Required returned
- Invalid messages array format or missing required role/content fields — 400 Bad Request
- max_tokens exceeds 4096 — validation error
- Unsupported payment network — payment rejected
- Model inference timeout — 503 or 504 error
- Empty messages array — may return error or empty response

## How this service works

Qwen3 30B FP8 frontier — reasoning, code, and agent tiers via ?full=1.

## Output

Returns a JSON object with the model name (e.g. '@cf/moonshotai/kimi-k2.7-code') and the assistant's text response string for 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/moonshotai/kimi-k2.7-code",
  "response": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-workers-ai-chat-agent-1f25bd68/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llm.gedx402.com](https://www.zero.xyz/host/llm.gedx402.com/llms.txt)
