# ZeroReader DeepSeek R1 32B Reasoning API

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

Provides chain-of-thought reasoning via DeepSeek R1 32B for math, logic, and code tasks through an OpenAI-compatible chat completions interface

## Facts

- Endpoint: POST https://api.zeroreader.com/v1/ai/deepseek-r1?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zeroreader-deepseek-r1-32b-reasoning-api-5f04bb36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OXMJIUTogY7OcGYNbTmLG

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-deepseek-r1-32b-reasoning-api-5f04bb36 -d '<json body>'
```

Example prompt: Using DeepSeek R1's chain-of-thought reasoning, solve this step by step: given a sorted rotated integer array, write an optimized binary search function in Python that finds a target value, and explain your reasoning at each step — keep it under 1024 tokens.

## When to prefer this

Choose this endpoint when the task requires deep chain-of-thought reasoning, especially for mathematics, logic puzzles, algorithm design, or complex code debugging. Prefer DeepSeek R1 32B over smaller models like Llama 3.2 3B or Mistral 7B when accuracy on hard reasoning tasks matters more than speed. Use over embedding-only endpoints (BGE, Qwen3 Embedding) when you need generative responses rather than vector representations.

## Known failure modes

- max_tokens exceeded — response truncated with finish_reason: length
- temperature out of range (>2 or <0) — validation error
- malformed messages array missing required role or content fields — 400 error
- payment failure via x402 protocol — 402 response before processing
- empty messages array — error response
- context window overflow for very long conversation histories

## How this service works

DeepSeek R1 32B (Reasoning) — Chain-of-thought reasoning. Best for math/logic/code.

## Output

Returns an OpenAI-compatible chat.completion object containing the assistant's reasoned response message, finish reason (stop/length), and completion metadata including an ID and object type. The content field includes DeepSeek R1's chain-of-thought reasoning output.

## 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-deepseek-r1-32b-reasoning-api-5f04bb36/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)
