# GEDX402 Qwen2.5-Coder-32B-Instruct LLM

> GEDX402 Qwen2.5-Coder-32B-Instruct LLM 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 inference on Alibaba's Qwen2.5-Coder-32B-Instruct coding model via Cloudflare Workers AI, billed per-call in USDC over x402 with no API key required.

## Facts

- Endpoint: GET https://llm.gedx402.com/v1/llm/qwen2.5-coder-32b-instruct
- 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-qwen2-5-coder-32b-instruct-llm-c31aaf1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Kc7DinYjRO0UvVXvnHNb

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-qwen2-5-coder-32b-instruct-llm-c31aaf1b
```

Example prompt: Ask the Qwen2.5-Coder-32B model to write a Python function that sorts a list of dictionaries by a given key, using a system prompt that says 'You are an expert Python developer' and limiting the reply to 512 tokens.

## When to prefer this

Choose this endpoint when you need a powerful 32-billion-parameter coding-specialized LLM (Qwen2.5-Coder) without signing up for API keys, and you can pay per-call in USDC on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents that need on-demand code generation or debugging with crypto-native payment flows.

## Known failure modes

- Payment not received or insufficient USDC balance — returns HTTP 402 with payment instructions
- Messages array malformed or missing required role/content fields — returns 400 validation error
- max_tokens exceeds 4096 — request rejected with schema validation error
- Network timeout on Cloudflare Workers AI backend — returns 5xx error
- Unsupported blockchain network for payment — payment step fails before inference

## 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/qwen/qwen2.5-coder-32b-instruct' and a 'response' string holding the assistant's generated text, typically code or a code-related explanation.

## 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/qwen/qwen2.5-coder-32b-instruct",
  "response": "Hello!"
 }
}
```

## More

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