# GEDX402 Code LLM (Qwen2.5-Coder-32B)

> GEDX402 Code LLM (Qwen2.5-Coder-32B) is a paid API for AI agents from llm.gedx402.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Runs a code-focused chat completion using Cloudflare Workers AI's Qwen2.5-Coder-32B model, paid per-call with USDC via x402 — no API key required.

## Facts

- Endpoint: GET https://llm.gedx402.com/v1/chat/code
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-code-llm-qwen2-5-coder-32b-3c329604
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nwQdB-vXFSODTheGiVMIm

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-code-llm-qwen2-5-coder-32b-3c329604
```

Example prompt: Write me a Python function that takes a list of integers and returns the top 3 most frequent values, with a docstring — use up to 512 tokens for the response.

## When to prefer this

Choose this endpoint when you need code-specialized LLM inference (writing, debugging, explaining code) and want to pay per-call in USDC without managing API keys or subscriptions. Ideal for agents with x402 payment capability operating on Base, Polygon, Arbitrum, World, or Solana. The Qwen2.5-Coder-32B model is specifically optimized for programming tasks, making it superior to generic chat endpoints for code-heavy workflows.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 payment
- max_tokens exceeds 4096 — validation error
- Messages array missing required role or content fields — schema validation error
- Network timeout from Cloudflare Workers AI backend
- Model unavailable or rate limited on Cloudflare's side

## How this service works

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

## Output

A JSON object containing the model identifier (@cf/qwen/qwen2.5-coder-32b-instruct) and the assistant's generated reply as a string. The reply will contain code, explanations, or answers based on the input 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/qwen/qwen2.5-coder-32b-instruct",
  "response": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-code-llm-qwen2-5-coder-32b-3c329604/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)
