# ZeroReader Qwen 2.5 Coder 32B

> ZeroReader Qwen 2.5 Coder 32B is a paid API for AI agents from api.zeroreader.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-02).

Runs chat completions against Qwen 2.5 Coder 32B, a 32-billion-parameter model specialized in code generation and programming tasks.

## Facts

- Endpoint: POST https://api.zeroreader.com/v1/ai/qwen-coder-32b?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zeroreader-qwen-2-5-coder-32b-f6923b6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_25-kRkr3PhyzGY4Vlk6p2

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 zeroreader-qwen-2-5-coder-32b-f6923b6e -d '<json body>'
```

Example prompt: Write me a Python function that parses a JWT token without using any external libraries, validates the expiry field, and raises a ValueError if it's expired — keep temperature at 0.2 and limit the response to 1024 tokens.

## When to prefer this

Prefer this endpoint when the task is specifically code generation, debugging, code explanation, or any programming-related completion — Qwen 2.5 Coder 32B is purpose-trained for code and outperforms general-purpose models of similar size on coding benchmarks. Choose this over DeepSeek R1 32B when you need direct code output rather than chain-of-thought reasoning, and over smaller models when code quality and correctness matter more than latency.

## Known failure modes

- temperature out of range (0-2) returns validation error
- max_tokens exceeds 4096 returns error
- malformed messages array (missing role or content) returns 400
- payment failure via x402 if USDC balance insufficient
- model timeout on very long prompts near token limit
- streaming not supported in all client configurations

## How this service works

Qwen 2.5 Coder 32B — Code generation specialist. Excellent for programming tasks.

## Output

Returns an OpenAI-compatible chat completion object containing the assistant's generated code or explanation as a text string, along with the finish reason (e.g. 'stop') and a completion ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "stream": {
   "type": "boolean",
   "default": false
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string"
     },
     "content": {
      "type": "string"
     }
    }
   }
  },
  "max_tokens": {
   "type": "integer",
   "default": 1024,
   "maximum": 4096
  },
  "temperature": {
   "type": "number",
   "default": 0.7,
   "maximum": 2,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "id": "chatcmpl-example",
 "object": "chat.completion",
 "choices": [
  {
   "index": 0,
   "message": {
    "role": "assistant",
    "content": "I'm doing well!"
   },
   "finish_reason": "stop"
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zeroreader-qwen-2-5-coder-32b-f6923b6e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zeroreader.com](https://www.zero.xyz/host/api.zeroreader.com/llms.txt)
